1 Reply Latest reply on Oct 31, 2008 2:17 AM by vasu kola

    Jboss 4.2.2: Starting failed jboss:service=Naming

    Klein Nguyen Newbie

      I'm trying to upgrade from jboss 4.0.5 to jboss 4.2.2, and have the below exceptions, not sure how to resolve.

      I'm using jdk 1.5.0_09 on jboss 4.2.2.GA. Anyone saw similar issues or any suggestions would be highly appreciated. Thanks, --Klein

      =============
      2007-11-11 14:14:58,593 DEBUG [org.jboss.system.ServiceController] starting service jboss:service=WebService
      2007-11-11 14:14:58,593 DEBUG [org.jboss.web.WebService] Starting jboss:service=WebService
      2007-11-11 14:14:58,608 DEBUG [org.jboss.web.WebServer] Started server: ServerSocket[addr=/127.0.0.1,port=0,localport=8083]
      2007-11-11 14:14:58,608 DEBUG [org.jboss.web.WebService] Started WebServer with address: /127.0.0.1:8083
      2007-11-11 14:14:58,608 DEBUG [org.jboss.web.WebService] Started jboss:service=WebService
      2007-11-11 14:14:58,608 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss:service=WebService dependent components: []
      2007-11-11 14:14:58,608 DEBUG [org.jboss.system.ServiceController] starting service jboss:service=Naming
      2007-11-11 14:14:58,608 DEBUG [org.jboss.naming.NamingService] Starting jboss:service=Naming
      2007-11-11 14:14:58,624 DEBUG [org.jboss.naming.NamingService] System.setProperty, key=java.naming.factory.initial, value=org.jnp.interfaces.NamingContextFactory
      2007-11-11 14:14:58,624 DEBUG [org.jboss.naming.NamingService] System.setProperty, key=java.naming.factory.url.pkgs, value=org.jboss.naming:org.jnp.interfaces
      2007-11-11 14:14:58,624 DEBUG [org.jboss.naming.Naming] Creating NamingServer stub, theServer=null,rmiPort=1098,clientSocketFactory=null,serverSocketFactory=org.jboss.net.sockets.DefaultSocketFactory@e048aaa4[bindAddress=/127.0.0.1]
      2007-11-11 14:14:58,624 DEBUG [org.jboss.naming.NamingService] Starting failed jboss:service=Naming
      java.lang.NullPointerException
      at org.jnp.server.Main.getNamingInstance(Main.java:301)
      at org.jnp.server.Main.initJnpInvoker(Main.java:354)
      at org.jnp.server.Main.start(Main.java:316)
      at org.jboss.naming.NamingService.startService(NamingService.java:284)
      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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      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(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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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)
      2007-11-11 14:14:58,624 WARN [org.jboss.system.ServiceController] Problem starting service jboss:service=Naming
      java.lang.NullPointerException
      at org.jnp.server.Main.getNamingInstance(Main.java:301)
      at org.jnp.server.Main.initJnpInvoker(Main.java:354)
      at org.jnp.server.Main.start(Main.java:316)
      at org.jboss.naming.NamingService.startService(NamingService.java:284)