Monday, November 05, 2012

Unable to bring up weblogic admin Server after Change IP of Server:


After changing the IP address in the Server (for example xx.xx.xx.xx  to yy.yy.yy.yy).  This Case sometimes  may cause the weblogic admin server is unable to start issue.
The error stack trace looks like below from domain log file

<Info> <WebLogicServer> <BEA-000307> <Exportable key maximum lifespan set to 500 uses.>                                                                                                                                                                  
<Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default". The address xxx.xxx.xxx.xxx might be incorrect or another process is using port 5100: java.net.BindException: Can't assign requested address.>
<Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "DefaultSecure". The address xxx.xxx.xxx.xxx might be incorrect or another process is using port 5101: java.net.BindException: Can't assign requested address.>
<Emergency> <Security> <BEA-090087> <Server failed to bind to the configured Admin port. The port may already be used by another process.>                                                                                                               
<Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: Server failed to bind to any usable port. See preceeding log message for details.>
<Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
<Info> <Diagnostics> <BEA-320002> <The Diagnostics subsystem is stopping on Server GRSAdminSG.>
<Info> <WseeCore> <BEA-220504> <The Wsee Service is halting>
<Info> <SAFService> <BEA-281004> <SAF Service has been suspended.>
<Info> <SAFService> <BEA-281005> <SAF Service has been shut down.>                                                                                                                                                                                                                                                                                                                                                                   

For debugging this issue,  Check below two things in your system

1. If you are using  the IP address, instead of the host name, as the listen address of the WebLogic Server Administration Server.  Make sure you change it in config.xml under $WH_HOME/user_projects/domains/domain_name/config directory.

2. Second this is ensure that the /etc/hosts or C:\Windows\system32\drivers\etc\hosts file is modified with new IP.


Regards
Babu