It's not a secret anymore!*
The moose likes EJB and other Java EE Technologies and the fly likes Problem deploying and finding servlet with Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problem deploying and finding servlet with Jboss" Watch "Problem deploying and finding servlet with Jboss" New topic
Author

Problem deploying and finding servlet with Jboss

Nei San
Greenhorn

Joined: May 08, 2007
Posts: 12
Hi,

I�m trying to execute an servlet created with Jboss IDE 2.0 for Eclipse and JBOSS 4.0.4. The servlet calls na Stateless EJB 3.0. The compilation is sucessfull and I don�t have any error message during the Jboss statup. It happens that when I type the URL �http://localhost:8080/TestInstallation/testStatetelessEJB� in Firefox i get the foolowing:



The TestInstallation.war and TestInstallation.ejb3 files were generated and deployed with the Jboss IDE. I looked at the Jboss folder after I started it and noticed there is a TestInstallation folder inside �C:\softs\jboss-4.0.4.GA\server\default\work\jboss.web\localhost� but the only content of the folder is a file tldCache.ser. The class file for the servlet is located only in a tmp folder. The TestInstallation.war and TestInstallation.ejb3 are placed in the �C:\softs\jboss-4.0.4.GA\server\default\deploy� folder.

As I said, I�m not getting any error message at the server startup nor when I type the servlet URL.

Below is the log of the server startup.



In the web browse I get the following when I type "http://localhost:8080/status?full=true":



I opened the �JBOSS� AS perpective of Eclipse before but returned it to the Java default. I also run the server in Debug mode before but now I�m running in Normal mode. Do you think these changes affected the environment and may be causing these problems? I already deleted and recreated the server inside Eclipse but it didn�t solve the problem.

I would appreciate any help.

Thank you very much.

Nei
[ May 16, 2007: Message edited by: Nei San ]
Nei San
Greenhorn

Joined: May 08, 2007
Posts: 12
Hi there,

I'm sorry making you waste yor time. My problem was a mistake in the URL, instead of using http://localhost:8080/TestInstallation/testStatelessEJB I was typing http://localhost:8080/TestInstallation/testStatetelessEJB.

Thank you.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Nei, we have a JBoss specific forum. Please post JBoss questions there, like it says at the top of this forum.

Thanks

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem deploying and finding servlet with Jboss