title: 502 Bad Gateway... invalid response from upstream server (apache and jboss)
body: <p>I'm using apache on one machine to serve requests to jboss on another machine.  Everything works fine when I startup jboss and I'm able to access the web app, but after a few hours I eventually start getting "The proxy server received an invalid response from an upstream server" errors.  If I restart jboss then everything works fine again, but several hours later I have the same issue...</p>
  
  <p>Does anybody know what could be causing this issue?  I don't have access to the apache logs at this time (I should in a few hours) but it seems to be something with jboss since restarting it is the temporary fix.</p>
  
  <p>I'm using jboss4.2.3 and apache 1.3 with mod_jk.  I'm not finding any errors in the jboss logs and the app I'm trying to reach isn't doing anything that takes a long time.  The main page is just a simple login page.  I have ports 8009 and 8080 open for communication between the app server and web server.  I don't know what configuration is wrong.</p>