File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Jboss start up problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss start up problems" Watch "Jboss start up problems" New topic
Author

Jboss start up problems

baskaran Kumarasamy
Greenhorn

Joined: Jul 03, 2009
Posts: 13
hi,

when i'm trying to start up the jboss 4.2 server in redhat it giving the error
please help me out....


[root@localhost bin]# sh run.sh -c default
=========================================================================

JBoss Bootstrap Environment

JBOSS_HOME: /root/Desktop/jboss/jboss-eap-4.2/jboss-as

JAVA: java

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

CLASSPATH: /root/Desktop/jboss/jboss-eap-4.2/jboss-as/bin/run.jar

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

07:41:07,104 INFO [Server] Starting JBoss (MX MicroKernel)...
07:41:07,105 INFO [Server] Release ID: JBoss [EAP] 4.2.0.GA_CP05 (build: SVNTag=JBPAPP_4_2_0_GA_CP05 date=200810231548)
07:41:07,106 INFO [Server] Home Dir: /root/Desktop/jboss/jboss-eap-4.2/jboss-as
07:41:07,106 INFO [Server] Home URL: file:/root/Desktop/jboss/jboss-eap-4.2/jboss-as/
07:41:07,107 INFO [Server] Patch URL: null
07:41:07,107 INFO [Server] Server Name: default
07:41:07,107 INFO [Server] Server Home Dir: /root/Desktop/jboss/jboss-eap-4.2/jboss-as/server/default
07:41:07,107 INFO [Server] Server Home URL: file:/root/Desktop/jboss/jboss-eap-4.2/jboss-as/server/default/
07:41:07,107 INFO [Server] Server Log Dir: /root/Desktop/jboss/jboss-eap-4.2/jboss-as/server/default/log
07:41:07,108 INFO [Server] Server Temp Dir: /root/Desktop/jboss/jboss-eap-4.2/jboss-as/server/default/tmp
07:41:07,108 INFO [Server] Root Deployment Filename: jboss-service.xml
07:41:07,890 INFO [ServerInfo] Java version: 1.4.2,Free Software Foundation, Inc.
07:41:07,890 INFO [ServerInfo] Java VM: GNU libgcj 4.1.1 20070105 (Red Hat 4.1.1-52),Free Software Foundation, Inc.
07:41:07,890 INFO [ServerInfo] OS-System: Linux 2.6.18-8.el5,i386
07:41:07,219 INFO [Server] Core system initialized
07:41:09,318 ERROR [MainDeployer] Could not create deployment: file:/root/Desktop/jboss/jboss-eap-4.2/jboss-as/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:455)
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:455)
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
07:41:09,321 INFO [Server] Runtime shutdown hook called, forceHalt: true
07:41:09,321 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
07:41:09,329 INFO [Server] Shutdown complete
Shutdown complete
Halting VM
[root@localhost bin]#
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

07:41:07,890 INFO [ServerInfo] Java VM: GNU libgcj 4.1.1 20070105 (Red Hat 4.1.1-52),Free Software Foundation, Inc.


Don't use the GNU JVM - it is not a certified JVM and will not run an app server. Instead, use OpenJDK or one of the Sun JDKs.

JBoss In Action
baskaran Kumarasamy
Greenhorn

Joined: Jul 03, 2009
Posts: 13
thanks Mr.Peter Johnson
for guiding me jboss start up problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jboss start up problems