aspose file tools*
The moose likes JBoss/WildFly and the fly likes Problem with JBOSS4.0.5 EJB Server Its not starting  - error during deploy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Problem with JBOSS4.0.5 EJB Server Its not starting  - error during deploy" Watch "Problem with JBOSS4.0.5 EJB Server Its not starting  - error during deploy" New topic
Author

Problem with JBOSS4.0.5 EJB Server Its not starting - error during deploy

Nancy Antony
Ranch Hand

Joined: Sep 06, 2007
Posts: 145

Hi Ranchers,

I am working with Eclipse IDE for JBOSS and JBOSS 4.0.5 EJB, doing some small project using Servlets, JSP. I cannot change to another server as per project demand. It was working perfectly for two days. I configured it for port 8088. I just tried one small code for JSTL and it didn't work. after that whenever I'm starting my server, its giving me the following stack trace. I tried deleting aand adding server again and again. But there is no change. I created a new workspace and a new project and tried to configure the server again and again by copying freshly from my other Hard disk. But I keep getting the same stack trace. Can anyone help?

Regards,
Nancy
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 650
Your stack trace begins somewhere after the problem occurred, so we can't see it.
Try this:
- Shut down the application server;
- Save off all the files in the server's log directory, then remove them;
- Start the application server.

Now, have a look at the server's log files (the server.log and boot.log) and see if you can find any errors. Perhaps there's an 'Unable to bind' error or something like that happening?

Good luck.
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 650
By the way, you might have better luck posting this in the JBoss forum.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Always follow the "caused by" clauses. Note for the very first exception that the last "caused by" reads:

Caused by: javax.naming.NameNotFoundException: comp not bound

This means that your code was doing a JNDI lookup and the name was not found. Based on the lack of any obvious user-written code in the stack trace I assume that "comp" was reference somewhere in a configuration file. Could you tell us a little more about the app and post the file where "comp" is used?

By the way, in the future do not post the entire console output - post only the first exception stack trace. Any other information is usually either redundant or irrelevant. And besides, the more you tend to overwhelm us Ranchers with data the more likely we are to skip your post and go to posts that are easier to digest.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with JBOSS4.0.5 EJB Server Its not starting - error during deploy