1 Reply Latest reply on Mar 1, 2009 12:56 AM by Ron Sigal

    Jboss4.2.3 server not starting up with jboss on hpux in ipv6

    soumya411 murthy Newbie

      Hi,
      Hi ,

      I have jboss4.2.3 installed on hpux machine. I was trying to to ipv6 testing on this combination.
      But the server doesnt start .It throws the following exception:

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(S
      erverImpl.java:1058)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.j
      ava:1033)
      at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:9
      96)
      08:36:14,346 INFO [TransactionManagerService] Stopping recovery manager
      08:36:14,407 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM
      # ./run.sh -c server123
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /home/jboss-4.2.3.GA

      JAVA: java

      JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.clien
      t.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

      CLASSPATH: /home/jboss-4.2.3.GA/bin/run.jar:/ipv6_dump/ISRA_external_jars/list
      ener.jar

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

      08:37:15,160 INFO [Server] Starting JBoss (MX MicroKernel)...
      08:37:15,161 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=
      JBoss_4_2_3_GA date=200807181417)
      08:37:15,163 INFO [Server] Home Dir: /home/jboss-4.2.3.GA
      08:37:15,164 INFO [Server] Home URL: file:/home/jboss-4.2.3.GA/
      08:37:15,165 INFO [Server] Patch URL: null
      08:37:15,165 INFO [Server] Server Name: server123
      08:37:15,166 INFO [Server] Server Home Dir: /home/jboss-4.2.3.GA/server/server1
      23
      08:37:15,166 INFO [Server] Server Home URL: file:/home/jboss-4.2.3.GA/server/se
      rver123/
      08:37:15,166 INFO [Server] Server Log Dir: /home/jboss-4.2.3.GA/server/server12
      3/log
      08:37:15,167 INFO [Server] Server Temp Dir: /home/jboss-4.2.3.GA/server/server1
      23/tmp
      08:37:15,167 INFO [Server] Root Deployment Filename: jboss-service.xml
      08:37:15,913 INFO [ServerInfo] Java version: 1.5.0.07,Hewlett-Packard Co.
      08:37:15,913 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0.07 jin
      teg:03.20.07-04:39 PA2.0 (aCC_AP),Hewlett-Packard Company
      08:37:15,913 INFO [ServerInfo] OS-System: HP-UX B.11.23,PA_RISC2.0
      08:37:16,778 INFO [Server] Core system initialized
      08:37:23,116 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationExcept
      ion: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry',
      Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.Ne
      tworkRegistry@1a6684f)]
      08:37:23,153 ERROR [MainDeployer] Could not create deployment: file:/home/jboss-
      4.2.3.GA/server/server123/conf/jboss-service.xml
      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect
      .InvocationTargetException)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
      :196)
      at org.jboss.system.ServiceController.install(ServiceController.java:226
      )
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:251)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:508)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.reflect.InvocationTargetException
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
      a:1451)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
      a:1350)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
      345)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
      tor.java:451)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
      :171)
      ... 36 more
      Caused by: javax.management.MBeanException
      at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptio
      ns(ReflectedDispatcher.java:180)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:163)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
      a:1417)
      ... 41 more
      Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [O
      bjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.net
      work.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@1a6684f)]
      at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
      icMBeanRegistry.java:713)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB
      eanRegistry.java:211)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
      ... 51 more
      Caused by: java.lang.RuntimeException: Exception creating identity: kalahari: ka
      lahari
      at org.jboss.remoting.ident.Identity.get(Identity.java:211)
      at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistr
      y.java:268)
      at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMB
      eanInvoker.java:966)
      at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBea
      nInvoker.java:489)
      at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInv
      oker.java:654)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
      icMBeanRegistry.java:697)
      ... 56 more
      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect
      .InvocationTargetException)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
      :196)
      at org.jboss.system.ServiceController.install(ServiceController.java:226
      )
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:251)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:508)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.reflect.InvocationTargetException
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
      a:1451)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
      a:1350)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
      345)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
      tor.java:451)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
      :171)
      ... 36 more
      Caused by: javax.management.MBeanException
      at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptio
      ns(ReflectedDispatcher.java:180)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:163)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
      java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.jav
      a:1417)
      ... 41 more
      Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [O
      bjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.net
      work.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@1a6684f)]
      at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
      icMBeanRegistry.java:713)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB
      eanRegistry.java:211)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:155)
      ... 51 more
      Caused by: java.lang.RuntimeException: Exception creating identity: kalahari: ka
      lahari
      at org.jboss.remoting.ident.Identity.get(Identity.java:211)
      at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistr
      y.java:268)
      at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMB
      eanInvoker.java:966)
      at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBea
      nInvoker.java:489)
      at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInv
      oker.java:654)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas
      icMBeanRegistry.java:697)
      ... 56 more
      08:37:23,240 INFO [Server] Runtime shutdown hook called, forceHalt: true
      08:37:23,241 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      08:37:23,249 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM


      So is there any workaround to be done for this issue?

      I am using jboss on hpux. So is there any workaround to be done for my
      server to start..

      i used the following command:

      ./run.sh -c server123 -b [::1]

      but still it throws the above exception..




      Please Clarify,

      Regards,
      Sowmya

        • 1. Re: Jboss4.2.3 server not starting up with jboss on hpux in
          Ron Sigal Master

          Hi Sowmya,

          The problem at

          at org.jboss.remoting.ident.Identity.get(Identity.java:211)

          occurs during a call to InetAddress.getLocalHost(). In the past I have seen cases where this somewhat mystifying problem is associated with problems in the /etc/hosts file. Could you look into that?

          By the way, I've created JBREM-1104 "Identity.get() should create a more meaningful RuntimeException message" to remind me to make the problem somewhat less mystifying.

          -Ron