Speeding up integrated WebLogic Server Startup – avoiding multiple network bindings

Introduction

Out-of-the-box JDeveloper’s integrated WebLogic server binds to all available network addresses, as you can see below.
This blog post will help you configure a more optimized server start up.

<Feb 2, 2012 1:07:41 PM PST> <Notice> <Server> <BEA-002613> <Channel “Default[5]” is now listening on 0:0:0:0:0:0:0:1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Feb 2, 2012 1:07:41 PM PST> <Warning> <Server> <BEA-002611> <Hostname “someuser.somesite.com”, maps to multiple IP addresses: xxx.168.239.1, xxx.168.41.1, xxx.168.56.1, xx.43.1.12, 0:0:0:0:0:0:0:1>
<Feb 2, 2012 1:07:41 PM PST> <Notice> <Server> <BEA-002613> <Channel “Default[4]” is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Feb 2, 2012 1:07:41 PM PST> <Notice> <Server> <BEA-002613> <Channel “Default[1]” is now listening on 192.168.41.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Feb 2, 2012 1:07:41 PM PST> <Notice> <Server> <BEA-002613> <Channel “Default” is now listening on 192.168.56.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Feb 2, 2012 1:07:41 PM PST> <Notice> <Server> <BEA-002613> <Channel “Default[3]” is now listening on 10.43.1.12:7101 for protocols iiop, t3, ldap, snmp, http.>
<Feb 2, 2012 1:07:41 PM PST> <Notice> <Server> <BEA-002613> <Channel “Default[2]” is now listening on 192.168.239.1:7101 for protocols iiop, t3, ldap, snmp, http.>

  This is an Windows OS specific issue since it doesn’t happen on Linux.

Main Article

All of these open bindings will end up consuming a number of seconds during the WebLogic server’s startup time. The following steps will disable the multiple bindings:

  1. Start WLS – On JDeveloper, go to Run > Start Server Instance
  2. Go to the admin console at http://localhost:7101/console and login as weblogic/weblogic1
  3.  On the left side navigation bar, select Environment > Servers
  4. Select Default Server from the table
  5. On the Listen Address field, enter: 127.0.0.1
  6. Restart WLS.

Here is an example of the startup times taken some before and after:

Before: IntegratedWebLogicServer startup time: 69557 ms.

After: IntegratedWebLogicServer startup time: 44589 ms.

That’s a 25 second difference.

 

Add Your Comment