Monday, January 26, 2009

How to change websphere app. server name from server1 to something usefull

If you are running WSAS as a standalone server (no deployment manager or cluster) you probably created a profile with a default server called server1. This is ok unless you have 2 profiles with 2 servers both called server1! Due to a bug in WSAS this will prevent EJB communication between them in some cases so you need to rename one of them!

This is not a simple task without deployment manager. You have to do it via scripts. IBM provides this scripts for free but they are not easy to find :-)

URL is:

and you are looking for

To rename it:
/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/ -profileName AppSrv01 -buildfile exportImport.xml -logfile rename.log -DoldServerName=server1 -DnewServerName=server2 -DnodeName=yourNode01 changeServerName

I would expect this to be a much easier process but IBM obviously doesn't share my ideas...