java.lang.NullPointerException causes Server1 startup fails in a stand alone Base installation
 Technote (troubleshooting)
 
Problem(Abstract)
Server1 startup fails with the following exception :

8/4/04 13:10:35:728 CDT] 6b3bfa8c AdminInitiali A ADMN0015I: AdminService initialized
[8/4/04 13:10:36:997 CDT] 6b3bfa8c WsServer E WSVR0003E: Server server1 failed to start
java.lang.NullPointerException
at com.ibm.ws.runtime.component.ORBImpl.initialize(ORBImpl.java:140)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java(Compiled Code))
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:643)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:96)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:119)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)

[8/4/04 13:10:37:070 CDT] 6b3bfa8c WsServer E WSVR0009E: Error occurred during startup
 
Cause
Corruption in the server.xml file located at:

Install_Root /config/cells/cell_name/nodes/node_name/servers/server_name

 
Resolving the problem
In one particular case , the following line was missing from server.xml file:
<services xmi:type="debugservice:DebugService" xmi:id="DebugService_1"
enable="false" jvmDebugPort="7777" jvmDebugArgs="-Djava.compiler=NONE
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,
address=7777" BSFDebugPort="4444" BSFLoggingLevel="0"/>

Do one of these things to fix this problem:
  1. Restore the server.xml file from backup.

    or

  2. Perform restoreConfig, if you have a backupConfig for this Base installation. By doing this, you restore the configuration to the state it was in at the time the backup was created.

If this problem occurs in a federated environment, make changes at the Dmgr level at:

Dmgr_Install_Root /config/cells/cell_name/nodes/node_name//servers/server_name

then perform a full resynchronization operation to push the updated files out to the node level.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > System Management/Repository
Operating system(s): Windows
Software version: 5.0.2.7
Software edition:
Reference #: 1177623
IBM Group: Software Group
Modified date: Aug 23, 2004