If you are tired of starting your WebSphere application by finding and running the ‘startNode.bat’ file, you can configure it so that it runs as a Windows service that starts automatically when a server is rebooted. To configure the WebSphere nodeagent to run as a Windows service, complete the following:
- Change to the bin directory where WebSphere is installed, for example:
C:\Program Files\IBM\WebSphere\AppServer\bin
- Run the following command:
wasservice -add ctgNode01_nodeagent -servername nodeagent -profilePath "C:\Program Files\IBM\WebSphere\AppServer\profiles\ctgAppSrv01" -wasHome "C:\Program Files\IBM\WebSphere\AppServer" -logFile "C:\Program Files\IBM\WebSphere\AppServer\profiles\ctgAppSrv01\logs\nodeagent\startNode.log" -logRoot "C:\Program Files\IBM\WebSphere\AppServer\ctgAppSrv01\logs\nodeagent" -restart true -startType automatic
- Use a registry editor, such as Regedit, and open this key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IBMWAS61Service - ctgNode01_nodeagent
- Create a Multi-String Value named DependOnService.
- Enter the value “IBMWAS61Service – ctgCellManager01t” for this new key. This will make the node agent service dependent on the WAS Cell Manager service starting first.
Hi all,
While starting server in maximo i got error like this :
Server cannot be started because the node agent for server MXServer on node ctgNode01 is not active
A: Whenever i run stopNode.bat and again startNode.bat
Server is working fine. Main problem i restart the system.
I need to do step A again.
Is there any solution apart from this
Thank You in Advance