users@glassfish.java.net

JavaFX 2.0 Web deplyment - Found unsigned entry: fchooser/ChosenFile$1.class

From: <forums_at_java.net>
Date: Wed, 15 Feb 2012 22:12:35 -0600 (CST)

Im trying to deploy a simple filechooser webapp with JavaFX 2 and on jre 1.7
using NetBeans 7.1 IDE.  When deployed in webapp I get the following
result even though the jar is signed albeit with a jarsigner generated
signature.  The fx app has 2 projects included as libraries.  One of these
projects has the javamail jar included as a library.  I have signed the fx
jar and the included javamail jar as well(all are signed with same
keystore). 

 

 

Java Plug-in 10.3.0.5
Using JRE version 1.7.0_03-b05 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\HOG
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
security: property package.access value
sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
security: property package.access new value
sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access value
sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access new value
sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access value
sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access new value
sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition value null
security: property package.definition new value com.sun.javaws
security: property package.definition value com.sun.javaws
security: property package.definition new value com.sun.javaws,com.sun.deploy
security: property package.definition value com.sun.javaws,com.sun.deploy
security: property package.definition new value
com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access value
sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access new value
sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.definition value
com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition new value
com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
network: Created version ID: 1.7.0.03
network: Created version ID: 1.7
temp: new XMLParser with source:
temp: <?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0" xmlns:jfx="http://javafx.com [1]" href="FChooser.jnlp">
  <information>
    <title>FChooser</title>
    <vendor>MAEze Technologies Inc.</vendor>
    <description>Sample JavaFX 2.0 application.</description>
    <offline-allowed/>
  </information>
  <resources os="Windows">
    <jfx:javafx-runtime version="2.0+"
href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/
[2]>
  </resources>
  <resources>
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/
[3]>
    <jar href="FChooser.jar" size="35309" download="eager" />
    <jar href="lib/FileUploader.jar" size="8304" download="eager" />
    <jar href="lib/com.jar" size="3941" download="eager" />
  </resources>
<security>
  <all-permissions/>
</security>
  <applet-desc  width="420" height="500"
main-class="com.javafx.main.NoJavaFXFallback"  name="FChooser" />
  <jfx:javafx-desc  width="420" height="500"
main-class="fchooser.FChooser"  name="FChooser" />
  <update check="background"/>
</jnlp>

temp:

returning ROOT as follows:

<jnlp spec="1.0" xmlns:jfx="http://javafx.com [4]" href="FChooser.jnlp">
  <information>
    <title>FChooser</title>
    <vendor>MAEze Technologies Inc.</vendor>
    <description>Sample JavaFX 2.0 application.</description>
    <offline-allowed/>
  </information>
  <resources os="Windows">
    <javafx-runtime version="2.0+"
href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/
[5]>
  </resources>
  <resources>
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/
[6]>
    <jar href="FChooser.jar" size="35309" download="eager"/>
    <jar href="lib/FileUploader.jar" size="8304" download="eager"/>
    <jar href="lib/com.jar" size="3941" download="eager"/>
  </resources>
  <security>
    <all-permissions/>
  </security>
  <applet-desc width="420" height="500"
main-class="com.javafx.main.NoJavaFXFallback" name="FChooser"/>
  <javafx-desc width="420" height="500" main-class="fchooser.FChooser"
name="FChooser"/>
  <update check="background"/>
</jnlp>
temp: returning LaunchDesc from XMLFormat.parse():

<jnlp spec="1.0" codebase="http://localhost:8080/SureClaim/menus/ [7]"
href="http://localhost:8080/SureClaim/menus/FChooser.jnlp [8]">
  <information>
    <title>FChooser</title>
    <vendor>MAEze Technologies Inc.</vendor>
    <homepage href="null"/>
    <description>Sample JavaFX 2.0 application.</description>
    <offline-allowed/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <update check="background" policy="always"/>
  <resources>
    <javafx-runtime version="2.0+"
href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/
[9]>
    <java href="http://java.sun.com/products/autodl/j2se [10]"
version="1.6+"/>
    <jar href="http://localhost:8080/SureClaim/menus/FChooser.jar [11]"
download="eager" main="false"/>
    <jar href="http://localhost:8080/SureClaim/menus/lib/FileUploader.jar
[12]" download="eager" main="false"/>
    <jar href="http://localhost:8080/SureClaim/menus/lib/com.jar [13]"
download="eager" main="false"/>
  </resources>
  <applet-desc name="FChooser" main-class="com.javafx.main.NoJavaFXFallback"
documentbase="http://localhost:8080/SureClaim/menus/Menu.faces [14]"
width="420" height="500"/>
  <javafx-desc main-class="fchooser.FChooser"/>
