Server fails to start with NoClassDefFoundError UnixProcessGlue
 Technote (FAQ)
 
Problem
Server fails to start with NoClassDefFoundError UnixProcessGlue
 
Cause
The server may fail to start with the following exception in the SystemOut.log file.
[7/19/05 14:44:13:773 CDT] 3d9194a1 WsServer E WSVR0003E: Server server1 failed to start
java.lang.NoClassDefFoundError: com/ibm/ws/process/UnixProcessGlue
at com.ibm.ws.process.UnixProcessImpl.createSelf(UnixProcessImpl.java:125)
Attached SystemOut.log file.

The server will start all the components and before issuing "Server serverName open for e-business" statement, it will stop all the components and fails with the above mentioned exception.

In this case the server is not able to determine the PID of the JVM to keep the JVM alive.
You will see the following statement in the SystemOut.log file.
PmiRmProcessL E PMRM0114E: Unable to determine pid.

Also we should see the "process id pid" at the end of very first line in the SystemOut.log file.
AIX uname command should return the value"AIX" , in this case it returned "L" or "" . If it returns no value or anything other than AIX , WebSphere cannot construct the JVM properly and it will fail to start .

Note : The startup issue is applicable for deploymentManager, nodeagent and Application Server. The above exception may be applicable for all Unix/Linux operating System, but so far we have seen this issue only on AIX.
 
Solution
Take a backup of install-root/bin/startServer.sh file

Edit startServer.sh file.
Modify PLATFORM=`/bin/uname` to PLATFORM=AIX

Note : If you see the same behavior on other operating Systems then find the operating System value in the startServer.sh file and then replace the PLATFORM=`/bin/uname` to the appropriate OS. For SUN Solaris it may be SunOS, for linux it may Linux and for HP it may be HP-UX.

The above mentioned solution is just a workaround to start the server. The permanent solution is to fix the uname output with the Unix admin. Rebooting the AIX box may fix the uname issue.

 
SystemOut.log
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
Historical Number
28407
370
000
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > System Management/Repository
Operating system(s): AIX
Software version: 5.1
Software edition:
Reference #: 1212727
IBM Group: Software Group
Modified date: Jul 25, 2005