users@glassfish.java.net

Problems with glassfish_v2-b43 and setup-cluster

From: <glassfish_at_javadesktop.org>
Date: Fri, 20 Apr 2007 10:21:07 PDT

Hi,
I having this problem this morning:

My "java -version" output:

java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_11-b03, mixed mode)

When I try to configure my glassfish instalation with ant -f setup.xml, the domain1 created by default works fine. But if I use ant -f setup-cluster.xml the domain1 seems to be created without problems, but when I try to start the domain I have the following output:

Starting Domain domain1, please wait.
Log redirected to /opt/glassfish/domains/domain1/logs/server.log.
Redirecting output to /opt/glassfish/domains/domain1/logs/server.log
Timeout waiting for domain domain1 to go to starting state.
CLI156 Could not start the domain domain1.

In my "/opt/glassfish/domains/domain1/logs/server.log" I have the next NoClassDefFound:

[#|2007-04-20T12:05:56.669-0500|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=m$ 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:585)
        at com.sun.enterprise.server.PELaunch.main(PELaunch.java:274)
Caused by: java.lang.NoClassDefFoundError: sun/security/pkcs11/SunPKCS11
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at com.sun.enterprise.pluggable.PluggableFeatureFactoryBaseImpl.invoke(PluggableFeatureFactoryBaseImpl.java:71) at $Proxy0.getSecuritySupport(Unknown Source)
        at com.sun.enterprise.security.SecurityUtil.getSecuritySupport(SecurityUtil.java:352)
        at com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:89)
        at com.sun.enterprise.security.SecurityLifecycle.onInitialization(SecurityLifecycle.java:88)
        at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:237)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:85)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:371)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:308)
        ... 5 more

thank's for your help.
[Message sent by forum member 'dovalle' (dovalle)]

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