title: Glassfish Httpd error bad gateway
body: <p>I have deployed Apache Roller 5 on glassfishv3 which httpd as front end.
  Roller have running works fine, but it's often like <strong>bad gateway</strong> when i accessed it.</p>
  
  <p>i this case, configuration on woker properties like this</p>
  
  <p>workers.properties</p>
  
  <pre><code>worker.list=roller2
  worker.roller2.port=8009
  worker.roller2.host=localhost
  worker.roller2.type=ajp13
  worker.roller2.lbfactor=1
  worker.roller2.socket_keepalive=1
  worker.roller2.socket_timeout=60
  </code></pre>
  
  <p>and on virtual host </p>
  
  <pre><code>    &lt;VirtualHost *:80&gt;
              ServerName doma.com
              DocumentRoot /var/www/roller
              JkMount /roller/* roller2
              JkMount /roller roller2 
     &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>i check on the mod_jk log on httpd error message like this</p>
  
  <pre><code>ajp_connection_tcp_get_message::jk_ajp_common.c (1150): (roller2) can't receive the response header message  from tomcat, network problems or tomcat (127.0.0.1:8009) is down (errno=11)
  </code></pre>
  
  <p>are there other configuration for tunning the glassfish ? or any suggestion to solve this cause ?</p>