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 problem with loading .jnlp files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "problem with loading .jnlp files" Watch "problem with loading .jnlp files" New topic
Author

problem with loading .jnlp files

Sailaja Akkineni
Greenhorn

Joined: Sep 06, 2003
Posts: 9
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

Joined: Jul 18, 2001
Posts: 2712
Moving to the JNLP and Web Start Forum...
Idly Vada
Ranch Hand

Joined: Sep 02, 2003
Posts: 135
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

Joined: Sep 06, 2003
Posts: 9
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

Joined: Sep 06, 2003
Posts: 9
Hi,
My problem is solved.It started working by itself today..May be there was some problem with my cache.
Thanks,
Sailaja
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: problem with loading .jnlp files
 
Similar Threads
Launch Exception encountered in Java Web Start
Error while launching jnlp file
404 Not Found
Please Help me Out.....Where I am going Wrong
JWS and Applet!