Problem in deploying web start
Hi All
I had created a swing application in which one form calls another form and that intern calls something else. Now the problem is that when i deployed that application using JNLP the calls aren't working. When i click on next button then also another form is not displayed. Any help...
This is the file that i created
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0" codebase="http://172.17.61.43:8080/testserv" href="app.jnlp">
<information>
<title>Application</title>
<vendor>Sun Microsystems, Inc.</vendor>
<offline-allowed/>
</information>
<resources>
<jar href="Application.jar"/>
<security>
<all-permissions/>
</security>
<j2se version="1.5+"
href="http://java.sun.com/products/autodl/j2se"/>
</resources>
<application-desc main-class="ui.Login"/>
</jnlp>
Thanks in advance
[1254 byte] By [
pkta] at [2007-11-26 14:46:46]

# 1
> ..the problem is that when i deployed that application
> using JNLP the calls aren't working. When i click on
> next button then also another form is not displayed.
What stacktrace is being displayed in the Java console?
(If you do not have the Java console pop-up
automatically for web-start applications,
change it so it does).
The reason I ask is because the JNLP file
you showed, indicates that you expect the
application to have full permissions, but the
permissions element is inside the resources
element, and it should not be..
This would be the correct form for the JNLP file
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0"
codebase="http://172.17.61.43:8080/testserv"
href="app.jnlp">
<information>
<title>Application</title>
<vendor>Sun Microsystems, Inc.</vendor>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<jar href="Application.jar"/>
<j2se version="1.5+"
href="http://java.sun.com/products/autodl/j2se"/>
</resources>
<application-desc main-class="ui.Login"/>
</jnlp>
Next, you have been very vague about where
these other 'forms' are located.
The only resource on the classpath of this
application is ..
http://172.17.61.43:8080/testserv/Application.jar
..so if your other 'forms' are in that jar, they
should be found, and if they are in another
jar, you need to add the other jar to the
resources section as well.