2 Replies Latest reply on Apr 4, 2007 10:52 AM by Paul Pantazis

    Problems with JBoss deployment

    Paul Pantazis Newbie

      Hi all, new to JBoss which we are currently considering as a solution. I have an installation of JBoss 4.0.5GA with JDK1.5.0 update 11 installed. During server startup I am getting a collection of errors which In would like to receive some help with if at all possible. Bellow a segment of these errors. Since these log messages can be rather long, I am not quite sure if I should attach the entire thing here. I would rather start with what I consider a few key segments and go from there:

      run.sh: Missing file: /lib/tools.jar
      run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /opt/jboss-4.0.5.GA

      JAVA: java

      JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcIn
      terval=3600000

      CLASSPATH: /opt/jboss-4.0.5.GA/bin/run.jar:/lib/tools.jar

      =========================================================================

      22:32:27,354 WARN [ServiceController] Problem starting service jboss:service=invoker,type=http
      java.net.UnknownHostException: linux: linux
      at java.net.InetAddress.getLocalHost(InetAddress.java:1308)
      at org.jboss.invocation.http.server.HttpInvoker.checkInvokerURL(HttpInvoker.java:204)
      at org.jboss.invocation.http.server.HttpInvoker.startService(HttpInvoker.java:101)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)

      -------------------------------------------------------

      22:32:27,369 WARN [ServiceController] Problem starting service jboss:service=invoker,type=http,target=Naming
      java.net.UnknownHostException: linux: linux
      at java.net.InetAddress.getLocalHost(InetAddress.java:1308)
      at org.jboss.invocation.http.server.HttpProxyFactory.checkInvokerURL(HttpProxyFactory.java:274)
      at org.jboss.invocation.http.server.HttpProxyFactory.createInvoker(HttpProxyFactory.java:256)
      at org.jboss.invocation.http.server.HttpProxyFactory.startService(HttpProxyFactory.java:195)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)

      --------------------------------------------
      22:32:33,606 ERROR [ServiceEndpointManager] Cannot map host: 0.0.0.0
      java.net.UnknownHostException: linux: linux
      at java.net.InetAddress.getLocalHost(InetAddress.java:1308)
      at org.jboss.ws.server.ServiceEndpointManager.setWebServiceHost(ServiceEndpointManager.java:128)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      ------------------------------------------------------------------------
      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss:service=invoker,type=http
      State: FAILED
      Reason: java.net.UnknownHostException: linux: linux

      ObjectName: jboss:service=invoker,type=http,target=Naming
      State: FAILED
      Reason: java.net.UnknownHostException: linux: linux

      ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
      State: FAILED
      Reason: java.net.UnknownHostException: linux: linux
      I Depend On:
      jboss.mq:service=Invoker
      jboss.web:service=WebServer

      ObjectName: jboss:service=invoker,type=http,target=Naming,readonly=true
      State: FAILED
      Reason: java.net.UnknownHostException: linux: linux

      ------------------------------------------------------------------

      In the end:

      22:42:36,651 INFO [Server] Shutdown complete
      Shutdown complete


      help is appreciated.

      Paul