1 Reply Latest reply on Aug 18, 2008 3:50 AM by Rajesh Chande

    Ajax / Dojo based application hangs on Apache / JBoss

    Rajesh Chande Newbie

      I have deployed a Struts Ajax dojo based web application. Its using Dojo 1.1 (v 1.1 2008/07/23).

      Scenario 1: I have deployed this application on JBoss 4.2.2GA application server and works perfectly fine. The JBoss is in standalone mode and the response time is perfectly fine and great.

      Scenario 2: I deployed the same application on a clustered environment with following architecture: F5 ---> Apache ------> JBoss ---> Database.

      Apache: 2.0.55
      Mod_jk: 1.2.20
      JBoss: 4.2.2GA

      In this scenario, the dojo requests tend to Hang at the Apache level. The number of request processed keeps on increasing in "W" state (Sending Reply) on Apache, Finally the Apache hangs and has to be restarted. The column "Req" (Milliseconds required to process most recent request) takes of the order of 1936555533 milli seconds to process a dojo requests and HANGS the Apache server.

      In both the scenarios, the WAR is deployed on JBoss. There is no code deployed on Apache Http server related to application.

      The workers.properties is configured as per following link: http://wiki.jboss.org/wiki/UsingMod_jk1.2WithAFirewall

      1) Is there any known issue between Apache, JBoss & Dojo/Ajax?
      2) Any specific configuration required at Apache & jBoss level ?
      3) Whats exactly going wrong with Apache / JBoss?

      Regards,
      Rajesh.