Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #2635 (new)

Opened 14 years ago

Last modified 14 years ago

Apply webstart patch to insight — at Version 2

Reported by: jamoore Owned by: jburel
Priority: minor Milestone: OMERO-Beta4.2.1
Component: Client Version: n.a.
Keywords: n.a. Cc: m.woodbridge@…, jburel
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.25d
Sprint: n.a.

Description (last modified by jmoore)

A patch was provided by Mark Woodbridge for enabling Webstart in Insight. Having it in place is a good first step towards getting webstart working for everyone:

We talked about Web Start in Paris. I've attached the stuff necessary to get it working. It's a bit fiddly.

The patches are against shoola tag Beta-4.1.1. The importer didn't need patching.

1. Apply patches
2. Build insight and importer
3. Run webstart.sh, which creates /tmp/omero
4. Sign the jars
5. Copy /tmp/omero to web root

Notes:

- The jnlp files are jsp files so that the codebase and href attributes don't need to be hard-coded. I'm not sure whether this necessary but I must have done it for a reason
- The <jar> entries in the jnlp files are hard-coded and were generated using the 'find' statement that is commented-out in webstart.sh
- You need to use a proper (i.e. not self-signed) certificate if you don't want users to be given lots of warnings
- The Config.java hack shouldn't be necessary but I needed to do it to dynamically find where the config files are
- It's possible that I missed some direct File loading calls but no-one has complained yet
- The readConfigFile method is written so that the clients don't have to be web started but if all resources were loaded using a class loader (rather than using a FileInputStream) this wouldn't be necessary

Let me know if you have any questions. I sent this stuff to Brian a while back - not sure if he made any progress. I'm sure it can be simplified.

Change History (4)

comment:1 Changed 14 years ago by jmoore

  • Remaining Time set to 0.25

Changed 14 years ago by jmoore

Changed 14 years ago by jmoore

comment:2 Changed 14 years ago by jmoore

  • Description modified (diff)
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.69372 sec.)

We're Hiring!