[jboss-user] [Beginners Corner] - Re: Load Library problem
tgcosta
do-not-reply at jboss.com
Thu Jul 17 11:05:23 EDT 2008
Hi Peter, how are you? I hope everything's ok...
Peter, i found this error when i try to start JBoss. Can you help me?
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/jboss/jboss-4.2.2.GA
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/jboss-4.2.2.GA/bin/run.jar
=========================================================================
11:51:30,266 INFO [Server] Starting JBoss (MX MicroKernel)...
11:51:30,267 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
11:51:30,268 INFO [Server] Home Dir: /usr/jboss/jboss-4.2.2.GA
11:51:30,268 INFO [Server] Home URL: file:/usr/jboss/jboss-4.2.2.GA/
11:51:30,268 INFO [Server] Patch URL: null
11:51:30,268 INFO [Server] Server Name: default
11:51:30,269 INFO [Server] Server Home Dir: /usr/jboss/jboss-4.2.2.GA/server/default
11:51:30,269 INFO [Server] Server Home URL: file:/usr/jboss/jboss-4.2.2.GA/server/default/
11:51:30,269 INFO [Server] Server Log Dir: /usr/jboss/jboss-4.2.2.GA/server/default/log
11:51:30,269 INFO [Server] Server Temp Dir: /usr/jboss/jboss-4.2.2.GA/server/default/tmp
11:51:30,269 INFO [Server] Root Deployment Filename: jboss-service.xml
11:51:30,583 INFO [ServerInfo] Java version: 1.4.2,Free Software Foundation, Inc.
11:51:30,583 INFO [ServerInfo] Java VM: GNU libgcj 4.1.2 20070626 (Red Hat 4.1.2-14),Free Software Foundation, Inc.
11:51:30,583 INFO [ServerInfo] OS-System: Linux 2.6.18-53.el5,x86_64
11:51:30,748 INFO [Server] Core system initialized
11:51:31,773 ERROR [MainDeployer] Could not create deployment: file:/usr/jboss/jboss-4.2.2.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:451)
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:451)
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
11:51:31,776 INFO [Server] Runtime shutdown hook called, forceHalt: true
11:51:31,776 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
11:51:31,783 INFO [Server] Shutdown complete
Shutdown complete
Halting VM
Tks for your attention.
Thiago.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165080#4165080
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165080
More information about the jboss-user
mailing list