File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes Dynamic JNLP not working with JBoss? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Dynamic JNLP not working with JBoss?" Watch "Dynamic JNLP not working with JBoss?" New topic
Author

Dynamic JNLP not working with JBoss?

Jingwei Yang
Greenhorn

Joined: Dec 01, 2009
Posts: 3
Hi Guys,

I have a Jsp page containing dynamic jnlp info like this:



The test.jar file is put under the root web folder. It's working with Tomcat (Tomcat 5.5), but not with JBoss (only tested with JBoss 4.0.5 and JBoss 4.2.0). The error is

java.io.FileNotFoundException: http://localhost:8080/test.jnlp

Can anyone please enlighten what I should do?

Thanks!
Jingwei Yang
Greenhorn

Joined: Dec 01, 2009
Posts: 3
By the way, I tried the servlet way suggested by this post: http://www.coderanch.com/t/200653/JNLP-Web-Start/java/create-Dynamic-jnlp-files. But it has no success with JBoss either.
Jingwei Yang
Greenhorn

Joined: Dec 01, 2009
Posts: 3
Problem resolved. The optional attribute "href" of the tag jnlp shouldn't be supplied.

<jnlp spec="1.0+" codebase="http://<%= request.getServerName() %>:<%= request.getServerPort() %>" >
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic JNLP not working with JBoss?
 
Similar Threads
Download Swing application from web
ClassNotFound Exception..
JNLP I am getting the File Not found exception
How to un jnlp app offline?
How to embed JavaFX 2.0 application with jsp (to deploy it on server)