• Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamic JNLP not working with JBoss?

 
Jingwei Yang
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem resolved. The optional attribute "href" of the tag jnlp shouldn't be supplied.

<jnlp spec="1.0+" codebase="http://<%= request.getServerName() %>:<%= request.getServerPort() %>" >
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!