hi,
I wanted to test my app (using Xwork/Webwork2 from CVS) under extreme load
conditions. So I hit the server (Jetty) with a few concurrent clients
(grinder3.0) and from time to time I get this Exception, which I never got
before when testing single requests (see below).
And why is it calling something Jasper/JSP related if I'm not using any kind
of JSP and only Velocity?
I understand that for velocity tags to work in JSP you might need some
integration, but If I don't want to use any JSP related stuff, should I be
forced to go throught Jsp Writers and all that?
Maybe that's why Webwork1.x is faster that ww2.... !?
18:36:01,243 ERROR ServletDispatcher:187 - Could not execute action
java.lang.NullPointerException
at
org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:375)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:321)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
at org.apache.velocity.Template.merge(Template.java:296)
at
com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.java:89)
at
com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:53)
at
com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:274)
at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192)
at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)
at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170)
at
com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
at
com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:182)
at
com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:162)
On Friday 16 January 2004 16:30, Mark Woon wrote:
> In XWorks, what exactly is the role of the ActionContext? Does it sort
> of map to a ServletRequest in the sense that it is supposed to hold all
> the data necessary to process an Action and there will be one for each
> request?
>
> I'm asking because I'm trying to figure out where to store objects that
> can be used by Interceptors and Actions but don't exactly belong in an
> Action (e.g. a Connection to a database).
>
> Thanks,
> -Mark
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork