URGENT : Problem with Webstart App -- downloading JAR
Hello,
i磛e developed an application, which has to be deployed via webstart.
In the Application, i need to load some image files (via ressourceloader). => See code below (including JNLP file).
The problem is, as soon as i gstart the jnlp, the code jar file is downloaded, but as soon as the "image.jar" File is reached, the download hangs ......
I have already tried the folowing steps :
1. Redo the jar for the images
2. Verify the signing of the images
3. Remove the images from the jar, and put some oder suff in there => the download finishes, the program starts, but it fails due to the fact, that it is missing the needed resources ....
WHAT CAN I DO !?
PLEASE HELP ... it磗 really a mess ...
try {
ClassLoader cl = this.getClass().getClassLoader();
icon_alpha = ImageIcon(cl.getResource(path+"icon/alpha_16.png"));
iconWAS = new ImageIcon(cl.getResource(path+"icon/was_16.png"));
.......
}
catch (Exception ex)
{
}
The JNLP File includes the JAR - File for the images (which is also signed).
<?xml version="1.0" encoding="utf-8"?>
<jnlp
spec="1.0+"
codebase="http://xxxx.xxxx.xx/JNLP"
href="WiTac.jnlp">
<information>
<title>WiTac Application</title>
<shortcut>
<desktop/>
<menu submenu="WiTAC"/>
</shortcut>
<related-content href="doc/WiTac_Anleitung.mht">
<title>Instructions</title>
</related-content>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+"/>
<jar href="WiTAc.jar"/>
<jar href="lib/images.jar"/>
</resources>
<application-desc main-clas="WiTac"/>
</jnlp>

