1 Reply Latest reply on Nov 13, 2002 1:05 AM by Joel Vogt

    Deploying servlets in Jboss 3 + Tomcat 4.1

    Kevin Matthews Newbie

      I wrote a simple servlet and I want to deploy it on Jboss 3 + Tomcat 4.1. So far I have managed to get jboss to startup and i deployed the template test application, and everything works fine. I have also set the CATALINA_HOME variable appropriately.

      This servlet requires one other class. So far here's what I have tried that has not worked. First, I war'd them up and dropped them in default/deploy. It said the app deployed, but when I went to localhost:8080/ServletName I got a 500 No Context error.

      Then I tried to put them in the tomcat/webapps/ROOT/WEB-INF/classes dir and go to localhost:8080/servlet/ServletName but got the same error.

      So i'm a little confused? How do you deploy servlets? Do they need to be war'd? Where should the non-servlet classes go? Do any xml descriptors need to be made? What is the url that I should go to access them?

      Sorry to ask so many questions, but the docs seem to be lacking on this subject.


      Thanks,


      Kevin