Wednesday, 22 January 2014

How to change Node Manager port in Oracle WebLogic Server

Some times when you try to start a managed server with node manager it may fail with the below error ín the 'nodemanager' log file saying that 'port 5,556: java.net.BindException: Address already in use: JVM_Bind>'' which means the specific port '5556' is already binded and is in use by some other process. 
<23 Jan, 2014 6:25:56 AM IST> <SEVERE> <The server is unable to create a server socket for listening. The address localhost might be incorrect or another process is using port 5,556: java.net.BindException: Address already in use: JVM_Bind>
Now you need to change the node manager port to some other port number to avoid theport conflict error. Please follow the below steps:

1) Go to nodemanager.properties file located in yourdomainname\nodemanager

Generic Path: C:\Oracle\Middleware\Oracle_Home\user_projects\domains\NodeDomain\nodemanager

Open the nodemanager.properties file and change the 'Listen Port' value to some other port which is not used.

2) Then login into the Weblogic Admin Console on the left pane yourDomainName --> Environment --> Machines

Click on the Machine name which is configured for the relative managed server. 

Click on 'Node Manager' and the on 'Lock and Edit' on the left pane

Change the 'Listen port' then Save and click on 'Release Configuration'

 Now no more re-starts are necessary. You can even monitor the node manager status from console by clicking on 'Monitoring' here.

No comments:

Post a Comment