2 Replies Latest reply on Oct 14, 2002 8:44 AM by jules

    Jetty AJP13 Random Errors

    bono

      Hi,

      I'm using JBoss2.4/Tomcat4 and working on an upgrade to JBoss3/Jetty right now.

      I'm using AJP13 and I noticed that Jetty would return randomly error 500 when I access servlets through AJP13.

      I tried to figure out a pattern, but I couldn't - it seems totally random. I am testing with JBoss3.0.3 but JBoss3.2.0beta also had the same errors.

      Specifically, I am accessing a servlet from an MBean running in JBoss through AJP13. The servlet and the MBean are running on the same JBoss server. I know this is a weird way to use AJP13, but just loading the serlvet in a browser also produced HTPP/500 errors. JBoss 3 w/ Tomcat does not have that problem.

      I am able to consistently reproduce the problem, by -

      1. Invoking the servlet through the MBean w/ AJP13 successfully.
      2. Redeploying the EAR containing the WAR with the servlets.
      3. Redeploying the MBean
      4. Trying step 1 again fails.

      I downloaded the JBoss source and am going to debug it tomorrow but any ideas would be appreciated.

      Is JBoss 3.0.3 using an older version of Jetty (4.1 beta?) Maybe if I upgrade to the latest Jetty that would fix it. Or maybe I need to tweak the AJP13 listener settings?

        • 1. Re: Jetty AJP13 Random Errors
          bono

          P.S. Accessing the servlets through the HTTP listener did not cause HTTP/500 errors - so the glitch is definitely in the AJP13 listener.

          • 2. Re: Jetty AJP13 Random Errors

            bono,

            get the latest Jetty release from www.sourceforge.net.

            substitute the jars in your deploy/jbossweb.sar with the corresponding ones in the lib dir of this release (you may have to try both org.mortbay.jetty.jars - one is for JVM-1.2 I think).

            If the problem persists, please come straight back to me.

            Cheers,


            Jules