You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Wilhelmsen Tor Iver <To...@arrive.no> on 2010/09/23 10:11:56 UTC
Too frequent page creation in portlet environment
We are running Glassfish 3.0.1 + Liferay 5.2.3 and have some portlets using Wicket 1.4.9 (in deployment mode). These work fine on the platform when running on our local Windows developer PCs, but when deployed onto a Solaris server running the same software, forms stop working. Debugging indicates that the Pages' constructors are called more times than expected, i.e. submitting a portlet's form creates a new page (instead of using the instance created for the first rendering and which ought to be in the Session), once for the action phase (with the form data present) and then once for the render phase (where of course the parameters have gone).
Debug output indicates that it does not create new Sessions, so the SessionStore seems OK. Is there some configuration that can differ between the two environments that can cause Wicket to behave differently? Can it be PageStore issues?
Med vennlig hilsen
TOR IVER WILHELMSEN
Senior systemutvikler
Arrive AS
T (+47) 48 16 06 18
E-post: toriverw@arrive.no
http://www.arrive.no
http://servicedesk.arrive.no
SV: Too frequent page creation in portlet environment
Posted by Wilhelmsen Tor Iver <To...@arrive.no>.
> We are running Glassfish 3.0.1 + Liferay 5.2.3 and have some portlets
> using Wicket 1.4.9 (in deployment mode). These work fine on the
> platform when running on our local Windows developer PCs, but when
> deployed onto a Solaris server running the same software, forms stop
> working.
Turns out the real culprit was a problem between an Apache proxy, Glassfish and Liferay, where the POST parameters disappear. This also affected Liferay's own portlets (written in a mish-mash of JSF and Struts) so it was not a Wicket issue though we originally observed the problem there.
- Tor Iver
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org