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?
Your stack trace begins somewhere after the problem occurred, so we can't see it.
- 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?
Mark E Hansen
Joined: Apr 01, 2009
By the way, you might have better luck posting this in the JBoss forum.
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.