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 and the fly likes hi everyone Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "hi everyone" Watch "hi everyone" New topic
Author

hi everyone

Ram Sateesh Talari
Greenhorn

Joined: Dec 03, 2003
Posts: 20
I am using JBoss App.server and Eclipse IDE. I want to create a JBoss server using eclipse IDE. I created one but when I start it it's giving me exception. Can someone tell me how to get rid of this??

10:20:15,984 INFO [Server] Starting JBoss (MX MicroKernel)...
10:20:16,000 INFO [Server] Release ID: JBoss [Zion] 4.0.1sp1 (build: CVSTag=JBoss_4_0_1_SP1 date=200502160314)
10:20:16,015 INFO [Server] Home Dir: D:\5thMINI\jboss-4.0.1sp1
10:20:16,015 INFO [Server] Home URL: file:/D:/5thMINI/jboss-4.0.1sp1/
10:20:16,015 INFO [Server] Library URL: file:/D:/5thMINI/jboss-4.0.1sp1/lib/
10:20:16,015 INFO [Server] Patch URL: null
10:20:16,015 INFO [Server] Server Name: default
10:20:16,015 INFO [Server] Server Home Dir: D:\5thMINI\jboss-4.0.1sp1\server\default
10:20:16,031 INFO [Server] Server Home URL: file:/D:/5thMINI/jboss-4.0.1sp1/server/default/
10:20:16,031 INFO [Server] Server Data Dir: D:\5thMINI\jboss-4.0.1sp1\server\default\data
10:20:16,046 INFO [Server] Server Temp Dir: D:\5thMINI\jboss-4.0.1sp1\server\default\tmp
10:20:16,046 INFO [Server] Server Config URL: file:/D:/5thMINI/jboss-4.0.1sp1/server/default/conf/
10:20:16,046 INFO [Server] Server Library URL: file:/D:/5thMINI/jboss-4.0.1sp1/server/default/lib/
10:20:16,046 INFO [Server] Root Deployment Filename: jboss-service.xml
10:20:16,062 INFO [Server] Starting General Purpose Architecture (GPA)...
Exception in thread "main" java.lang.NoClassDefFoundError: org/dom4j/Element
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
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.newMBeanServer(Unknown Source)
at javax.management.MBeanServerFactory.createMBeanServer(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:349)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
at org.jboss.Main.boot(Main.java:162)
at org.jboss.Main$1.run(Main.java:423)
at java.lang.Thread.run(Unknown Source)

I am a beginner... plz help

Cheers
Ram
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 23645

Ram,
It looks like a classpath issue. Double check whether j2ee.jar is in your classpath.

I'm moving this to the JBoss forum. If it winds up being an Eclipse issue, someone there can move it back.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 363
This isn't a problem with the J2EE.jar. Jboss ships those as jboss-servlet.jar, jboss-jsp.jar, etc....

In any case, It looks like you ar missing the dom4j.jar file. This should be in your jboss_home/lib directory. If it is not, I'd reinstall. Did you install a service pack or something instead of the full-blown app server? This jar file comes with the install...


No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
 
 
subject: hi everyone
 
Threads others viewed
Module 'null' not found in Struts 1.3
Application Server
Error while starting JBoss
Starting Jboss from eclipse
Start JBoss programatically
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com