I used wget only to simulate many concurrent requests but I tested the
velocity objects problems using my Firefox and reading catalina logs.

Reading the wrong generated html I can find that velocity templates are
receiving wrong objects.
In my psml page I have 3 portlets for rendering 3 menus. 
The first one at the beginning of the page called "main" inside a $menu
object, the second one just one row below called "submain" inside
another $menu object (but in another portlet and another template) and
the third one at the bottom of the page called "internal" inside another
$menu object.
Navigating this page with no load all the templates can render the right
menu and thet can find the exact $menu object passed from the portlet,
but when I started the wget command the $menu seems to contain
completely  random objects (even from portlet of the page requested
using wget).

As you can see from my posted code the portlet is giving a $object to
the template... (in the real example is context.put("menu", menu) ) and
the template should receive the exact $menu object given from the
portlet. This is always right except when there are many concurrent
requests.

Reply via email to