2 Replies Latest reply on Jan 23, 2005 6:02 AM by Chris Malan

    DHCP woes

    Chris Malan Novice

      Since getting the broadband JBoss does not start without problems anymore. I used to connect to the old computer via an ethernet card and use the dial-up modem of the old computer. An ISA modem which worked many years without problem. Now the same ethernet card is connected to the ASDL modem. My provider supports Dynamic Host Configuration Protocol.

      That means I get assigned a new IP address every time I boot up. My initial line in a term window looks like this: [chris@d220-236-86-83 chris]$

      /etc/hosts looks like this: 127.0.0.1 localhost
      That is all.

      The same exeption gets thrown in many places:

      11:59:18,831 ERROR [HttpInvokerHA] Starting failed
      java.net.UnknownHostException: d220-236-86-83.dsl.nsw.optusnet.com.au: d220-236-86-83.dsl.nsw.optusnet.com.au
      at java.net.InetAddress.getLocalHost(InetAddress.java:1191)

      The above is JBoss/Jetty 3.2.0

      In JBoss/Tomcat 4.0.0 the exception is:

      12:35:23,188 ERROR [CorbaORBService] Starting failed jboss:service=CorbaORB
      org.omg.CORBA.INITIALIZE: Could not resolve configured listener host vmcid: 0x0 minor code: 0 completed: No
      at org.jacorb.orb.iiop.IIOPListener.getHost(IIOPListener.java:436)

      With the summary at the end:

      MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
      ObjectName: jboss:service=CorbaORB
      state: FAILED
      I Depend On:
      Depends On Me: jboss:service=invoker,type=iiop
      jboss:service=CorbaNaming
      jboss:service=CorbaTransaction
      org.omg.CORBA.INITIALIZE: Could not resolve configured listener host vmcid: 0x0 minor code: 0 completed: No

      The UnknownHostException also gets thrown in JBoss4 if I start JBoss as -c all

      Should I add another line to /etc/hosts? If so, what form should it take?

      Thanks,