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 Error while starting JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Error while starting JBoss" Watch "Error while starting JBoss" New topic
Author

Error while starting JBoss

santhoshkumar samala
Ranch Hand

Joined: Nov 12, 2003
Posts: 156

Iam getting following error while starting Jboss from eclipse. can you please clarify it.

12:18:12,230 INFO [Server] Starting JBoss (MX MicroKernel)...
12:18:12,230 INFO [Server] Release ID: JBoss [Zion] 4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418)
12:18:12,246 INFO [Server] Home Dir: D:\jboss
12:18:12,246 INFO [Server] Home URL: file:/D:/jboss/
12:18:12,246 INFO [Server] Library URL: file:/D:/jboss/lib/
12:18:12,246 INFO [Server] Patch URL: null
12:18:12,246 INFO [Server] Server Name: default
12:18:12,246 INFO [Server] Server Home Dir: D:\jboss\server\default
12:18:12,246 INFO [Server] Server Home URL: file:/D:/jboss/server/default/
12:18:12,277 INFO [Server] Server Data Dir: D:\jboss\server\default\data
12:18:12,277 INFO [Server] Server Temp Dir: D:\jboss\server\default\tmp
12:18:12,292 INFO [Server] Server Config URL: file:/D:/jboss/server/default/conf/
12:18:12,292 INFO [Server] Server Library URL: file:/D:/jboss/server/default/lib/
12:18:12,292 INFO [Server] Root Deployment Filename: jboss-service.xml
12:18:12,292 INFO [Server] Starting General Purpose Architecture (GPA)...
12:18:12,558 ERROR [BasicMBeanRegistry] Cannot register MBean
java.lang.NoClassDefFoundError: org/dom4j/DocumentException
at javax.management.modelmbean.ModelMBeanAttributeInfo.createDefaultDescriptor(ModelMBeanAttributeInfo.java:268)
at javax.management.modelmbean.ModelMBeanAttributeInfo.<init>(ModelMBeanAttributeInfo.java:145)
at org.jboss.mx.metadata.MBeanInfoConversion.toModelMBeanInfo(MBeanInfoConversion.java:80)
at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:212)
at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:180)
at org.jboss.mx.server.MBeanServerImpl.<init>(MBeanServerImpl.java:200)
at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:56)
at javax.management.MBeanServerFactory$2.run(MBeanServerFactory.java:226)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:221)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:153)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:332)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:293)
at org.jboss.Main.boot(Main.java:151)
at org.jboss.Main$1.run(Main.java:405)
at java.lang.Thread.run(Thread.java:534)
java.lang.NoClassDefFoundError: org/dom4j/Element
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
at java.lang.Class.getConstructor0(Class.java:1930)
at java.lang.Class.newInstance0(Class.java:278)
at java.lang.Class.newInstance(Class.java:261)
at org.jboss.mx.modelmbean.RequiredModelMBeanInstantiator.instantiate(RequiredModelMBeanInstantiator.java:37)
at org.jboss.mx.server.MBeanServerImpl.<init>(MBeanServerImpl.java:205)
at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:56)
at javax.management.MBeanServerFactory$2.run(MBeanServerFactory.java:226)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:221)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:153)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:332)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:293)
at org.jboss.Main.boot(Main.java:151)
at org.jboss.Main$1.run(Main.java:405)
at java.lang.Thread.run(Thread.java:534)



santhosh<br />SCJP,SCWCD
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

It looks like dom4j is missing from JBoss's classpath. It is packaged with JBoss, so its possibly some funny class loader issue. Can you run JBoss outside eclipse?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
santhoshkumar samala
Ranch Hand

Joined: Nov 12, 2003
Posts: 156

Yes. I am able to load the JBoss outside eclipse without any problem
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

OK. How are you starting JBoss in Eclipse?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error while starting JBoss
 
Similar Threads
Application Server
Urgent Can't get jboss 4.0.0 running!
Exception while adding folder to JBOSS_CLASSPATH
Start JBoss programatically
hi everyone