DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25596>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25596

Application briefly unavailable when using manager to reload





------- Additional Comments From [EMAIL PROTECTED]  2004-01-30 22:06 -------
Hi All, 
I was trying to create this patch that I mentioned to let the context wait 
while loading the context. I put a new attribute called 
waitWhileReload=true/false. The problem is when I finally was able to build 
the new classes and implemention. Tomcat was still using the old 
implementation. 

In my changes, the invoke method on the ContainerBase became non final and I 
changed the one in the StandardContext to be final to still be able to use the 
inlining ability of the hotspot. The problem is when looking at how the new 
version of tomcat services the request I found out that non of my changes took 
effect. I was able to verify this by creating a dummy jsp page that throws an 
exception and look at the stacktrace that is ofcourse after I gave up adding 
debugging messages that kept not appearing. Here is the stack trace from my 
newly compiled TC. 
java.lang.NullPointerException: 
        at org.apache.jsp.includes.errorpage_jsp._jspService
(errorpage_jsp.java:41)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:311)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:301)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:284)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:204)
        at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:256)
        at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
        at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:564)
        at org.apache.catalina.core.StandardContextValve.invokeInternal
(StandardContextValve.java:245)
        at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:199)
        at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
        at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:564)
        at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:195)
        at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
        at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:164)
        at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:149)
        at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:564)
        at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:156)
        at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
        at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:564)
        at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:972)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service
(CoyoteAdapter.java:211)
        at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:805)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnecti
on(Http11Protocol.java:696)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:605)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:677)
        at java.lang.Thread.run(Thread.java:534)

Note: Ofcourse I verified the jar files are the right ones, inthe right 
location server\lib that there are no other jar files in the class path, that 
the class files in the jar files actually has the latest timestamp. I first 
tried to copy catalina.jar to server\lib when that failed I copied everything. 
When that failed I ignored my original installation and used the one that was 
newly built. 

I also tried to explicitly define the Context in the StandardContext. I am not 
sure what else I can do. 
Please HELP !!!!!!!!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to