Hello all,
I have been load testing my current system and have noticed a significant
problem with my main JSP page.
This page:
1) looks up EJBs 1 entity, 1 session
2) The entity bean is looked up and returns correct data
3) Session bean is slower, having to do some rendering/parsing of returned
content
4) The JSP accesses this rendering bean before actually using the variables
set from the entity bean.
Test situation:
1) Load test performed on this page using a specific News-ID to perform
lookups.
2) When accessing this JSP page with a different News-ID the JSP renders
mixed content back to me, ie. the News-Title is being reset with a new value
(the value of the page being load tested) before the response has been
written :(
I think the JSP servlet instance handling this request is handling another
request before finishing writing the response out to the existing request.
Would this be true? - if so are there any ways to configure the server so
this does not under any circumstances happen?
If not this is a potential bug in the servlet / JSP engine.
When using Apache-JServ for example the user can specify the size of the
servlet instance pool.
I am worried at this point as this behavior occurs at a relatively low load
~15-20 page views / second.
At higher loads I get null-pointer exceptions being thrown as the JSP gets
its knickers in a pretty severe twist.
This is the first time I have had to write in. I am using 0.9.6, and think
as others do that over-all this is a very cool piece of software and have up
till now not had any other problems with it.
Regards
Jools