Thursday, April 11, 2013

Websphere Port Conflict


Unix Commands to find the process listening on port:
    lsof -i|grep port
    cat /etc/services|grep port

If  the process listening on the port is not  a useful one you can kill the process using the
command kill -9 processid

If the process is a needed one you have to change the port in serverindex.xml present in config/cells directory or in the adminconsole port details.Restart server after the changes.

Note:
Before you use any commands like manageprofiles,addNode etc...which use default ports if
not specified specifically,better to check the availability of port using the below  netstat command and pass the startingport argument to the websphere commands.
example:netstat -an|grep 1234[0-9] .This will tell the list  of 10 ports are free or not.

No comments:

Post a Comment

Your suggestions please