2 Replies Latest reply on Jan 17, 2008 10:57 AM by viswanadh vadlamannati

    Start up error at JBoss 4.2.1

    viswanadh vadlamannati Newbie

      Hi all, I was tring to start the JBoss 4.2.1 in Red hat Linux.

      I haven't deployed any thing any default\deploy or all folder.

      I just started the server with the command

      
       ./run.sh -c default -b <ip address of the machine>
       ./run.sh -c default -b 0.0.0.0
       ./run.sh -b 0.0.0.0
       ./run.sh -b <ipaddress>
      
      


      in all the above cases it is throwing the below error message at the cosnole

      
       CLASSPATH: /home/servername/jboss-4.2.1.GA/bin/run.jar
      
      =========================================================================
      
      16:56:11,116 INFO [Server] Starting JBoss (MX MicroKernel)...
      16:56:11,119 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)
      16:56:11,121 INFO [Server] Home Dir: /home/servername/jboss-4.2.1.GA
      16:56:11,121 INFO [Server] Home URL: file:/home/servername/jboss-4.2.1.GA/
      16:56:11,123 INFO [Server] Patch URL: null
      16:56:11,124 INFO [Server] Server Name: default
      16:56:11,124 INFO [Server] Server Home Dir: /home/servername/jboss-4.2.1.GA/server/default
      16:56:11,125 INFO [Server] Server Home URL: file:/home/servername/jboss-4.2.1.GA/server/default/
      16:56:11,125 INFO [Server] Server Log Dir: /home/servername/jboss-4.2.1.GA/server/default/log
      16:56:11,125 INFO [Server] Server Temp Dir: /home/servername/jboss-4.2.1.GA/server/default/tmp
      16:56:11,126 INFO [Server] Root Deployment Filename: jboss-service.xml
      16:56:12,464 INFO [ServerInfo] Java version: 1.4.2,Free Software Foundation, Inc.
      16:56:12,464 INFO [ServerInfo] Java VM: GNU libgcj 4.1.1 20070105 (Red Hat 4.1.1-52),Free Software Foundation, Inc.
      16:56:12,464 INFO [ServerInfo] OS-System: Linux 2.6.18-8.el5xen,i386
      16:56:13,077 INFO [Server] Core system initialized
      16:56:17,450 ERROR [MainDeployer] Could not create deployment: file:/home/servername/jboss-4.2.1.GA/server/default/conf/jboss-service.xml
      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
       at org.jboss.system.ServiceController.install(ServiceController.java:226)
       at java.lang.reflect.Method.invoke(libgcj.so.7rh)
       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.install(Unknown Source)
       at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
       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 java.lang.reflect.Method.invoke(libgcj.so.7rh)
       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 $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(libgcj.so.7rh)
      Caused by: java.lang.reflect.UndeclaredThrowableException
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)
       at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
       ...27 more
      Caused by: java.lang.NoClassDefFoundError: org.jboss.dom4j.DocumentFactory
       at java.lang.Class.initializeClass(libgcj.so.7rh)
       at org.jboss.dom4j.io.SAXReader.getDocumentFactory(SAXReader.java:645)
       at org.jboss.dom4j.io.SAXReader.createContentHandler(SAXReader.java:969)
       at org.jboss.dom4j.io.SAXReader.read(SAXReader.java:449)
       at org.jboss.dom4j.io.SAXReader.read(SAXReader.java:291)
       at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:255)
       at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:253)
       at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:282)
       at java.lang.reflect.Constructor.newInstance(libgcj.so.7rh)
       at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1233)
       at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
       at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:212)
       ...29 more
      
      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
       at org.jboss.system.ServiceController.install(ServiceController.java:226)
       at java.lang.reflect.Method.invoke(libgcj.so.7rh)
       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.install(Unknown Source)
       at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
       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 java.lang.reflect.Method.invoke(libgcj.so.7rh)
       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 $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(libgcj.so.7rh)
      Caused by: java.lang.reflect.UndeclaredThrowableException
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)
       at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
       ...27 more
      Caused by: java.lang.NoClassDefFoundError: org.jboss.dom4j.DocumentFactory
       at java.lang.Class.initializeClass(libgcj.so.7rh)
       at org.jboss.dom4j.io.SAXReader.getDocumentFactory(SAXReader.java:645)
       at org.jboss.dom4j.io.SAXReader.createContentHandler(SAXReader.java:969)
       at org.jboss.dom4j.io.SAXReader.read(SAXReader.java:449)
       at org.jboss.dom4j.io.SAXReader.read(SAXReader.java:291)
       at org.jboss.mx.metadata.XMLMetaData.build(XMLMetaData.java:255)
       at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:253)
       at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:282)
       at java.lang.reflect.Constructor.newInstance(libgcj.so.7rh)
       at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1233)
       at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
       at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:212)
       ...29 more
      16:56:17,460 INFO [Server] Runtime shutdown hook called, forceHalt: true
      16:56:17,461 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      16:56:17,480 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM