Groups > Weblogic > WebLogic environment > Re: ethernet adapter binding in VMWare




Re: ethernet adapter binding in VMWare

Re: ethernet adapter binding in VMWare
Fri, 4 Jan 2008 06:45:55 -0800
Glenn, don't know if you've resolved this issue yet, but we recently came across
something very similar. Our development team uses VMWare Workstation 6 on
Windows 2000/XP hosts with a CentOS 4.5 guest. We also have the guest ethernet
configured as a bridge and in Linux, we're configured to obtain our IP via DHCP.
When running Weblogic (both 8.1 SP5 and 10), it was only listening on lo. We
figured out that if the hostname (found in /etc/sysconfig/network) has an entry
in the /etc/hosts file on the line for 127.0.0.1 Weblogic would only bind to lo.
When we added a new entry in the /etc/hosts file with the IP we obtained via
DHCP, Weblogic bound itself to both lo and eth0.

FYI, there's a little class in the weblogic.jar file which can help you resolve
your issue:

java -cp weblogic.jar utils.myip

Post Reply
about | contact