Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with loading .jnlp files

 
Sailaja Akkineni
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i have a file called try.jnlp.It works fine when i copy it to the desktop and open it with java web start,but it doesn't work if i run it from the web.My web server is apache and i altered my .mime.types file by adding the line
applications/x-java-jnlp-files jnlp
I also restarted my server.What could be wrong?here is my .jnlp file<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+"
codebase="http://144.16.244.105/~voba/"
>
<information>
<title>test of javaw</title>
<vendor>Java Developer</vendor>
<homepage href="http://java.sun.com/jdc"/>
<description>demo</description>
</information>
<offline-allowed/>
<resources>
<j2se version="1.2+" />
<jar href="voba.jar"/>
<jar href="recorder.jar"/>
<jar href="ip.jar"/>
</resources>
<applet-desc
document-base="http://144.16.244.105/~voba/"
name="Voba"
main-class="Voba"
width="527"
height="428">
</applet-desc>
</jnlp>
i have been searching on net for the past one day...I couldn't find an answer to my problem.Immediate help would be appreciated.
Thanks,
Sailaja
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the JNLP and Web Start Forum...
 
Idly Vada
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
go thru Java Web Start 1.4.2 Developer Guide at
http://java.sun.com/j2se/1.4.2/docs/guide/jws/developersguide/contents.html
it's working fine for me.
 
Sailaja Akkineni
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I had gone through the site, but i could't find the probable error and moreover it works fine on when i open it with java web start.I have checked the proxy settings and also changed my .mime.types file and restarted the server.
Thanks,
Sailaja
 
Sailaja Akkineni
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
My problem is solved.It started working by itself today..May be there was some problem with my cache.
Thanks,
Sailaja
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic