File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes Download of jar freezes. 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 "Download of jar freezes." Watch "Download of jar freezes." New topic

Download of jar freezes.

Rich Smyth
Ranch Hand

Joined: May 30, 2002
Posts: 87
When JWS is launched from my web page I get the JWS splash screen with my jnlp information displayed and the status message saying "Validating app_classes.jar from localhost". But nothing happens after that. Everything
just seems to freeze.

Can somebody explain to me what is happening or where I might look to find more information? I can't find a reference to any error.

My JNLP is

<?xml version="1.0" encoding="utf8"?>
<jnlp spec="1.0+"
<j2se version="1.4"/>
<jar href="app_classes.jar"/>
<application-desc main-class="imageIndexer.TestIndexer"/>

thanks for any tips,

Rich Smyth
Ranch Hand

Joined: May 30, 2002
Posts: 87
I made some progress.
Looks like my firewall was interferring with the download(?).

When I shut down the firewall, JWS doesn't freeze anymore during the download. Now JWS starts up, and displays the splash with status messages.
When the splash screen disapears, nothing else happens: my application is not launched. No sign of errors in the log (is there somewhere else to look?) Has anybody else run into this same situation?

The application runs ok when I don't use JWS.

[ June 04, 2004: Message edited by: Rich Smyth ]
Rich Smyth
Ranch Hand

Joined: May 30, 2002
Posts: 87
I found out that there is a way to display the java console when running JWS. The console informs me that a I have a class missing. I included the
missing jar in my jnlp file. Now my application is up and running.

It is sorta covered in the JavaRanch Style Guide.
subject: Download of jar freezes.