Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2791
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail |
|---|---|
| From | "Rogan Dawes" <rogan.dawes@THRWHITE.remove-dii-this> |
| Subject | Re: java webstart problem |
| Message-ID | <Fu2dnXhsn7_P49zanZ2dnUVZ8s-qnZ2d@saix.net> (permalink) |
| X-Comment-To | comp.lang.java.gui |
| Newsgroups | comp.lang.java.gui |
| In-Reply-To | <HsqWi.25943$uH.23419@newsfe4-gui.ntli.net> |
| References | <HsqWi.25943$uH.23419@newsfe4-gui.ntli.net> |
| Content-Type | text/plain; charset=IBM437 |
| Content-Transfer-Encoding | 8bit |
| X-Gateway | time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] |
| Lines | 68 |
| Date | Wed, 27 Apr 2011 15:41:09 GMT |
| NNTP-Posting-Host | 96.60.20.240 |
| X-Complaints-To | news@tds.net |
| X-Trace | newsreading01.news.tds.net 1303918869 96.60.20.240 (Wed, 27 Apr 2011 10:41:09 CDT) |
| NNTP-Posting-Date | Wed, 27 Apr 2011 10:41:09 CDT |
| Organization | TDS.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.gui:2791 |
Show key headers only | View raw
To: comp.lang.java.gui Mark Thornton wrote: > Rogan Dawes wrote: >> Mark Thornton wrote: >> >> While we are talking about WebStart, I thought I'd mention a PHP >> utility that I wrote to allow those of us with cheap hosting plans to >> host WebStart-able applications easily. >> > How strange --- I've done one too! Mine is running on a little Synology > DS-101j NAS device. One catch is that this device doesn't support the > Apache mod_rewrite or the addHandler functionality and thus every > resource to be downloaded needs a little PHP stub, and thus all the URLs > end in .PHP (e.g. myapp.jar.php). This introduces a couple of further > issues: > > 1. The first release of Java 6 doesn't then work with signed jar files. > It gives a security exception. Subsequent (and previous) releases don't > have this problem. I have seen a problem with Java 6 where it throws SecurityExceptions if the signed .jar is empty. Is that what you are referring to? > 2. Java 6 doesn't include pack.gz in the list of accepted encodings. > Apparently this is also tied to the extension rather than the context. > > 3. Although the application then works, it never appears in the Java > control panel applet's list of applications. Nor does it offer to create > a shortcut or start menu entry. You are probably missing something simple. You might like to compare the series of conversations between WebStart and your device, and between WebStart and a real download servlet using an intercepting proxy like WebScarab. You will probably see some missing headers or something. > My PHP script processes any local URL's in JNLP files to append the > necessary .PHP extension, as well replacing $$ macros. > > Anyway subject to the caveats above, I have now got it to work. Those > issues and others meant it was a lot harder and took longer than I > expected. Neat. > As far as I can see the big problem is there is no minimum standard of > what you can expect from a host in terms of what is permitted in > .htaccess files. My Synology device is very restrictive in this respect. > PHP also has a lot of 'optional' elements, so many useful functions may > simply be missing. One of the advantages of Java is that > so much is guaranteed to be present. Not so with PHP. Yes, you are absolutely right. The lack of consistency is a pity. I did tried not to use anything *too* sophisticated, but I guess you are running in a seriously resource constrained environment. > Mark Thornton Regards, Rogan P.S. Sorry for the late reply, I have been travelling without access to my news feed. --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
java webstart problem "Bruintje Beer" <bruintje.beer@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: java webstart problem "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: java webstart problem "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: java webstart problem "tar" <tar@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: java webstart problem "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: java webstart problem "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: java webstart problem "Gunter Herrmann" <gunter.herrmann@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: java webstart problem "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: java webstart problem "Rogan Dawes" <rogan.dawes@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: java webstart problem "Mark Thornton" <mark.thornton@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: java webstart problem "Rogan Dawes" <rogan.dawes@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: java webstart problem "Mark Thornton" <mark.thornton@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: java webstart problem "Rogan Dawes" <rogan.dawes@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
Re: java webstart problem "Mark Thornton" <mark.thornton@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
Re: java webstart problem "Mark Thornton" <mark.thornton@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
Re: java webstart problem "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
csiph-web