users@glassfish.java.net

Re: Unsigned resource error in Glassfish 3.0.1 web start app client

From: <glassfish_at_javadesktop.org>
Date: Thu, 15 Jul 2010 14:54:37 PDT

Hmmm, I upgraded the jdk on the client system to jdk 1.6.0_21 and now I am not getting the hk2.jar validation error! Is there some incompatibility in jar signing between these releases? Maybe a webstart bug was fixed?

The only problem is that now it can't find one of our application classes:

java.lang.NoClassDefFoundError: Lcom/ncstech/crewmanifest/repository/AccountManagerRepository;
        at java.lang.Class.getDeclaredFields0(Native Method)
        at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
        at java.lang.Class.getDeclaredField(Class.java:1880)
        at com.sun.enterprise.deployment.util.DefaultDOLVisitor.acceptWithCL(DefaultDOLVisitor.java:350)
        at com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:188)
        at com.sun.enterprise.deployment.ApplicationClientDescriptor.visit(ApplicationClientDescriptor.java:657)
        at com.sun.enterprise.deployment.archivist.AppClientArchivist.validate(AppClientArchivist.java:168)
        at org.glassfish.appclient.client.acc.FacadeLaunchable.validateDescriptor(FacadeLaunchable.java:175)
        at org.glassfish.appclient.client.acc.AppClientContainer.completePreparation(AppClientContainer.java:350)
        at org.glassfish.appclient.client.acc.AppClientContainer.prepare(AppClientContainer.java:311)
        at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:264)
        at org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:83)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.javaws.Launcher.executeApplication(Launcher.java:1799)
        at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1745)
        at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1507)
        at com.sun.javaws.Launcher.run(Launcher.java:129)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: com.ncstech.crewmanifest.repository.AccountManagerRepository
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:332)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 21 more

Any ideas?
[Message sent by forum member 'aner']

http://forums.java.net/jive/thread.jspa?messageID=477770