aspose file tools*
The moose likes JBoss/WildFly and the fly likes JBoss server start. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss server start." Watch "JBoss server start." New topic
Author

JBoss server start.

Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
I'm new to JBoss and have been struggling most of the day to just get the server started. I've tried both 3.0.8 with Tomcat 4.1.24 and 4.0.0DR2 with the same results. Here is an excerpt of the errors that fly after executing run.bat:

This is followed by many more exceptions and the server never starts.
What am I doing wrong?
Thanks in advance.


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Figured it out. I had the j2ee.jar in the JRE/lib/ext directory. That's what I get for being lazy! I'm guessing that if you have the j2ee.jar in your CLASSPATH, JBoss will blow up also.
chen tao
Greenhorn

Joined: Dec 15, 2004
Posts: 4
hi
thank you for your experience about jboss configuration.
i met the same question but when i copy j2ee.jar to my jre\lib\ext
the problem is not solved.
can you tell me the details steps
thanks a lot!
ps:i work under eclipse3.0.1+jboss4+lomboz3.0.1
Nick Java
Greenhorn

Joined: Jan 13, 2005
Posts: 1
I also have the same problem, with the same versions of Eclipse, Lomboz & JBoss.

I think there's an extra j2ee.jar in the classpath somehow???
Kevin Mest
Greenhorn

Joined: Jan 14, 2005
Posts: 2
Not to beat a dead horse, but I'm seeing this too. JBoss starts from the commandline but bails in Eclipse with ClassCastException during NamingService startup. Jboss 4.0.1, Eclipse 3.0.1, and Lomboz 3.0.1. I've tried several server definition changes, all with the same result. I even copied a known "good" JBoss 4.0.1 definition from one of the previous threads, but no luck.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss server start.