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 (closed)

Opened 14 years ago

Closed 13 years ago

Apply webstart patch to insight

Reported by: jamoore Owned by: dzmacdonald
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.0d
Sprint: 2010-11-25 (20)

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.

Attachments (2)

webstart.patch (3.8 KB) - added by jmoore 14 years ago.
webstart.zip (7.5 KB) - added by jmoore 14 years ago.

Download all attachments as: .zip

Change History (13)

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)

comment:3 Changed 14 years ago by cxallan

  • Sprint set to 2010-09-09 (16)

comment:4 Changed 14 years ago by jburel

  • Status changed from new to assigned

comment:5 Changed 14 years ago by jburel

  • Sprint changed from 2010-09-09 (16) to 2010-09-30 (17)

comment:6 Changed 14 years ago by jburel

  • Sprint changed from 2010-09-30 (17) to 2010-10-28 (18)

Moved from sprint 2010-09-30 (17)

comment:7 Changed 14 years ago by jmoore

  • Owner changed from jburel to dzmacdonald

comment:8 Changed 13 years ago by jburel

  • Sprint changed from 2010-10-28 (18) to 2010-11-11 (19)

Moved from sprint 2010-10-28 (18)

comment:9 Changed 13 years ago by jburel

  • Sprint changed from 2010-11-11 (19) to 2020-11-25 (20)

Moved from sprint 2010-11-11 (19)

comment:10 Changed 13 years ago by cxallan

Version committed in shoola:r7780.

comment:11 Changed 13 years ago by jburel

  • Remaining Time changed from 0.25 to 0
  • Status changed from assigned to closed
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.70049 sec.)

We're Hiring!