Hi
I am facing a following problem...
I have client Application (.jar) developed using Netbeans 6.1
I enable the Webstart in the project property and build the application.
Also I deployed this application in Glass Fish > Application Client Modules
it is successfully deployed,
when I clicked "Launch" .. it opened
Web start logo and says Application downloading /opening....
after downloading it says "Unable to launch the application"
following is the Details of exception
[i]
com.sun.deploy.net.JARSigningException: Could not verify signing in resource:
http://192.168.60.40:8282/__JWSappclients/__appclient/GIDE_v1_base/GIDE_v1_baseClient.jar
at com.sun.javaws.security.SigningInfo.verifyAllEntriesSigned(Unknown Source)
at com.sun.javaws.security.SigningInfo.checkSigning(Unknown Source)
at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[/i]
THIS IS THE JNLP IT SHOWS WHILE DISPLAYING ERROR
[i]<jnlp
spec="1.0+"
codebase="
http://<MY_ip>:8282/__JWSappclients/__appclient/GIDE_v1_base"
href="
http://MY_ip:8282/__JWSappclients/__appclient/GIDE_v1_base/main.jnlp">
<information>
<title>Application Client myApp</title>
<vendor>Application Client</vendor>
<homepage href="/main-jnlp.html"/>
<description kind="one-line">Application Client myApp </description>
<description kind="short">Application description</description>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+" />
<jar href="
http://MY_ip:8282/__JWSappclients/__appserver/aslib/appserv-jwsacc.jar" main="true"/>
<!--
Refer to the extension main JNLP document (which lists unsigned app server jars) and
the app client's JNLP document (which lists the user's app client and supporting jars).
-->
<extension name="mainext" href="main-ext.jnlp"/>
<extension name="appclient" href="client-client.jnlp"/>
<!--
Properties specified on the request as query parameters (if any)
-->
<property name="javax.xml.parsers.SAXParserFactory" value="com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"/>
<property name="javax.xml.parsers.DocumentBuilderFactory" value="com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"/>
<property name="javax.xml.transform.TransformerFactory" value="com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl"/>
<property name="org.xml.sax.parser" value="org.xml.sax.helpers.XMLReaderAdapter"/>
<property name="org.xml.sax.driver" value="com.sun.org.apache.xerces.internal.parsers.SAXParser"/>
<!-- from the command line -->
<property name="java.util.logging.manager" value="com.sun.enterprise.server.logging.ACCLogManager"/>
<property name="javax.enterprise.resource.corba.level" value="FINE"/>
<!--
The next three properties are set in the appserv-rt.jar's jndi.properties file. Set them
here so they are detected in the Java Web Start environment.
-->
<property name="java.naming.factory.initial" value="com.sun.enterprise.naming.SerialInitContextFactory"/>
<property name="java.naming.factory.url.pkgs" value="com.sun.enterprise.naming"/>
<!--
# Required to add a javax.naming.spi.StateFactory for CosNaming that
# supports dynamic RMI-IIOP.
-->
<property name="java.naming.factory.state" value="com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl"/>
<property name="com.sun.aas.jws.iiop.defaultHost" value="192.168.60.40"/>
<property name="com.sun.aas.jws.iiop.defaultPort" value="3700"/>
<property name="com.sun.aas.jws.retainTempFiles" value="false"/>
<property name="com.sun.aas.jws.isJWS" value="true"/>
<property name="com.sun.aas.jws.download.host" value="192.168.60.40"/>
<property name="com.sun.aas.user.code.signed" value="true"/>
</resources>
<application-desc main-class="com.sun.enterprise.appclient.jws.boot.JWSACCMain">
<argument>-mainclass</argument>
<argument>MainGUI.LoginScreen</argument>
<!--
Further arguments may be added dynamically.
-->
</application-desc>
</jnlp>[/i]
This is JNLP file is auto-generated by Netbeans
Also I tried to signing the jar file myself, and checked "Trust this publisher always"
even this is not solving problem..
Kindly can any one tell,
What are the steps to be followed to deploy the client application in Glass Fish
and open it through web start....
Thanks
[Message sent by forum member 'vallinayagam_p_r' (vallinayagam_p_r)]
http://forums.java.net/jive/thread.jspa?messageID=277225