0 Replies Latest reply on Oct 31, 2013 1:13 PM by 1051749

    JWS deployment problem




      I’ve developed a Java application named ‘Ixe’ that reads XML files and converts them into XLS files formatted in a certain manner. The application uses two extra .jar included in a user library in the build path :

      ·         poi-3.2-FINAL.jar

      ·         jdom-2.0.4 .jar

      The application runs fine.


      I’ve tried to deploy it with Java Web Start:

      1.       Creating a Dynamic Web application named ‘Wixe’ that contains the Ixe.jar

      2.       Creating a JNLP file like the one below :

      <jnlp spec="1.0+" codebase="http://localhost:8080/Wixe/" href="logiciel.jnlp">



      <vendor>David Cohen</vendor>

      <description>Web Interface XML Excel</description>

      <icon kind="shortcut" href="http://localhost:8080/Wixe/images/Ixe.png" width="24" height="24"/>






      <j2se version="1.7+" href="http://java.sun.com/products/autodl/j2se"/>

      <jar href="http://localhost:8080/Wixe/Ixe.jar"/>


               <application-desc main-class="vue.Visualisation"/>


      3.       Signning the file ‘Ixe.jar’



      I executed the following command to verify the signature :

      C:\Developpement\Java\workspace\Wixe\WebContent>jarsigner -verify -verbose Ixe.jar


      Console information : 


        s = signature was verified

        m = entry is listed in manifest

        k = at least one certificate was found in keystore

        i = at least one certificate was found in identity scope


      jar verified.




      But at the execution of the application, the following error occurred:

      com.sun.deploy.net.JARSigningException: Détection d'une entrée non signée dans la ressource : http://localhost:8080/Wixe/Ixe.jar

                      at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source)

                      at com.sun.javaws.security.SigningInfo.check(Unknown Source)

                      at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)

                      at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source)

                      at com.sun.javaws.Launcher.prepareResources(Unknown Source)

                      at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)

                      at com.sun.javaws.Launcher.prepareToLaunch(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.access$000(Unknown Source)

                      at com.sun.javaws.Main$1.run(Unknown Source)

                      at java.lang.Thread.run(Unknown Source)



      Can you help me?




      David Cohen