title: Windows server 2008/glassfish/postgres proxy timeout HTTP idle after 120 seconds
body: <p><strong>Environment:</strong></p>
  
  <p>Windows 2008 Server Edition</p>
  
  <p>Netbeans 6.7.1</p>
  
  <p>Glassfish 2.1</p>
  
  <p>Apache 2.2.15 for win32</p>
  
  <p><strong>Original problem (almost fixed):</strong></p>
  
  <p>The HTTP/1.1 GET method to send data fails if I wait for more than 30 seconds.</p>
  
  <p><strong>What I did:</strong></p>
  
  <p>I added to the http.conf file of Apache these lines:</p>
  
  <pre><code>#
  # Timeout: The number of seconds before receives and sends time out.
  #
  Timeout 9000
  
  #
  # KeepAlive: Whether or not to allow persistent connections (more than
  # one request per connection). Set to "Off" to deactivate.
  #
  KeepAlive On
  </code></pre>
  
  <p>I went to the Glassfish panel (<em>localhost:4848</em>) and in <em>Configuration > HTTP services</em> and I put:</p>
  
  <p>Timeout request: 9000 seconds (it was 30)</p>
  
  <p>Standby time: -1 (it was 30 seconds)</p>
  
  <p><strong>Problem:</strong></p>
  
  <p>I am not able to put for glassfish a timeout bigger than 2 minutes to send a GET method. </p>
  
  <p>I found this article <a href="https://blogs.oracle.com/binublog/entry/glassfish_tuning_http_connection_queue" rel="nofollow">about glassfish settings</a>, but i'm not able to find WHERE I should put those parameters, and if they could work.</p>
  
  <p>Can anybody help try to set this timeout to a higher limit?</p>
  
  <p><strong>New tried solution:</strong></p>
  
  <p>I went to the glassfish panel control, and to <em>Configuration > Subprocesses > "Thread-pool-name"</em> and changed the idle timeout from 120 seconds to 1200 seconds. Then I restarted the glassfish service (both from the administrative tools and from asadmin), but still it waits 120 seconds to go idle.
  I even tried restarting the whole server, still no results. Maybe some setting in postgres? Or the connection of netbeans to postgres through glassfish?</p>
  
  <p><strong>New finding:</strong></p>
  
  <p>I've been searching on the internet and maybe it could be a proxy timeout, but i don't really now how to change it: can anybody help me please?</p>