2 Replies Latest reply on Apr 27, 2007 12:41 PM by chipschoch

    4.2.0.CR2 ajp not working

    chipschoch

      I installed 4.2.0.CR2 and attempted to connect to my webapp via the standard apache/jboss configuration. I get the service unavailable message. 4.0.5.GA works fine. I noticed that the servlet engine on CR2 is JBossWeb/2.0.0.CR1 not Apache Tomcat/5.5.20 as in 4.0.5.GA. I also noticed that CR2 dumps a message saying "initializing Coyote AJP/1.3 ..." whereas 4.0.5.GA does not have that message. I also notice that AJP does not appear to be working in CR2.

      Is this a known issue? Are you dumping tomcat going forward?

        • 1. Re: 4.2.0.CR2 ajp not working
          peterj

          4.2 uses the JBoss Web Server in place of Tomcat. Apache HTTPD should still connect to it with AJP in the same way it connected to 4.0.5. But, I should warn you that 4.2 binds to localhost by default (see the readme), so if HTTPD is on another host, it won't see 4.2 unless you bind it to the IP address or to 0.0.0.0.

          • 2. Re: 4.2.0.CR2 ajp not working
            chipschoch

            Thanks alot. I a running httpd locally but using mod_proxy and had my Proxy set to the name of my machine. Changed it from:

             <Proxy balancer://cluster>
             BalancerMember ajp://elx000393.elynx.com:8009
            </Proxy>


            to:

            <Proxy balancer://cluster>
             BalancerMember ajp://127.0.0.1:8009
            </Proxy>


            And that took care of the issue