Websphere 5.1 not starting up

Discussions

General J2EE: Websphere 5.1 not starting up

  1. Websphere 5.1 not starting up (2 messages)

    When I am first installed the websphere 5.1 server it is starting properly after that I am not able to stop the server there is some WSRuntmeException if I forcibilly stop the server I am not able to start the server. When i am trying to start the server I am getting the beloow given error. From the error I found one thing that it is not able to load the variables.xml file which is in the config/ folder. please find the highleted text in the bug report. Please suggest me a solution.


    Ashok.

    <span color="red">************ Start Display Current Environment ************
    Host Operating System is Windows 2000, version 5.0
    Java version = J2RE 1.4.1 IBM Windows 32 build cn1411-20031011 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
    was.install.root = D:\Program Files\WebSphere\AppServer
    user.install.root = null
    Java Home = D:\Program Files\WebSphere\AppServer\java\jre
    ws.ext.dirs = D:\Program Files\WebSphere\AppServer\java\lib;D:\Program Files\WebSphere\AppServer\classes;D:\Program Files\WebSphere\AppServer\lib;D:\Program Files\WebSphere\AppServer\lib\ext;D:\Program Files\WebSphere\AppServer\web\help;D:\Program Files\WebSphere\AppServer\deploytool\itp\plugins\com.ibm.etools.ejbdeploy\runtime
    Classpath = D:\Program Files\WebSphere\AppServer\properties;D:\Program Files\WebSphere\AppServer\lib\bootstrap.jar;D:\Program Files\WebSphere\AppServer\lib\j2ee.jar;D:\Program Files\WebSphere\AppServer\lib\lmproxy.jar;D:\Program Files\WebSphere\AppServer\lib\urlprotocols.jar
    Java Library path = D:\Program Files\WebSphere\AppServer\java\bin;.;C:\WINNT\system32;C:\WINNT;D:\Program Files\WebSphere\AppServer\bin;D:\Program Files\WebSphere\AppServer\java\bin;D:\Program Files\WebSphere\AppServer\java\jre\bin;D:\oracle\ora81\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\Program Files\CA\Dcs\DMScripting\;C:\Program Files\CA\DCS\CAWIN\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRA~1\Tcl\bin;C:\program files\xinox Software\JCreator LE;D:\Program Files\CA\Unicenter Software Delivery\BIN;C:\Program Files\CA\SharedComponents\CAM\bin;d:\Ant\bin;D:\Program Files\WebSphere\AppServer\java\bin;c:\sybase11.1.1\blib;c:\apache-ant-1.6.1\bin;c:\Xdoss_30Aug;d:\Ant\bin;D:\Program Files\WebSphere\AppServer\java\bin;D:\apache-ant-1.6.1\bin;C:\Program Files\CA\Unicenter Software Delivery\BIN;D:\Program Files\WebSphere\AppServer\java/bin;
    Current trace specification = com.ibm.*=all=enabled
    ************* End Display Current Environment *************
    [6/23/05 17:02:13:014 IST] 3d7a8958 ManagerAdmin I TRAS0017I: The startup trace state is com.ibm.*=all=enabled.
    [6/23/05 17:02:13:014 IST] 3d7a8958 AdminTool d executing utility with arguments: D:\Program Files\WebSphere\AppServer\config C8445 C8445 server1 -trace
    [6/23/05 17:02:13:030 IST] 3d7a8958 AdminTool A ADMU3100I: Reading configuration for server: server1
    [6/23/05 17:02:14:702 IST] 3d7a8958 ConfigRootImp <                                  com.ibm.ws.runtime.service.ConfigRootImpl@7ba095a[rootURI=file:/D:/Program Files/WebSphere/AppServer/config/,typeValues{C8445,null,null,C8445,server1,}]
    [6/23/05 17:02:14:717 IST] 3d7a8958 ConfigRootImp > getResource
                                     cells
                                     variables.xml
                                     com.ibm.ws.runtime.service.ConfigRootImpl@7ba095a[rootURI=file:/D:/Program Files/WebSphere/AppServer/config/,typeValues{C8445,null,null,C8445,server1,}]
    [6/23/05 17:02:14:717 IST] 3d7a8958 ConfigRootImp > getAbsoluteURI
                                     cells
                                     variables.xml
                                     com.ibm.ws.runtime.service.ConfigRootImpl@7ba095a[rootURI=file:/D:/Program Files/WebSphere/AppServer/config/,typeValues{C8445,null,null,C8445,server1,}]
    [6/23/05 17:02:14:717 IST] 3d7a8958 ConfigRootImp > getAbsolutePath
                                     cells
                                     variables.xml
                                     com.ibm.ws.runtime.service.ConfigRootImpl@7ba095a[rootURI=file:/D:/Program Files/WebSphere/AppServer/config/,typeValues{C8445,null,null,C8445,server1,}]
    [6/23/05 17:02:14:717 IST] 3d7a8958 ConfigRootImp > getRelativePath
                                     cells
                                     variables.xml
                                     com.ibm.ws.runtime.service.ConfigRootImpl@7ba095a[rootURI=file:/D:/Program Files/WebSphere/AppServer/config/,typeValues{C8445,null,null,C8445,server1,}]
    [6/23/05 17:02:14:717 IST] 3d7a8958 ConfigRootImp < getValue
                                     cells
                                     com.ibm.ws.runtime.service.ConfigRootImpl@7ba095a[rootURI=file:/D:/Program Files/WebSphere/AppServer/config/,typeValues{C8445,null,null,C8445,server1,}]
                                     C8445
    [6/23/05 17:02:14:733 IST] 3d7a8958 ConfigRootImp < getRelativePath
                                     cells/C8445/variables.xml
    [6/23/05 17:02:14:733 IST] 3d7a8958 ConfigRootImp < getAbsolutePath
                                     D:\Program Files\WebSphere\AppServer\config\cells/C8445/variables.xml
    [6/23/05 17:02:14:733 IST] 3d7a8958 ConfigRootImp < getAbsoluteURI
                                     file:/D:/Program Files/WebSphere/AppServer/config/cells/C8445/variables.xml
    [6/23/05 17:02:14:905 IST] 3d7a8958 ConfigRootImp > getAbsolutePath
                                     cells
                                     variables.xml
                                     com.ibm.ws.runtime.service.ConfigRootImpl@7ba095a[rootURI=file:/D:/Program Files/WebSphere/AppServer/config/,typeValues{C8445,null,null,C8445,server1,}]
    [6/23/05 17:02:14:905 IST] 3d7a8958 ConfigRootImp > getRelativePath
                                     cells
                                     variables.xml
                                     com.ibm.ws.runtime.service.ConfigRootImpl@7ba095a[rootURI=file:/D:/Program Files/WebSphere/AppServer/config/,typeValues{C8445,null,null,C8445,server1,}]
    [6/23/05 17:02:14:905 IST] 3d7a8958 ConfigRootImp < getRelativePath
                                     cells/C8445/variables.xml
    [6/23/05 17:02:14:905 IST] 3d7a8958 ConfigRootImp < getAbsolutePath
                                   <span color="blue"> D:\Program Files\WebSphere\AppServer\config\cells/C8445/variables.xml</span>
    [6/23/05 17:02:14:920 IST] 3d7a8958 ResourceLocat d D:\Program Files\WebSphere\AppServer\config\cells/C8445/variables.xml was not loaded

                                     java.lang.IllegalStateException: can't declare any more prefixes in this context
    at org.xml.sax.helpers.NamespaceSupport$Context.declarePrefix(Unknown Source)
    at org.xml.sax.helpers.NamespaceSupport.declarePrefix(Unknown Source)
    at org.apache.crimson.parser.Parser2.processAttributeNS(Parser2.java:1532)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1410)
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:76)
    at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:135)
    at com.ibm.etools.xmi.helpers.CompatibilityXMIResourceImpl.basicDoLoad(CompatibilityXMIResourceImpl.java:159)
    at com.ibm.etools.xmi.helpers.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:152)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:881)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:755)
    at com.ibm.ws.runtime.service.ConfigRootImpl.getResource(ConfigRootImpl.java:260)
    at com.ibm.ws.runtime.config.ResourceLocatorImpl.getResource(ResourceLocatorImpl.java:38)
    at com.ibm.ws.runtime.component.VariableMapImpl.reload(VariableMapImpl.java:80)
    at com.ibm.ws.runtime.component.VariableMapImpl.initialize(VariableMapImpl.java:49)
    at com.ibm.ws.management.tools.WsServerLauncher.initializeRepositoryAndLauncher(WsServerLauncher.java:281)
    at com.ibm.ws.management.tools.WsServerLauncher.runTool(WsServerLauncher.java:176)
    at com.ibm.ws.management.tools.AdminTool.executeUtility(AdminTool.java:173)
    at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.java:93)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
    at java.lang.reflect.Method.invoke(Method.java:386)
    at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
    </span>
  2. We define all our varibles and resouces on the node level - We never could make our application servers work right with cell level assignments. So my initial suggestion would be to try that.
  3. Hi Einar thanx for your suggestion.

    But the problem is I don't know how to install a application at the node level after installing the application I am not able to stop the server then I made some changes in the xml files like moving the first attribute of the XML root element to the last like moving the version attribute as last attribute of the element then i am able to stop the server. But I am not able to start the server it is giving a new error saying that.
    "Server is lanched but unable to initialize" I am giving the error logs below.


    Thanx,
    Ashok.
    [6/27/05 12:26:58:229 IST] 3d79141d Win32ProcessI d Commandline called was: "D:\Program Files\WebSphere\AppServer\java/bin/java" "-Xbootclasspath/p:D:\Program Files\WebSphere\AppServer\java/jre/lib/ext/ibmorb.jar;D:\Program Files\WebSphere\AppServer\java/jre/lib/ext/ibmext.jar" -Dwas.status.socket=1651 -classpath "D:\Program Files\WebSphere\AppServer/properties;D:\Program Files\WebSphere\AppServer/properties;D:\Program Files\WebSphere\AppServer/lib/bootstrap.jar;D:\Program Files\WebSphere\AppServer/lib/j2ee.jar;D:\Program Files\WebSphere\AppServer/lib/lmproxy.jar;D:\Program Files\WebSphere\AppServer/lib/urlprotocols.jar" -Xms50m -Xmx256m "-Dws.ext.dirs=D:\Program Files\WebSphere\AppServer\java/lib;D:\Program Files\WebSphere\AppServer/classes;D:\Program Files\WebSphere\AppServer/classes;D:\Program Files\WebSphere\AppServer/lib;D:\Program Files\WebSphere\AppServer/lib/ext;D:\Program Files\WebSphere\AppServer/web/help;D:\Program Files\WebSphere\AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime" "-Dserver.root=D:\Program Files\WebSphere\AppServer" "-Ddb2j.system.home=D:\Program Files\WebSphere\AppServer/cloudscape" "-Duser.install.root=D:\Program Files\WebSphere\AppServer" "-Dcom.ibm.itp.location=D:\Program Files\WebSphere\AppServer/bin" "-Dwas.install.root=D:\Program Files\WebSphere\AppServer" "-Djava.security.auth.login.config=D:\Program Files\WebSphere\AppServer/properties/wsjaas.conf" "-Djava.security.policy=D:\Program Files\WebSphere\AppServer/properties/server.policy" com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer "D:\Program Files\WebSphere\AppServer\config" C8445 C8445 server1
    [6/27/05 12:26:58:229 IST] 3d79141d Win32ProcessI < getCmdLineInBytes() : Done with commandline conversion.
    [6/27/05 12:26:58:229 IST] 3d79141d Win32ProcessI > getWorkingDirectoryInBytes() : Getting byte array of working directory.
    [6/27/05 12:26:58:229 IST] 3d79141d Win32ProcessI d getWorkingDirectoryInBytes() : Directory is: D:\Program Files\WebSphere\AppServer
    [6/27/05 12:26:58:229 IST] 3d79141d Win32ProcessI < getWorkingDirectoryInBytes() : Got byte array of working directory.
    [6/27/05 12:26:58:322 IST] 3d79141d Win32ProcessI < create() : Done with process create.
    [6/27/05 12:26:58:322 IST] 3d79141d Win32ProcessI > id() : Obtaining process ID.
    [6/27/05 12:26:58:322 IST] 3d79141d Win32ProcessI > checkNativeHandle() : Checking validity of nativeHandle.
    [6/27/05 12:26:58:322 IST] 3d79141d Win32ProcessI > checkNativeHandle() : Done checking validity of nativeHandle. Appears valid.
    [6/27/05 12:26:58:322 IST] 3d79141d Win32ProcessI < id() : Obtained process ID: 2200
    [6/27/05 12:26:58:322 IST] 3d79141d AdminTool A ADMU3200I: Server launched. Waiting for initialization status.
    [6/27/05 12:26:58:322 IST] 1209941c Win32ProcessI > ping() : Checking to see if a process exists.
    [6/27/05 12:26:58:322 IST] 1209941c Win32ProcessI > checkNativeHandle() : Checking validity of nativeHandle.
    [6/27/05 12:26:58:322 IST] 1209941c Win32ProcessI > checkNativeHandle() : Done checking validity of nativeHandle. Appears valid.
    [6/27/05 12:26:58:322 IST] 1209941c Win32ProcessI < ping() : Done with existance check
    [6/27/05 12:26:58:322 IST] 1209941c Win32ProcessI > waitForTermination() : Requesting to wait for process termination
    [6/27/05 12:26:58:322 IST] 1209941c Win32ProcessI > checkNativeHandle() : Checking validity of nativeHandle.
    [6/27/05 12:26:58:322 IST] 1209941c Win32ProcessI > checkNativeHandle() : Done checking validity of nativeHandle. Appears valid.
    [6/27/05 12:27:03:494 IST] 3d79141d AdminTool A ADMU3011E: Server launched but failed initialization. Server log files should contain failure information.