Mantis - Resin
Viewing Issue Advanced Details
2610 minor always 04-19-08 11:43 06-09-08 12:09
ferg  
ferg  
normal  
closed 3.1.5  
fixed  
none    
none 3.1.7  
0002610: index page blanks
(rep by Shane Cruz)

We are using Resin Pro 3.0.24 and have noticed an intermittent problem that is rather weird. After the JVM has been running for a few days, we some times see the case where HTTP requests for certain files return a blank HTML page such as:
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
 
This seems to happen mostly with welcome files (index.html), and we see behavior such as:
 
http://www.mydomain.com/mydirectory [^] à works fine
http://www.mydomain.com/mydirectory/ [^] à returns this blank HTML page
http://www.mydomain.com/mydirectory/index.html [^] --> returns the blank HTML page as well
http://mydomain.com/mydirectory/ [^] à works fine
 
We run a Resin cluster and the weird part is that one JVM will return the blank page while the other ones work fine. When it happens, it seems to affect a lot of pages at once, but only on the one JVM. Restarting that JVM immediately fixes the problem? at least for a few days.
 
Our welcome file list (in app-default.xml) looks normal:
 
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>index.php</welcome-file>
  </welcome-file-list>
 
We are caching pages (in resin.conf):
 
    <resin:if test="${isResinProfessional}">
      <cache path="cache" memory-size="10M"/>
    </resin:if>
 
I don?t want to turn on full debug logging because this happens in our production environment but only after the JVM has been running for several days. I would prefer not to slow down the server for a long time with the extra logging.
 

Notes
(0003153)
ferg   
06-09-08 12:09   
server/2h04