?
Solved

Localhost maps to multiple IP addresses in weblogic 10.3

Posted on 2009-04-06
6
Medium Priority
?
16,261 Views
Last Modified: 2013-12-10
Hi All,

         i am a newbie in weblogic.i have installed weblogic 10.3 in my Rhel 5 box.But when i start the script startweblogic.sh i am getting a error which i mentioned below.

ly.>
<Apr 7, 2009 5:07:14 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Apr 7, 2009 5:07:14 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Apr 7, 2009 5:07:14 PM IST> <Warning> <Server> <BEA-002611> <Hostname "admin-cgi1.main.cobaltgroup.com", maps to multiple IP addresses: 192.168.142.149, 127.0.0.1>
<Apr 7, 2009 5:07:14 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.142.149:7001 for protocols iiop, t3, ldap, snmp, http.>
<Apr 7, 2009 5:07:14 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<Apr 7, 2009 5:07:14 PM IST> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "AdminServer" for domain "cblt" running in Production Mode>
<Apr 7, 2009 5:07:14 PM IST> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 192.168.142.149, 127.0.0.1>
<Apr 7, 2009 5:07:14 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Apr 7, 2009 5:07:14 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

i did a netstat -an | grep 7001
[root@admin-cgi1 uninstall]# netstat -an | grep 7001
tcp        0      0 ::ffff:127.0.0.1:7001       :::*                        LISTEN
tcp        0      0 ::ffff:192.168.142.149:7001 :::*                        LISTEN
[root@admin-cgi1 uninstall]#

i tried going to the console through both the ip and localhost from the admin-cgi1 machine and its working fine. But from the remote machine i am not able to connect to the weblogic console..i tried googling it and found a solution to edit the config.xml. As i dont know know to edit config.xml i am not able to completed this task. Can someone please help me to solve this issue.
0
Comment
Question by:In_Ness_EE02
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 10

Accepted Solution

by:
rajesh_bala earned 1500 total points
ID: 24087434
Hope you are able to locate config.xml in your domain atleast.

Otherwise, search for config.xml in the directory from where you are starting startWeblogic.sh

Now, in config.xml, do the following

<server>
    <name>AdminServer</name>
    <listen-address>ENTER_YOUR_HOSTNAME</listen-address>
  </server>

Replace ENTER_YOUR_HOSTNAME with your machine name. I hope your server name is AdminServer. If you see something else dont change it.

CRUX is to just set listen-address value and restart your server. Now you can access from anywhere provided your machine name is resolvable from other systems.
0
 

Author Comment

by:In_Ness_EE02
ID: 24088183
i can find config.xml in 3 locations
/opt/wls10.3/cblt/cblt/cblt/config/config.xml
/opt/wls10.3/cblt/cblt/config/config.xml
/opt/wls10.3/samples/domains/medrec/config/config.xml

and i tired editing the first 2 file i am still getting the error
<server>
    <name>AdminServer</name>
   <listen-address>admin-cgi1</listen-address>
    <listen-address/>
  </server>
host name is admin-cgi.
0
 

Author Comment

by:In_Ness_EE02
ID: 24088231
sorry admin-cgi1
0
Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

 
LVL 10

Expert Comment

by:rajesh_bala
ID: 24090609
You dont need to add listen-address 2 times. It should be like follwing

 <server>
    <name>AdminServer</name>
   <listen-address>admin-cgi1</listen-address>
  </server>

In /etc/hosts ensure, admin-cgi1 is properly mapped to your ip. Check in other boxes if it has got the admin-cgi1 is properly configured in its hosts file.

you can check by running "ping admin-cgi1" from other boxes. If it works, you should be fine.
0
 
LVL 10

Expert Comment

by:rajesh_bala
ID: 24090622
If possible, check if you can remove admin-cgi1 mapping to 127.0.0.1 in your /etc/hosts file.
0
 

Author Comment

by:In_Ness_EE02
ID: 24591823
Thanks its working fine now...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month13 days, 16 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question