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 FilesIBMWebSphereAppServerbin
- Run the following command:
wasservice -add ctgNode01_nodeagent -servername nodeagent -profilePath "C:Program FilesIBMWebSphereAppServerprofilesctgAppSrv01" -wasHome "C:Program FilesIBMWebSphereAppServer" -logFile "C:Program FilesIBMWebSphereAppServerprofilesctgAppSrv01logsnodeagentstartNode.log" -logRoot "C:Program FilesIBMWebSphereAppServerctgAppSrv01logsnodeagent" -restart true -startType automatic - Use a registry editor, such as Regedit, and open this key:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesIBMWAS61Service - 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.







