0 Replies Latest reply on Aug 9, 2002 1:33 PM by mtran

    How does the connection Apache/Tomcat/Jboss works

    mtran

      hi,

      Note : I have Apache2, Jboss3.0/Tomcat4.0.3 bundle installed


      How does Apache/Tomcat/Jboss work? Does Apache connect to Jboss, than Jboss uses Tomcat services? Or the other way : Apache calls the Servlet/JSP container which calls the EJBs container???

      Example : I've deployed web-client.war (template example) into server/default/deploy. In the catalina/conf/server.xml, i have the Ajp13 connector to port 8012. In the worker.properties, the Ajp13 port = 12. In the tomcat4-services.xml = 13. When calling http://localhost/web-client, it said the directory is not found...

      But, the other way around. I've deployed web-client.war (template example) into server/default/deploy. In the catalina/conf/server.xml, i have the Ajp13 connector to port 8012. In the worker.properties, the Ajp13 port = 13. In the tomcat4-services.xml = 13. When calling http://localhost/web-client everything works fine!

      So, my conclusion to that is : it seems that Apache is connected to Jboss...than Jboss will used Tomcat services. Am I write?

      Maybe is the way that i configure my port. I just want to know if there is a way to have a connection from Apache to Tomcat, than from Tomcat to Jboss, which i think is more logical.

      btw, i have Apache2, Jboss3.0/Tomcat4.0.3 bundle

      Thanks,
      Meg