Skip to main content

No local string defined - stop-instance failed

1 reply [Last post]
adeboinfo
Offline
Joined: 2009-02-26
Points: 0

Hi,

I have configured one machine glassfish cluster, there is one node with two instances.
Problem is I cannot stop cluster or any instance on this cluster (with commands stop-cluster or stop-instance).
I'm getting "No local string defined" which means nothing to me...
Here is exception I have found in server logs:

com.sun.enterprise.ee.admin.servermgmt.AgentException: error during JRMP connection establishment; nested exception is:
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No local string defined
at com.sun.enterprise.ee.admin.configbeans.NodeAgentsConfigBean.getRuntimeStatus(NodeAgentsConfigBean.java:197)
at com.sun.enterprise.ee.admin.configbeans.NodeAgentsConfigBean.isRunning(NodeAgentsConfigBean.java:204)
at com.sun.enterprise.ee.admin.configbeans.ServersConfigBean.stopServerInstance(ServersConfigBean.java:417)
at com.sun.enterprise.ee.admin.configbeans.ServersConfigBean.stopServerInstance(ServersConfigBean.java:397)
at com.sun.enterprise.ee.admin.configbeans.ClustersConfigBean$StopServerTask.run(ClustersConfigBean.java:148)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.enterprise.ee.admin.servermgmt.AgentException: error during JRMP connection establishment; nested exception is:
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No local string defined
at com.sun.enterprise.ee.admin.clientreg.JMXConnectorRegistry.getConnection(JMXConnectorRegistry.java:346)
at com.sun.enterprise.ee.admin.clientreg.NodeAgentRegistry.getNodeAgentConnection(NodeAgentRegistry.java:118)
at com.sun.enterprise.ee.admin.proxy.NodeAgentProxy.getConnection(NodeAgentProxy.java:231)
at com.sun.enterprise.ee.admin.proxy.NodeAgentProxy.invoke(NodeAgentProxy.java:338)
at $Proxy27.getRuntimeStatus(Unknown Source)
at com.sun.enterprise.ee.admin.configbeans.NodeAgentsConfigBean.getRuntimeStatus(NodeAgentsConfigBean.java:189)
... 5 more

I can stop agent node without problem, and it stops all instances, but I'd like to be able to stop one instance while second one is running.

I'm using Sun GlassFish Enterprise Server v2.1 (9.1.1) (build b60e-fcs) on Ubuntu 8.04.

What am I doing wrong so it fails?

Regards,
Adam

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cgswtsu78
Offline
Joined: 2012-11-14
Points: 0

Hi Adam,

I know this issue is old, but I've run into the same thing. Did you ever figure it out?

-Colin