Saturday, December 3, 2016

weblogic.nodemanager.server.NMServer main SEVERE: Fatal error in node manager server java.net.BindException: Address already in use

Error :
Feb 5, 2014 2:45:02 AM weblogic.nodemanager.server.NMServer main SEVERE: Fatal error in node manager server java.net.BindException: Address already in use a
Reason :
The error message : java.net.BindException: Address already in use at
Shows that the Port number used by the Node Manager process is being already  used by some other process .
Solution :
1 : First thing we need to check is whether Node Manager is already running on the machine :
For unix :
ps -ef | grep nodemanager
For windows :
netstat -a0 | findstr <Node_manager port>
tasklist | findstr nodemanager
2 : If you have not observe the running process then , check which process is using the using the port assigned to node manager using lsof command or other .
By default Weblogic Node Manager runs on port : 5556 if not just check nodemanager.properties
So, to check which process is using this port use the below command .
For unix :
netstat -an | grep 5556
For Windows :
netstat -ao | findstr 5556
3 : If this port is already used by some other process try to change the Node Manager Port number from file
Middleware_Home/wlserver_10.3/common/nodemanager/nodemanager.properties file :
ListenPort = XXXX

other wise before changing , verify the process & observe the wl server home... if it is same(which you are trying)... try to kill the process & start once again with below commands
4 : Now try to start the Node manager from :
Middleware_Home/wlserver_10.3/server/bin/startNodemanager.sh or

Middleware_Home/wlserver_10.3/server/bin/startNodemanager.cmd

No comments:

Post a Comment