0 Replies Latest reply on Feb 2, 2007 9:35 AM by fghfg fghff

    Can not start JBOss 4.0.4 (running on Linux)

    fghfg fghff Newbie

      I'm getting the errors below when I start JBoss on Linux. I'm logged on as root and jboss-service.xml which its complaining about is owned by root..I'd appreciate any help from you..

      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: Could not initialise deployment: file:/usr/local/jboss-4.0.4.GA/server/default/conf/jboss-service.xml; - nested throwable: (java.lang.NullPointerException)
      at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException (DeploymentException.java:53)
      at org.jboss.deployment.MainDeployer.deploy (MainDeployer.java:805)
      at org.jboss.deployment.MainDeployer.deploy (MainDeployer.java:773)
      at org.jboss.deployment.MainDeployer.deploy (MainDeployer.java:756)
      at java.lang.reflect.Method.invoke (libgcj.so.7)
      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.deploy (Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart (ServerImpl.java:487)
      at org.jboss.system.server.ServerImpl.start (ServerImpl.java:367)
      at org.jboss.Main.boot (Main.java:201)
      at org.jboss.Main$1.run (Main.java:470)
      at java.lang.Thread.run (libgcj.so.7)
      Caused by: java.lang.NullPointerException
      at java.lang.String.startsWith (libgcj.so.7)
      at org.jboss.deployment.MainDeployer.inLocalCopyDir (MainDeployer.java:1185)
      at org.jboss.deployment.MainDeployer.init (MainDeployer.java:915)
      at org.jboss.deployment.MainDeployer.deploy (MainDeployer.java:798)
      ...15 more
      09:27:47,441 INFO [ServerInfo] Java version: 1.4.2,Free Software Foundation, Inc.
      09:27:47,441 INFO [ServerInfo] Java VM: GNU libgcj 4.1.0 20060304 (Red Hat 4.1.0-3),Free Software Foundation, Inc.
      09:27:47,441 INFO [ServerInfo] OS-System: Linux 2.6.15-1.2054_FC5,i386
      09:27:48,022 WARN [ServiceController] Problem creating service jboss.system:service=MainDeployer
      java.lang.NoClassDefFoundError: $Proxy1
      at java.lang.Class.initializeClass (libgcj.so.7)
      at java.lang.reflect.Field.set (libgcj.so.7)
      at java.lang.reflect.Field.set (libgcj.so.7)
      at java.lang.reflect.Field.set (libgcj.so.7)
      at java.lang.reflect.Proxy$ClassFactory.generate (libgcj.so.7)
      at java.lang.reflect.Proxy.getProxyClass (libgcj.so.7)
      at java.lang.reflect.Proxy.newProxyInstance (libgcj.so.7)
      at org.jboss.mx.util.MBeanProxyExt.create (MBeanProxyExt.java:395)
      at org.jboss.mx.util.MBeanProxyExt.create (MBeanProxyExt.java:349)
      at org.jboss.mx.util.MBeanProxyExt.create (MBeanProxyExt.java:335)
      at org.jboss.system.server.ServerConfigLocator.locate (ServerConfigLocator.java:42)
      at org.jboss.deployment.MainDeployer.createService (MainDeployer.java:471)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate (ServiceMBeanSupport.java:261)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle (ServiceMBeanSupport.java:243)
      at java.lang.reflect.Method.invoke (libgcj.so.7)
      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.create (Unknown Source)
      at org.jboss.system.ServiceController.create (ServiceController.java:331)
      at org.jboss.system.ServiceController.create (ServiceController.java:274)
      at java.lang.reflect.Method.invoke (libgcj.so.7)
      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.server.ServerImpl.startBootService (ServerImpl.java:564)
      at org.jboss.system.server.ServerImpl.doStart (ServerImpl.java:446)
      at org.jboss.system.server.ServerImpl.start (ServerImpl.java:367)
      at org.jboss.Main.boot (Main.java:201)
      at org.jboss.Main$1.run (Main.java:470)
      at java.lang.Thread.run (libgcj.so.7)
      Caused by: java.lang.ClassNotFoundException: javax.management.MBeanServer
      at java.lang.ClassLoader.findClass (libgcj.so.7)
      at java.lang.ClassLoader.loadClass (libgcj.so.7)
      at java.lang.ClassLoader.loadClass (libgcj.so.7)
      at org.jboss.mx.util.MBeanProxyExt$2.loadClass (MBeanProxyExt.java:375)
      at java.lang.Class.initializeClass (libgcj.so.7)
      ...35 more