1 Reply Latest reply on Nov 18, 2002 9:22 PM by prabhakar chaganti

    Exception starting JBoss

    Sean Blaes Newbie

      Following is the log for the error I'm getting. I just downloaded the bundle with jbossweb and extracted it. I modified run.sh to export the jboss and java paths. Whenever I try to start, I get the following exceptions...

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

      06:47:46,264 DEBUG [ServiceCreator] code: org.jboss.logging.Log4jService
      06:47:46,299 DEBUG [ServiceCreator] Created bean: jboss.system:type=Log4jService,service=Logging
      06:47:46,300 DEBUG [ServiceConfigurator] ConfigurationURL set to resource:log4j.xml in jboss.system:type=Log4jService,service=Logging
      06:47:46,300 DEBUG [ServiceCreator] About to create bean: jboss:service=Webserver
      06:47:46,300 DEBUG [ServiceCreator] code: org.jboss.web.WebService
      06:47:46,362 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
      06:47:46,365 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
      06:47:46,365 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
      06:47:46,369 ERROR [Server] start failed
      org.jboss.deployment.DeploymentException: org.jboss.web.WebService constructor has thrown an exception: java.lang.NullPointerException; - nested throwable: (RuntimeMBeanException: org.jboss.web.WebService constructor has thrown an exception: java.lang.NullPointerException
      Cause: java.lang.NullPointerException)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:155)
      at org.jboss.system.ServiceController.install(ServiceController.java:225)
      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:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:209)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:760)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:569)
      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:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
      at org.jboss.Main.boot(Main.java:148)
      at org.jboss.Main$1.run(Main.java:381)
      at java.lang.Thread.run(Thread.java:536)
      Caused by: RuntimeMBeanException: org.jboss.web.WebService constructor has thrown an exception: java.lang.NullPointerException
      Cause: java.lang.NullPointerException
      at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBeanServerImpl.java:854)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:816)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:266)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:293)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:86)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:167)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:130)
      ... 25 more
      06:47:46,393 INFO [Server] Undeploying all packages
      06:47:46,394 INFO [MainDeployer] Undeploying file:/usr/local/jboss-3.0.4/server/default/conf/jboss-service.xml
      06:47:46,394 DEBUG [SARDeployer] undeploying document file:/usr/local/jboss-3.0.4/server/default/conf/jboss-service.xml
      06:47:46,394 DEBUG [UnifiedLoaderRepository3] UnifiedLoaderRepository removed(true) org.jboss.mx.loading.UnifiedClassLoader3@95c083{ url=file:/usr/local/jboss-3.0.4/server/default/tmp/deploy/server/default/conf/jboss-service.xml/1.jboss-service.xml }
      06:47:46,395 INFO [MainDeployer] Cleaned Deployment file:/usr/local/jboss-3.0.4/server/default/conf/jboss-service.xml