velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans Schmid" <Hans.Sch...@einsurance.de>
Subject Empty reply from server from time to time (Stacktrace attatched)
Date Mon, 05 Jan 2004 13:46:29 GMT
Hello,

we are running a high traffic production page (+400 concurrent users)
at high times. Our external monitoring system (PHP based) shows an emty page
displayed
from time to time (est. 2 times out of 180 a day all doing exactly the
same):

Empty reply from server


first our environment:

Velocity 1.3.1
Struts 1.0rc1 (will upgrade soon to 1.0.2)
Tomcat 3.3.1a (with two race patches)
behind Apache 1.3.29 attatches with mod_jk 1.2.5 (plus filehandle patch for
mod_jk.log)
Sun JVM 1.4.1_05 on
Solaris 9 64 bit sparc

I can not reproduce this reliably, so I tend to assum, that it is a race
condition.
In the logfile at the correspondig time we find a stacktrace like that:

2004-01-01 18:31:10,863 1732641 [Thread-33] ERROR
(gui.framework.AbstractScreen)  - Stacktrace:
java.lang.Exception: Template.merge() failure. The document is null, most
likely due to parsing error.
        at org.apache.velocity.Template.merge(Template.java:317)
        at
org.apache.velocity.servlet.VelocityServlet.mergeTemplate(VelocityServlet.ja
va:448)
        at
org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.java:3
87)
        at
org.apache.velocity.servlet.VelocityServlet.doPost(VelocityServlet.java:342)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
        at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
        at org.apache.tomcat.core.Handler.service(Handler.java:235)
        at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
        at
org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherIm
pl.java:272)
        at
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl
.java:174)
        at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1758)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
        at
de.einsurance.gui.framework.ExtendedActionServlet.process(ExtendedActionServ
let.java:64)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
        at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
        at org.apache.tomcat.core.Handler.service(Handler.java:235)
        at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
        at
org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherIm
pl.java:272)
        at
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl
.java:174)
        at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1758)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
        at
de.einsurance.gui.framework.ExtendedActionServlet.process(ExtendedActionServ
let.java:64)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
        at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
        at org.apache.tomcat.core.Handler.service(Handler.java:235)
        at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
7)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
        at
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Int
erceptor.java:341)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:516)
        at java.lang.Thread.run(Thread.java:536)


Has anyone seen a similar error?
Should I file a bug report?
What else can I do to analyse this problem ?


Thanks very much for any help,

Hans Schmid

einsurance Agency AG
Information Technology
Bayerstrasse 33
80335 M√ľnchen

Tel: +49-89-55292-860
Fax: +49-89-55292-855


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


Mime
View raw message