Solved

Localhost maps to multiple IP addresses in weblogic 10.3

Posted on 2009-04-06
6
15,642 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 500 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
Technology Partners: 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!

 
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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Refresh JTable Content 6 221
difference between member and local variables. 29 147
Wesphere App server multiple instances on single Windows server 5 87
java JDK Download 7 120
-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

734 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