users@glassfish.java.net

Node Agents fail to start on AIX due to NullPointerException

From: <glassfish_at_javadesktop.org>
Date: Sun, 07 Dec 2008 22:28:16 PST

On AIX 5.3 with JDK 1.6 (32bit) and Glassfish 2.1 b60b the node agents fail to start with the following error in the server log:

NOTE: The Admin Server for the domain is running on Windows 2003 with Sun JDK 1.6 (32bit) and Glassfish 2.1 b60b.


Dec 8, 2008 12:03:32 AM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
INFO:
/servers/glassfish/java/jre/../bin/java
-Dcom.sun.aas.instanceRoot=/servers/glassfish/nodeagents/cris-dev.local-nodeagent-as03/agent
-Dcom.sun.aas.configRoot=/servers/glassfish/config
-Dcom.sun.aas.defaultLogFile=/servers/glassfish/nodeagents/cris-dev.local-nodeagent-as03/agent/logs/server.log
-Dcom.sun.aas.instanceName=cris-dev.local-nodeagent-as03
-Dcom.sun.aas.isNodeAgent=true
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.appserv.admin.pluggable.features=com.sun.enterprise.ee.admin.pluggable.EEClientPluggableFeatureImpl
-Dcom.sun.appserv.nss.db=/servers/glassfish/nodeagents/cris-dev.local-nodeagent-as03/agent/config
-Dcom.sun.appserv.pluggable.features=com.sun.enterprise.ee.server.pluggable.EEPluggableFeatureImpl
-Djava.endorsed.dirs=/servers/glassfish/lib/endorsed
-Djava.library.path=/servers/glassfish/lib:/servers/glassfish/lib:/servers/glassfish/lib
-Djava.security.auth.login.config=/servers/glassfish/nodeagents/cris-dev.local-nodeagent-as03/agent/config/login.conf
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Djmx.invoke.getters=true
-XX:+UnlockDiagnosticVMOptions
-XX:LogFile=/servers/glassfish/nodeagents/cris-dev.local-nodeagent-as03/agent/logs/jvm.log
-XX:+LogVMOutput
-cp
/servers/glassfish/lib/comms-appserv-rt.jar:/servers/glassfish/lib/appserv-launch.jar:/servers/glassfish/lib/appserv-rt.jar:/servers/glassfish/lib/appserv-admin.jar:/servers/glassfish/lib/appserv-se.jar:/servers/glassfish/lib/appserv-ee.jar:/servers/glassfish/lib/appserv-ext.jar:/servers/glassfish/lib/javaee.jar
com.sun.enterprise.ee.nodeagent.NodeAgentMain
start
 startInstancesOverride=NOTSET
syncInstances=false
monitorInterval=5
Dec 8, 2008 12:03:38 AM com.sun.enterprise.ee.nodeagent.NodeAgentMain startup
INFO: NAGT0004:Starting Node Agent...
Dec 8, 2008 12:03:38 AM com.sun.enterprise.ee.nodeagent.NodeAgent configureLogger
INFO: NAGT0025:The node agent could not configure logging levels. Default logging level will be used.
Dec 8, 2008 12:03:38 AM com.sun.enterprise.ee.nodeagent.NodeAgent synchronizeWithDASInternal
INFO: NAGT0038:Executing Synchronization for node-agent With DAS
Dec 8, 2008 12:03:38 AM com.sun.enterprise.ee.nodeagent.NodeAgentMain main
SEVERE: NAGT0014:Unexpected Node Agent exception.
Throwable occurred: java.lang.ExceptionInInitializerError
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:222)
        at com.sun.enterprise.ee.synchronization.JmxSynchronizationDriver.getPingCommand(JmxSynchronizationDriver.java:70)
        at com.sun.enterprise.ee.synchronization.BaseSynchronizationDriver.synchronizeInternal(BaseSynchronizationDriver.java:167)
        at com.sun.enterprise.ee.synchronization.BaseSynchronizationDriver.synchronize(BaseSynchronizationDriver.java:129)
        at com.sun.enterprise.ee.nodeagent.NodeAgent.synchronizeWithDASInternal(NodeAgent.java:620)
        at com.sun.enterprise.ee.nodeagent.NodeAgent.synchronizeWithDASInternal(NodeAgent.java:577)
        at com.sun.enterprise.ee.nodeagent.BaseNodeAgent.run(BaseNodeAgent.java:140)
        at com.sun.enterprise.ee.nodeagent.NodeAgentMain.startup(NodeAgentMain.java:194)
        at com.sun.enterprise.ee.nodeagent.NodeAgentMain.main(NodeAgentMain.java:270)
Caused by: java.lang.NullPointerException
        at java.util.Hashtable.get(Unknown Source)
        at com.sun.enterprise.util.i18n.StringManagerBase.getStringManager(StringManagerBase.java:133)
        at com.sun.enterprise.ee.synchronization.PingCommand.<clinit>(PingCommand.java:63)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
        ... 8 more
[Message sent by forum member 'danshome' (danshome)]

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