2 Replies Latest reply on Mar 7, 2003 9:11 AM by priyankadeven

    Apache2.0.43 to communicate with JBOSS3

    murphyric

      Hi,
      I Have sucessfully installed
      Jboss
      Tomcat
      Apache
      mod_jk2(ajp13 running fine ,tomcat embedded with Jboss)
      on windows 98......
      Apache on PORT:8000

      Problem:
      I have deployed a CMP bean in Jboss and tested it
      alone with tomcat on 8080, successfullly running.
      Jboss- tomcat url: http://localhost:8080/customer

      After I started with mod_jk2 to attach with Apache2
      I'm not able to GET THE PROPER URL to "customer bean"
      I have here the examples/jsp running fine..
      i.e, http://localhost:8000/examples/jsp

      I see this on Jboss console always

      "13:44:47,700 INFO [STDOUT] Thread[Ajp13Processor[8009][4],5,Ajp13Connector[8009]"

      But when I type http://localhost:8000/customer
      I get this "OBJECT NOT FOUND " from apache...on the browser.
      and in apache error log:
      "[Tue Nov 19 13:50:13 2002] [error] [client 127.0.0.1] File does not exist: E:/Apache/Apache2/htdocs/customer"
      I know that it is checking in the root of apache.

      How do I call the CMP bean "customer" in the
      JBoss---> server/deploy/app.ear from APACHE2


      I humbly request anyone out there to PLEASE help me out with this.
      Thanx in Advance

        • 1. Re: Apache2.0.43 to communicate with JBOSS3
          murphyric

          Happy to say that I'm now able to access the deployed content in JBOSS through Apache 2.0.43 webserver .

          Thanx for the support from the Forum
          I changed / set the following in the files below .....it works.
          These URLs and files are a MUST TO SEE , they really helped me a lot...

          1) http://atlassw1.phy.bnl.gov/jakarta-tomcat/mod_jk-howto.html ------- to understand "Working with mod_jk"
          2) APtoJB.zip found in this forum

          File: Http.conf
          ___________________________________
          <IfModule mod_jk2.dll>
          JkWorkersFile conf/workers2.properties
          JkLogFile log/mod_jk2.log
          JkLogLevel debug
          JKMount /*.jsp ajp13
          JKMount/servlet/* ajp13
          JKMount /Customer/*.jsp ajp13

          _________________________

          File: workers2.properties
          ____________________________
          [uri:/customer/*.jsp]
          info=Extension mapping


          #[uri:/customer/*]
          #info=Prefix mapping

          [uri:/customer/*]
          info=Map the whole webapp


          _______________________________

          the URL to my Apache web server now is
          http://localhost/customer

          Regards

          • 2. Re: Apache2.0.43 to communicate with JBOSS3
            priyankadeven

            Hi I am new to JBoss and Apache.. But I wanted to know is it necessary to install tomcat when you have already installed apache web server ?