aspose file tools*
The moose likes BEA/Weblogic and the fly likes Is it possible to listen on one network interface when WebLogic starts then add more after startup? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Is it possible to listen on one network interface when WebLogic starts then add more after startup?" Watch "Is it possible to listen on one network interface when WebLogic starts then add more after startup?" New topic
Author

Is it possible to listen on one network interface when WebLogic starts then add more after startup?

William Spencer
Greenhorn

Joined: Oct 05, 2013
Posts: 2
I'm not having much luck with hits on this topic - maybe I'm using the wrong search terms.

Assume WebLogic is serving to addresses:
127.0.0.1:7001 (local machine)
10.2.2.2:7001 (external interface).

Here is what I'm trying to do:
1) Take WebLogic offline
2) Serve 10.2.2.2:7001 from a different application (might say something like 'server is down for maintenance')
3) Do maintenance (may require bringing up the server only on port 127.0.0.1:7001 and interacting with it)
4) Switch interface 10.2.2.2:7001 back to running on WebLogic without restarting

The part I'm missing is how to enable another interface in WebLogic pragmatically after the domain has started (Step 4, if it is even possible).
Is there a way to do this or is there a better approach?

I could bring WebLogic offline again and restart it on both interfaces, but some of our slower VMs take 10+ minutes to restart. During that time, browsers would see 'could not connect' errors.

Thanks.
Peter Rooke
Ranch Hand

Joined: Oct 21, 2004
Posts: 805

What's your domain configuration? It's normal to have the admin server listening on one IP address, and then one or more management server that listen on different IP addresses. Typically the admin server tends to be configured on the management LAN and the managed servers on the production LAN network.
Having more than one management server allows you load balance between them, and also failover. I suspect that is what you require - to be able to shutdown one of the servers and have the system failover onto the the running managed server?


Regards Pete
Sid varma
Ranch Hand

Joined: Apr 06, 2009
Posts: 37
William

Were you able to solve your issue ? Kindly post your experience here.


Siddhartha Varma
SCJP 1.6 - 93 %, SCWCD - 85%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it possible to listen on one network interface when WebLogic starts then add more after startup?