You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Greg H <gr...@yahoo.com> on 2003/08/03 19:58:57 UTC

Tomcat 4.1.18 JSP reload issue

We are running Tomcat 4.1.18 on Solaris 8 and have
been having issues with JSP reloading. We have 4
instances of Tomcat running on two boxes. There are
two instances on each box that are load balanced
through mod_jk. Because we are a content based site,
and most of our content is not database driven, we
deploy new JSP files at various intervals throughout
the day. At first we left the instances in development
mode which forced the JSP files to reload, but also
caused the Tomcat instances to fail under load. When
we turned the development settings to false and then
enabled reloading with checkInterval of 60 seconds we
had serious issues with JSP reloading. Sometimes the
instances would pick up the changes and then at others
none of the servers would pick up changes to the JSP
files. At first we thought it may be a timestamp
issue, but we were wrong as file edits on the machines
will still not force tomcat to reload the JSP. The
only way we can guarantee that all of the servers are
showing the proper content is to restart the
instances. At the current time we schedule restarts at
various intervals during the day but we need to fix
the problem. Has anyone had a similiar problem? 

At this point we are willing to try anything. I
appreciate any and all suggestions.

TIA,
Greg

 

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat 4.1.18 JSP reload issue

Posted by Tim Funk <fu...@joedog.org>.
Sorry if this sounds stupid but, can you reproduce with 4.1.27? (Maybe by 
luck this issue is already fixed before more probing questions)

-Tim

Greg H wrote:
> We are running Tomcat 4.1.18 on Solaris 8 and have
> been having issues with JSP reloading. We have 4
> instances of Tomcat running on two boxes. There are
> two instances on each box that are load balanced
> through mod_jk. Because we are a content based site,
> and most of our content is not database driven, we
> deploy new JSP files at various intervals throughout
> the day. At first we left the instances in development
> mode which forced the JSP files to reload, but also
> caused the Tomcat instances to fail under load. When
> we turned the development settings to false and then
> enabled reloading with checkInterval of 60 seconds we
> had serious issues with JSP reloading. Sometimes the
> instances would pick up the changes and then at others
> none of the servers would pick up changes to the JSP
> files. At first we thought it may be a timestamp
> issue, but we were wrong as file edits on the machines
> will still not force tomcat to reload the JSP. The
> only way we can guarantee that all of the servers are
> showing the proper content is to restart the
> instances. At the current time we schedule restarts at
> various intervals during the day but we need to fix
> the problem. Has anyone had a similiar problem? 
> 
> At this point we are willing to try anything. I
> appreciate any and all suggestions.
> 
> TIA,
> Greg
> 
>  
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


Re: Tomcat 4.1.18 JSP reload issue

Posted by Tim Funk <fu...@joedog.org>.
Sorry if this sounds stupid but, can you reproduce with 4.1.27? (Maybe by 
luck this issue is already fixed before more probing questions)

-Tim

Greg H wrote:
> We are running Tomcat 4.1.18 on Solaris 8 and have
> been having issues with JSP reloading. We have 4
> instances of Tomcat running on two boxes. There are
> two instances on each box that are load balanced
> through mod_jk. Because we are a content based site,
> and most of our content is not database driven, we
> deploy new JSP files at various intervals throughout
> the day. At first we left the instances in development
> mode which forced the JSP files to reload, but also
> caused the Tomcat instances to fail under load. When
> we turned the development settings to false and then
> enabled reloading with checkInterval of 60 seconds we
> had serious issues with JSP reloading. Sometimes the
> instances would pick up the changes and then at others
> none of the servers would pick up changes to the JSP
> files. At first we thought it may be a timestamp
> issue, but we were wrong as file edits on the machines
> will still not force tomcat to reload the JSP. The
> only way we can guarantee that all of the servers are
> showing the proper content is to restart the
> instances. At the current time we schedule restarts at
> various intervals during the day but we need to fix
> the problem. Has anyone had a similiar problem? 
> 
> At this point we are willing to try anything. I
> appreciate any and all suggestions.
> 
> TIA,
> Greg
> 
>  
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org