0 Replies Latest reply on Jan 19, 2005 3:42 PM by Blue Ogre

    Jboss-Tomcat 404 status

    Blue Ogre Newbie


      I am a new to Java/Jboss. I have a problem which I hope someone will take a moment to help me with.

      Problem Description:

      I have a configuration that uses

      Apache 2.0.45 with SSL
      Jboss 3.2.1-Tomcat-4.1.24
      Struts 1.1

      Now this site does not have a problem. It runs just fine. The site runs with a virtual server that is setup for a 192.168 address at a non reserved port (17000). I have static IP router forwarding to this port which allows access through a url

      e.g. the local access is

      and the external access is

      Like I said -this works!

      My problem is that I have now installed the latest Jboss

      jboss-4.0.1RC1 with Tomcat 5.0.28

      When I access this through

      it gives the following error:
      HTTP Status 404 - /myapp.do


      type Status report

      message /myapp.do

      description The requested resource (/myapp.do) is not available.


      Apache Tomcat/5.0.28


      Also when I access it thru the local address

      it works just fine initially but if I redeploy / restart jboss it gives the same error.

      My Apache Virtual Server Config:

      DocumentRoot "/usr/local/apache2/htdocs"
      <Directory /usr/local/apache2/htdocs>
      Options None
      AllowOverride all
      Order allow,deny
      Allow from all

      RewriteEngine On
      RewriteRule ^/$ /myapp.do [R]
      SSLEngine on
      SSLProtocol all
      SSLCipherSuite HIGH:MEDIUM
      SSLVerifyClient require
      SSLVerifyDepth 1
      SSLCertificateFile server_cert.pem
      SSLCertificateKeyFile server_key.pem
      SSLCACertificateFile cacert.pem

      my workers2.properties is:

      info=Ajp13 forwarding over socket

      info=Map the whole webapp

      info=Scoreboard. Required for reconfiguration and status with multiprocess servers

      The only configuration changes I made to the standard jboss binary are:
      - I have created the dbds.xml file for connecting to the database in $JBOSS_HOME/server/default/deploy
      - I have introduced the log4j.xml in server/default/conf

      My understanding is that Apache is forwarding fine to Jboss (as it was with the earlier version of Jboss-Tomcat. Seems to me as though I am missing some configuration on the Jboss-Tomcat side. Am I right? If so what do i need to do ?

      I hope I am posting in the right forum. Apologies if not. (Request you to please direct me to the right forum).