</jnlp>
network: Cache entry found [url:
http://localhost:8080/SureClaim/menus/FChooser.jnlp [15], version: null]
prevalidated=false/0
basic: Loaded descriptor from cache at:
http://localhost:8080/SureClaim/menus/FChooser.jnlp [16]
temp: new XMLParser with source:
temp:
<jnlp spec="1.0" xmlns:jfx="http://javafx.com [17]" href="FChooser.jnlp">
  <information>
    <title>FChooser</title>
    <vendor>MAEze Technologies Inc.</vendor>
    <description>Sample JavaFX 2.0 application.</description>
    <offline-allowed/>
  </information>
  <resources os="Windows">
    <javafx-runtime version="2.0+"
href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/
[18]>
  </resources>
  <resources>
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/
[19]>
    <jar href="FChooser.jar" size="35309" download="eager"/>
    <jar href="lib/FileUploader.jar" size="8304" download="eager"/>
    <jar href="lib/com.jar" size="3941" download="eager"/>
  </resources>
  <security>
    <all-permissions/>
  </security>
  <applet-desc width="420" height="500"
main-class="com.javafx.main.NoJavaFXFallback" name="FChooser"/>
  <javafx-desc width="420" height="500" main-class="fchooser.FChooser"
name="FChooser"/>
  <update check="background"/>
</jnlp>
temp:

returning ROOT as follows:

<jnlp spec="1.0" xmlns:jfx="http://javafx.com [20]" href="FChooser.jnlp">
  <information>
    <title>FChooser</title>
    <vendor>MAEze Technologies Inc.</vendor>
    <description>Sample JavaFX 2.0 application.</description>
    <offline-allowed/>
  </information>
  <resources os="Windows">
    <javafx-runtime version="2.0+"
href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/
[21]>
  </resources>
  <resources>
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/
[22]>
    <jar href="FChooser.jar" size="35309" download="eager"/>
    <jar href="lib/FileUploader.jar" size="8304" download="eager"/>
    <jar href="lib/com.jar" size="3941" download="eager"/>
  </resources>
  <security>
    <all-permissions/>
  </security>
  <applet-desc width="420" height="500"
main-class="com.javafx.main.NoJavaFXFallback" name="FChooser"/>
  <javafx-desc width="420" height="500" main-class="fchooser.FChooser"
name="FChooser"/>
  <update check="background"/>
</jnlp>
temp: returning LaunchDesc from XMLFormat.parse():

<jnlp spec="1.0" codebase="http://localhost:8080/SureClaim/menus/ [23]"
href="http://localhost:8080/SureClaim/menus/FChooser.jnlp [24]">
  <information>
    <title>FChooser</title>
    <vendor>MAEze Technologies Inc.</vendor>
    <homepage href="null"/>
    <description>Sample JavaFX 2.0 application.</description>
    <offline-allowed/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <update check="background" policy="always"/>
  <resources>
    <javafx-runtime version="2.0+"
href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/
[25]>
    <java href="http://java.sun.com/products/autodl/j2se [26]"
version="1.6+"/>
    <jar href="http://localhost:8080/SureClaim/menus/FChooser.jar [27]"
download="eager" main="false"/>
    <jar href="http://localhost:8080/SureClaim/menus/lib/FileUploader.jar
[28]" download="eager" main="false"/>
    <jar href="http://localhost:8080/SureClaim/menus/lib/com.jar [29]"
download="eager" main="false"/>
  </resources>
  <applet-desc name="FChooser" main-class="com.javafx.main.NoJavaFXFallback"
documentbase="http://localhost:8080/SureClaim/menus/Menu.faces [30]"
width="420" height="500"/>
  <javafx-desc main-class="fchooser.FChooser"/>
</jnlp>
security: Blacklist revocation check is enabled
security: Trusted libraries list check is enabled
network: Cache entry found [url:
http://localhost:8080/SureClaim/menus/FChooser.jar [31], version: null]
prevalidated=false/0
network: Cache entry found [url:
http://localhost:8080/SureClaim/menus/lib/FileUploader.jar [32], version:
null] prevalidated=false/0
network: Cache entry found [url:
http://localhost:8080/SureClaim/menus/lib/com.jar [33], version: null]
prevalidated=false/0
cache: JNLPPreverifyClassLoader.initialize: FAILED:
http://localhost:8080/SureClaim/menus/FChooser.jar [34]
network: Created version ID: 1.6.0.10
network: Created version ID: 2.0+
basic: Plugin2ClassLoader.addURL2 called for
http://localhost:8080/SureClaim/menus/FChooser.jar [35]
basic: Plugin2ClassLoader.addURL2 called for
http://localhost:8080/SureClaim/menus/lib/FileUploader.jar [36]
basic: Plugin2ClassLoader.addURL2 called for
http://localhost:8080/SureClaim/menus/lib/com.jar [37]
network: Created version ID: 1.6+
security: Security check for progress jars: allSigned=true
network: Created version ID: 1.7.0.03
network: Created version ID: 1.7.0.03
network: Created version ID: 1.7
basic: LaunchDesc location:
http://localhost:8080/SureClaim/menus/FChooser.jnlp [38]
network: CleanupThread used 217789 us
network: Created version ID: 1.0
network: Created version ID: 7.0
network: Created version ID: 6.0.18
network: Created version ID: 6.0.10
network: Created version ID: 6.0
network: Created version ID: 1.5
network: Created version ID: 1.0
network: Created version ID: 2.0+
network: Created version ID: 2.0.3
security: Validating cached jar
url=http://localhost:8080/SureClaim/menus/FChooser.jar ffile=C:\Documents and
Settings\HOG\Local Settings\Application
Data\Sun\Java\Deployment\cache\6.0\46\707cb16e-5274b756
com.sun.deploy.cache.CachedJarFile_at_9b5cdb [39]
cache: Reading Signers from 5
http://localhost:8080/SureClaim/menus/FChooser.jar [40] | C:\Documents and
Settings\HOG\Local Settings\Application
Data\Sun\Java\Deployment\cache\6.0\46\707cb16e-5274b756.idx
network: No certificate info for unsigned JAR file:
http://localhost:8080/SureClaim/menus/FChooser.jar [41]
security: Found unsigned entry: fchooser/ChosenFile$1.class
basic: exception: Found unsigned entry in resource:
http://localhost:8080/SureClaim/menus/FChooser.jar [42].
ExitException[ 3]com.sun.deploy.net.JARSigningException: Found unsigned entry
in resource: http://localhost:8080/SureClaim/menus/FChooser.jar [43]
 at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
 at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
 at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
Source)
 at java.lang.Thread.run(Unknown Source)
Ignored exception: ExitException[ 3]com.sun.deploy.net.JARSigningException:
Found unsigned entry in resource:
http://localhost:8080/SureClaim/menus/FChooser.jar [44]
 


[1] http://javafx.com
[2]
http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp&quot;/
[3] http://java.sun.com/products/autodl/j2se&quot;/
[4] http://javafx.com
[5]
http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp&quot;/
[6] http://java.sun.com/products/autodl/j2se&quot;/
[7] http://localhost:8080/SureClaim/menus/
[8] http://localhost:8080/SureClaim/menus/FChooser.jnlp
[9]
http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp&quot;/
[10] http://java.sun.com/products/autodl/j2se
[11] http://localhost:8080/SureClaim/menus/FChooser.jar
[12] http://localhost:8080/SureClaim/menus/lib/FileUploader.jar
[13] http://localhost:8080/SureClaim/menus/lib/com.jar
[14] http://localhost:8080/SureClaim/menus/Menu.faces
[15] http://localhost:8080/SureClaim/menus/FChooser.jnlp
[16] http://localhost:8080/SureClaim/menus/FChooser.jnlp
[17] http://javafx.com
[18]
http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp&quot;/
[19] http://java.sun.com/products/autodl/j2se&quot;/
[20] http://javafx.com
[21]
http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp&quot;/
[22] http://java.sun.com/products/autodl/j2se&quot;/
[23] http://localhost:8080/SureClaim/menus/
[24] http://localhost:8080/SureClaim/menus/FChooser.jnlp
[25]
http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp&quot;/
[26] http://java.sun.com/products/autodl/j2se
[27] http://localhost:8080/SureClaim/menus/FChooser.jar
[28] http://localhost:8080/SureClaim/menus/lib/FileUploader.jar
[29] http://localhost:8080/SureClaim/menus/lib/com.jar
[30] http://localhost:8080/SureClaim/menus/Menu.faces
[31] http://localhost:8080/SureClaim/menus/FChooser.jar
[32] http://localhost:8080/SureClaim/menus/lib/FileUploader.jar
[33] http://localhost:8080/SureClaim/menus/lib/com.jar
[34] http://localhost:8080/SureClaim/menus/FChooser.jar
[35] http://localhost:8080/SureClaim/menus/FChooser.jar
[36] http://localhost:8080/SureClaim/menus/lib/FileUploader.jar
[37] http://localhost:8080/SureClaim/menus/lib/com.jar
[38] http://localhost:8080/SureClaim/menus/FChooser.jnlp
[39] mailto:com.sun.deploy.cache.CachedJarFile_at_9b5cdb
[40] http://localhost:8080/SureClaim/menus/FChooser.jar
[41] http://localhost:8080/SureClaim/menus/FChooser.jar
[42] http://localhost:8080/SureClaim/menus/FChooser.jar
[43] http://localhost:8080/SureClaim/menus/FChooser.jar
[44] http://localhost:8080/SureClaim/menus/FChooser.jar

--
[Message sent by forum member 'raysod']
View Post: http://forums.java.net/node/883575