Irina Valerievna Filippova
|
Posted: May 07, 2009 08:03 by Irina Valerievna Filippova
|
|
Is Java Web Start enabled on kenai.com? I uploaded JNLP and JAR files to the Downloads section of my project, but the JNLP file does not start the application (it opens as a usual text file) Is JWS planned to be added? Thanks Irina |
JavaWebStart enabled
Replies: 8 - Last Post: May 12, 2011 06:07
by: dengdai
by: dengdai
showing 1 - 9 of 9
john_brock
|
Posted: May 07, 2009 22:10 by john_brock
|
|
Hi Irina, Two things going on here. 1) The resource URL in your jnlp file incorrect. It should be: http://kenai.com/projects/netbeans-java-docs/downloads/download/converter/ With an extra "download" in the link 2) It appears that we need to add the Mimetype for jnlp to our Apache config to get things to work right out of the browser. I've filed a bug for that and hope to have it taken care of right away. Sorry about item number two. I was the person that told Sharat that this would be possible. I think that is who you had originally spoke to about it. We'll get it fixed up as quickly as possible. --jb The Project Kenai Team |
Irina Valerievna Filippova
|
Posted: May 14, 2009 04:29 by Irina Valerievna Filippova
|
|
Hi John, Thank you very much for your help. I updated the link to jnlp and it is working. And it's great that you added support for the MIME type for jnlp. Everything is working great. - Irina |
Sakthivel Gopal
|
Posted: May 07, 2009 20:43 by Sakthivel Gopal
|
|
Hi Irina, Could you try right-click+ "Save As" on the jnlp file you have uploaded? And then execute( double click on) the downloaded JNLP file, it should all be ok. -Sakthi |
Fabrizio Giudici
|
Posted: May 09, 2009 23:09 by Fabrizio Giudici
|
|
If you have Subversion, it is possible. Just create a special folder (e.g. www) where you put things that you want to be available with a link, and use svn propset svn:mime-type "*.jnpl" appropriate-mime-type . Look at my blog for an example: http://weblogs.java.net/blog/fabriziogiudici/archive/2009/05/my_demo_at_all4.html As you can see from a simple test that can be made with wget, the mime type is properly made available: [Mistral:~] fritz% wget -d https://kenai.com/svn/javafxstuff%7Esvn/trunk/ContactList/www/ContactList.jnlp DEBUG output created by Wget 1.9+cvs-dev on darwin7.8.0. --01:08:39-- https://kenai.com/svn/javafxstuff%7Esvn/trunk/ContactList/www/ContactList.jnlp => `ContactList.jnlp' Resolving kenai.com... 64.79.150.44 Caching kenai.com => 64.79.150.44 Connecting to kenai.com|64.79.150.44|:443... connected. Created socket 3. Releasing 0x5087b0 (new refcount 1). Connected 3 to SSL 0x508830 ---request begin--- GET /svn/javafxstuff%7Esvn/trunk/ContactList/www/ContactList.jnlp HTTP/1.0 User-Agent: Wget/1.9+cvs-dev Accept: */* Host: kenai.com Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.1 200 OK Date: Sat, 09 May 2009 23:08:42 GMT Server: Apache/2.2.9 (Unix) SVN/1.4.6 mod_python/3.3.1 Python/2.5.2 DAV/2 mod_perl/2.0.4 Perl/v5.8.8 Last-Modified: Sat, 09 May 2009 15:00:29 GMT ETag: "11//trunk/ContactList/www/ContactList.jnlp" Accept-Ranges: bytes Content-Length: 937 Content-Type: application/x-java-jnlp-file Cache-Control: max-age=2592000 Expires: Mon, 08 Jun 2009 23:08:42 GMT Keep-Alive: timeout=5, max=100 Connection: Keep-Alive ---response end--- 200 OK Registered socket 3 for persistent reuse. Length: 937 [application/x-java-jnlp-file] 100%[===============================================================================================================================================================================================>] 937 --.--K/s 01:08:42 (150.62 KB/s) - `ContactList.jnlp' saved [937/937] |
Fabrizio Giudici
|
Posted: May 09, 2009 23:10 by Fabrizio Giudici
|
|
REPOSTING as the previous post looks screwed up. [Mistral:~] fritz% wget -d https://kenai.com/svn/javafxstuff%7Esvn/trunk/ContactList/www/ContactList.jnlp DEBUG output created by Wget 1.9+cvs-dev on darwin7.8.0. --01:08:39-- https://kenai.com/svn/javafxstuff%7Esvn/trunk/ContactList/www/ContactList.jnlp => `ContactList.jnlp' Resolving kenai.com... 64.79.150.44 Caching kenai.com => 64.79.150.44 Connecting to kenai.com|64.79.150.44|:443... connected. Created socket 3. Releasing 0x5087b0 (new refcount 1). Connected 3 to SSL 0x508830 ---request begin--- GET /svn/javafxstuff%7Esvn/trunk/ContactList/www/ContactList.jnlp HTTP/1.0 User-Agent: Wget/1.9+cvs-dev Accept: */* Host: kenai.com Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.1 200 OK Date: Sat, 09 May 2009 23:08:42 GMT Server: Apache/2.2.9 (Unix) SVN/1.4.6 mod_python/3.3.1 Python/2.5.2 DAV/2 mod_perl/2.0.4 Perl/v5.8.8 Last-Modified: Sat, 09 May 2009 15:00:29 GMT ETag: "11//trunk/ContactList/www/ContactList.jnlp" Accept-Ranges: bytes Content-Length: 937 Content-Type: application/x-java-jnlp-file Cache-Control: max-age=2592000 Expires: Mon, 08 Jun 2009 23:08:42 GMT Keep-Alive: timeout=5, max=100 Connection: Keep-Alive ---response end--- 200 OK Registered socket 3 for persistent reuse. Length: 937 [application/x-java-jnlp-file] 100%[========>] 937 --.--K/s 01:08:42 (150.62 KB/s) - `ContactList.jnlp' saved [937/937] |
Fabrizio Giudici
|
Posted: May 09, 2009 23:11 by Fabrizio Giudici
|
|
AGAIN, missed the key point: If you have Subversion, it is possible. Just create a special folder (e.g. www) where you put things that you want to be available with a link, and use svn propset svn:mime-type "*.jnlp" appropriate-mime-type . |
Irina Valerievna Filippova
|
Posted: May 14, 2009 04:30 by Irina Valerievna Filippova
|
|
Thanks, Fabrizio. The MIME type for jnlp files has been added to the server side. JWS files run perfectly now. - Irina |
showing 1 - 9 of 9
Replies: 8 - Last Post: May 12, 2011 06:07
by: dengdai
by: dengdai










