1 Reply Latest reply on Jun 2, 2007 12:49 PM by jaikiran pai

    startup issues

    vikram murthy Newbie

      Hi,
      I recently downloaded jboss-4.0.4.GA and unzipped the contents to my directory , but upon running the run.sh i get the following errors ..pls help..im in a real fix

      [root@localhost bin]# sh run.sh
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /var/swapurstuff/jboss-4.0.4.GA

      JAVA: /usr/lib/jvm/java-1.4.2-gcj//bin/java

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

      CLASSPATH: /var/swapurstuff/jboss-4.0.4.GA/bin/run.jar:/usr/lib/jvm/java-1.4.2 -gcj//lib/tools.jar

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

      10:47:24,479 INFO [Server] Starting JBoss (MX MicroKernel)...
      10:47:24,480 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBo ss_4_0_4_GA date=200605151000)
      10:47:24,482 INFO [Server] Home Dir: /var/swapurstuff/jboss-4.0.4.GA
      10:47:24,483 INFO [Server] Home URL: file:/var/swapurstuff/jboss-4.0.4.GA/
      10:47:24,483 INFO [Server] Patch URL: null
      10:47:24,483 INFO [Server] Server Name: default
      10:47:24,484 INFO [Server] Server Home Dir: /var/swapurstuff/jboss-4.0.4.GA/ser ver/default
      10:47:24,484 INFO [Server] Server Home URL: file:/var/swapurstuff/jboss-4.0.4.G A/server/default/
      10:47:24,484 INFO [Server] Server Log Dir: /var/swapurstuff/jboss-4.0.4.GA/serv er/default/log
      10:47:24,485 INFO [Server] Server Temp Dir: /var/swapurstuff/jboss-4.0.4.GA/ser ver/default/tmp
      10:47:24,485 INFO [Server] Root Deployment Filename: jboss-service.xml
      10:47:27,087 INFO [ServerInfo] Java version: 1.4.2,Free Software Foundation, In c.
      10:47:27,088 INFO [ServerInfo] Java VM: GNU libgcj 4.1.0 20060304 (Red Hat 4.1. 0-3),Free Software Foundation, Inc.
      10:47:27,088 INFO [ServerInfo] OS-System: Linux 2.6.15-1.2054_FC5,i386
      10:47:27,658 WARN [ServiceController] Problem creating service jboss.system:ser vice=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.ja va:42)
      at org.jboss.deployment.MainDeployer.createService (MainDeployer.java:471)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate (ServiceMBeanSupp ort.java:261)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle (ServiceMBeanS upport.java:243)
      at java.lang.reflect.Method.invoke (libgcj.so.7)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke (ReflectedDispatcher.j ava: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.j ava: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

      10:47:28,741 WARN [ServiceController] Problem creating service jboss.system:ser vice=JARDeployer
      java.lang.NoClassDefFoundError: $Proxy2
      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.ja va:42)
      at org.jboss.deployment.SubDeployerSupport.createService (SubDeployerSupport. java:106)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate (ServiceMBeanSupp ort.java:261)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle (ServiceMBeanS upport.java:243)
      at java.lang.reflect.Method.invoke (libgcj.so.7)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke (ReflectedDispatcher.j ava: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.j ava: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:466)
      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

      10:47:28,025 WARN [ServiceController] Problem creating service jboss.system:ser vice=ServiceDeployer
      java.lang.NoClassDefFoundError: $Proxy3
      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.ja va:42)
      at org.jboss.deployment.SubDeployerSupport.createService (SubDeployerSupport. java:106)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate (ServiceMBeanSupp ort.java:261)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle (ServiceMBeanS upport.java:243)
      at java.lang.reflect.Method.invoke (libgcj.so.7)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke (ReflectedDispatcher.j ava: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.j ava: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:470)
      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

      10:47:28,137 INFO [Server] Core system initialized
      10:47:28,198 ERROR [MainDeployer] Could not make local copy for file:/var/swapur stuff/jboss-4.0.4.GA/server/default/conf/jboss-service.xml
      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.makeLocalCopy (MainDeployer.java:1159)
      at org.jboss.deployment.MainDeployer.init (MainDeployer.java:841)
      at org.jboss.deployment.MainDeployer.deploy (MainDeployer.java:798)
      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.j ava: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)

      10:47:28,247 ERROR [MainDeployer] Could not initialise deployment: file:/var/swa purstuff/jboss-4.0.4.GA/server/default/conf/jboss-service.xml
      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)
      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.j ava: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)

      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: Could not initialise deployment: file: /var/swapurstuff/jboss-4.0.4.GA/server/default/conf/jboss-service.xml; - nested throwable: (java.lang.NullPointerException)
      at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException (Dep loymentException.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.j ava: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
      10:47:28,411 INFO [Server] Runtime shutdown hook called, forceHalt: true
      10:47:28,412 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      10:47:28,475 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM