JavaWebStart enabled

  9 posts   Feedicon  
Replies: 8 - Last Post: May 12, 2011 06:07
by: dengdai
showing 1 - 9 of 9
 
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



 
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
 
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
 
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
 
Posted: May 07, 2009 21:09 by Paul
So, it sounds like what you're saying is that you can't run the files posted in the Downloads section directly on the kenai site. You have to download them to your local machine and run them from there.
 
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]
 
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]
 
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 .
 
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
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close