users@glassfish.java.net

Re: Clustering Issues : Unable to restart Sun Java System App Server 9.1

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Thu, 25 Dec 2008 19:25:04 +0100

Others have found that upgrading the JVM version to Java 6 or a more
recent update of Java 5 fixed the issue.
hth,
-Alexis

On Dec 25, 2008, at 15:47, glassfish_at_javadesktop.org wrote:

> I have installed "Sun Java System Application Server 9.1" on
> Solaris. It is running fine as a Standalone instance. However when I
> try to create cluster in it, I am unable to restart the server -
>
> The command I use to start the server is -
>
> asadmin start-domain --user myappadm --passwordfile /password.txt --
> domaindir /SUNWappserver/domains/ domain1
>
> The error in the logs is -
>
> [#|2008-12-25T16:52:51.939+0530|WARNING|sun-appserver9.1|
> javax.enterprise.system.stream.err|
> _ThreadID=10;_ThreadName=main;_RequestID=2246c311-df72-490f-
> bc44-9962909c5b81;|java.lang.reflect.InvocationTargetException
> 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:412)
> 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:84)
> at $Proxy0.getSecuritySupport(Unknown Source)
> at
> com
> .sun
> .enterprise
> .security.SecurityUtil.getSecuritySupport(SecurityUtil.java:365)
> at
> com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:102)
> at
> com
> .sun
> .enterprise
> .security.SecurityLifecycle.onInitialization(SecurityLifecycle.java:
> 101)
> at
> com
> .sun
> .enterprise
> .server.ApplicationServer.onInitialization(ApplicationServer.java:262)
> at
> com
> .sun
> .enterprise
> .server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:
> 101)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:401)
> at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
> ... 5 more
>
>
> Kindly suggest the possible Reasons and Fix of this issue.
>
> Regards,
> Kuldeep
> [Message sent by forum member 'kgosain' (kgosain)]
>
> http://forums.java.net/jive/thread.jspa?messageID=323280
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>