2 Replies Latest reply on Feb 8, 2003 9:15 AM by Albert

    can't reach servlet using JBoss-Catalina-Apache

    Bentzy Sagiv Newbie

      I have succesfully installed jboss-3.0.4_tomcat-4.1.12 & apache_2.0.43.
      I create(from Java Server Programming J2EE edition - WROX) a simple servlet & XML file as following:


      I succesfully compile it: ...\greeting>jar -cf greeting.war *

      When I copy the war file to C:\jboss-3.0.4_tomcat-4.1.12\server\default\deploy I see at the console that everything is OK.

      My index.html file points to:

      I can see the HTML file at http://localhost:8080/greeting/index.html
      but when I click submit I read:
      The requested resource (/greeting/servlet/GreetingServlet) is not available.

      Your help will be deeply appreciated.

        • 1. Re: can't reach servlet using JBoss-Catalina-Apache
          Adrian Brock Master

          In web.xml

          <!-- The "invoker" servlet, which executes anonymous servlet classes -->
          <!-- that have not been defined in a web.xml file. Traditionally, this -->
          <!-- servlet is mapped to URL pattern "/servlet/*", but you can map it -->
          <!-- to other patterns as well. The extra path info portion of such a -->
          <!-- request must be the fully qualified class name of a Java class that -->
          <!-- implements Servlet (or extends HttpServlet), or the servlet name -->
          <!-- of an existing servlet definition. This servlet supports the -->
          <!-- following initialization parameters (default values are in square -->
          <!-- brackets): -->
          <!-- -->
          <!-- debug Debugging detail level for messages logged -->
          <!-- by this servlet. [0] -->


          <!-- The mapping for the invoker servlet -->


          • 2. Re: can't reach servlet using JBoss-Catalina-Apache
            Albert Newbie

            want to do the same! jboss-tomcat4.1.12&apache2.0.3

            Jboss-tomcat = ok, ready to add apache...please what and where to make changes?

            very thank