3 Replies Latest reply on Apr 30, 2003 12:34 PM by putstraight

    Apache setup?

    gostraight Newbie

      I believe that I have got Apache to forward requests to the embedded Tomcat in JBOSS. This is because I can get both

      http://localhost:8080/jmx-console/index.jsp (directly hitting Tomcat)

      and

      http://localhost/jmx-console/index.jsp (through Apache)

      to appear properly.

      However, I cannot click on any of the links on the page through Apache. The links on the direct page works just fine.

      I must have missed something. The problem is that, with so many moving pieces, I don't even know where to start looking. Somebody helps, please!

      Also, has anyone tried/successed in setting up JBoxx+Tomcat to make all the examples in Tomcat work?

        • 1. Re: Apache setup?
          Raja Master

          > Also, has anyone tried/successed in setting up
          > JBoxx+Tomcat to make all the examples in Tomcat
          > work?

          Yes, There are two ways to do this
          1) Drop the .war files from the webapps folder of tomcat to <JBOSS_DIST>/server//deploy folder
          2) Copy the folders under webapps of Tomcat distribution and put them under <JBOSS_DIST>/server//deploy folder and rename the name of the folder to end with ".war", so for e.g. the ROOT folder becomes ROOT.war
          You can access it as http://localhost:8080/ROOT

          -Raj

          • 2. Re: Apache setup?
            putstraight Newbie

            Thanks for the reply. However,

            1) There is simply now .war files from Tomcat.
            2) After the copying, the index.jsp under ROOT worked. The straight .html pages under tomcat-docs worked.

            Nothing else, however, seemed to be working. For example, all the links on index.jsp under ROOT does not work. I tried to copy the examples to both the */deploy and */deploy/ROOT.war to no avail. Everything under examples and admin do not work either by typing in URL directly. JBoss does show deployment errors when try to load the */examples/jsp but the message is totally jibbish to me.

            BTW, I have to change the user name because I forgot the password to GoStraight.

            • 3. Re: Apache setup?
              putstraight Newbie

              Thanks for the reply. However,

              1) There is simply now .war files from Tomcat.
              2) After the copying, the index.jsp under ROOT worked. The straight .html pages under tomcat-docs worked.

              Nothing else, however, seemed to be working. For example, all the links on index.jsp under ROOT does not work. I tried to copy the examples to both the */deploy and */deploy/ROOT.war to no avail. Everything under examples and admin do not work either by typing in URL directly. JBoss does show deployment errors when try to load the */examples/jsp but the message is totally jibbish to me.

              BTW, I have to change the user name because I forgot the password to GoStraight.