Noticed that you mentioned node-config. You probably want to create a
SSH node.
Refer to the Quick Start Guide that shows the steps to create a 2
instance cluster:
http://download.oracle.com/docs/cd/E18930_01/html/821-2432/gkybx.html
3.1 clustering concepts are explained in this article:
http://glassfish.java.net/public/clustering31.html
You may also find this 11 mins video useful that shows how to create a
cluster in 3.1:
http://www.youtube.com/watch?v=ni51fD6UYos
For more background on SSH use in GlassFish 3.1, refer to the following
blogs:
* SSH to Manage Instance Lifecycles:
http://blogs.oracle.com/dipol/entry/glassfish_3_1_using_ssh
* SSH Provisioning Commands:
http://blogs.oracle.com/yamini/entry/using_glassfish_v3_1_ssh
* Troubleshooting SSH Setup:
http://blogs.oracle.com/yamini/entry/troubleshooting_ssh_setup_in_glassfish
* Clustering without SSH:
http://blogs.oracle.com/dipol/entry/glassfish_3_1_clusters_without
--
Nazrul Islam - (408) 276-6468 - Oracle
forums_at_java.net wrote:
> I've installed a DAS server with glassfish 3.1 with secure-admin
> enabled,
> and 've created a domain and a cluster. After that, I've installed a
> node-config in other host referencing the cluster in the DAS. There
> were no
> errors on neither of the installations. But when I list-instances in
> the DAS,
> the node appears like "not running" and in the node-config log shows the
> following lines:
>
>
> [#|2011-04-26T13:58:33.813-0300|WARNING|glassfish3.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=20;_ThreadName=Thread-1;|GRIZZLY0059:
>
> PortUnification exception. java.lang.NullPointerException at
> com.sun.grizzly.config.SSLConfigHolder.createSSLEngine(SSLConfigHolder.java:205)
>
> at
> com.sun.grizzly.config.HttpProtocolFinder.find(HttpProtocolFinder.java:116)
>
> at
> com.sun.grizzly.config.ConfigProtocolFinderWrapper.find(ConfigProtocolFinderWrapper.java:72)
>
> at
> com.sun.grizzly.portunif.PUReadFilter.findProtocol(PUReadFilter.java:512)
> at
> com.sun.grizzly.portunif.PUReadFilter.execute(PUReadFilter.java:188) at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>
> at java.lang.Thread.run(Thread.java:662) |#] I've deleted de file
> ~/.asadmintruststores and accepted the certificate in both hosts. I
> dont't
> know what else can I do. Any help will be apreciated.
>
>
> --
>
> [Message sent by forum member 'aachkar']
>
> View Post: http://forums.java.net/node/795839
>
>