[jboss-user] [Beginners Corner] - Error running JBoss AS for first time under Fedora

EnriqueI do-not-reply at jboss.com
Wed Jun 27 15:40:27 EDT 2007


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

  JBoss Bootstrap Environment

  JBOSS_HOME: /usr/jboss

  JAVA: java

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

  CLASSPATH: /usr/jboss/bin/run.jar

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

12:25:57,737 INFO  [Server] Starting JBoss (MX MicroKernel)...
12:25:57,739 INFO  [Server] Release ID: JBoss [Trinity] 4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)
12:25:57,740 INFO  [Server] Home Dir: /usr/jboss
12:25:57,741 INFO  [Server] Home URL: file:/usr/jboss/
12:25:57,742 INFO  [Server] Patch URL: null
12:25:57,742 INFO  [Server] Server Name: default
12:25:57,742 INFO  [Server] Server Home Dir: /usr/jboss/server/default
12:25:57,743 INFO  [Server] Server Home URL: file:/usr/jboss/server/default/
12:25:57,743 INFO  [Server] Server Log Dir: /usr/jboss/server/default/log
12:25:57,743 INFO  [Server] Server Temp Dir: /usr/jboss/server/default/tmp
12:25:57,744 INFO  [Server] Root Deployment Filename: jboss-service.xml
12:25:58,645 INFO  [ServerInfo] Java version: 1.4.2,Free Software Foundation, Inc.
12:25:58,645 INFO  [ServerInfo] Java VM: GNU libgcj 4.1.1 20070105 (Red Hat 4.1.1-51),Free Software Foundation, Inc.
12:25:58,646 INFO  [ServerInfo] OS-System: Linux 2.6.20-1.2952.fc6,i386
12:25:59,039 INFO  [Server] Core system initialized
12:26:01,339 ERROR [MainDeployer] Could not create deployment: file:/usr/jboss/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.(XMBean.java:253)
   at org.jboss.mx.modelmbean.XMBean.(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.(XMBean.java:253)
   at org.jboss.mx.modelmbean.XMBean.(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
12:26:01,345 INFO  [Server] Runtime shutdown hook called, forceHalt: true
12:26:01,346 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
12:26:01,364 INFO  [Server] Shutdown complete
Shutdown complete
Halting VM


Any ideas? 

Thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058392#4058392

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058392



More information about the jboss-user mailing list