Hi Kuldeep,
Which operating system you are trying this on ? You can refer the
Presentation : *GlassFish-V2-Clustering-Simplified.pdf*
<
http://blogs.sun.com/stripathi/resource/Preso/GlassFishv2Clustering.pdf>
However, with some quick guesses I could make this morning, try starting
the domain with the following commands in sequence
# cd /SUNWappserver/bin
# ./asadmin start-domain domain1
(After successful start of the domain)
# ./asadmin list-node-agents
(Node agent(s) should be Running)
# ./asadmin list-clusters
(Cluster name should be displayed)
# ./asadmin start-cluster <cluster-name>
(After successful start of the domain)
# ./asadmin list-instances
(Instance names should be displayed)
Let me know if you find this useful ?
Thanks & regards
--Satya
On 12/25/08 20:17, 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
>
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SATYAJIT TRIPATHI
ISV Engineering APAC
Sun Microsystems India Private Limited
Bangalore 560025
DID : +91 80 66937865
Mobile: +91 9886019892
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~