Struts2 Portlets slowing down liferay portal

2007-09-18 Thread Clark O'Brien
Hi, I just downloaded struts2 a couple days ago and built a basic portlet with it. When I added the portlet the entire portal became dog slow. When I remove the portlet it is performant again. Can someone tell me why this would be happening. Also I don't want spring, caching,... I just want a

Re: Struts2 Portlets slowing down liferay portal

2007-09-18 Thread Nils-Helge Garli
Hi! Is it just the page the portlet is on? Have you tried switching of devMode and logging? There should be no extra performance hit compared to a basic Struts 2 application, so the performance tuning information in the documentation should apply:

Re: Struts2 Portlets slowing down liferay portal

2007-09-18 Thread Nils-Helge Garli
devMode: http://struts.apache.org/2.x/docs/devmode.html See if you have log4j.jar other places in your classpath (server scope/shared scope), and if you have log4j configuration files somewhere else. Nils-H On 9/18/07, Clark O'Brien [EMAIL PROTECTED] wrote: Setting the freemarker_update_delay

Re: Struts2 Portlets slowing down liferay portal

2007-09-18 Thread Clark O'Brien
Setting the freemarker_update_delay improved performance for sure. Hate to ask such a simple question but just own do I change the devMode option and logging - my log4j.xml has ERROR set for logging but I am getting INFO on the console. Clark --- Nils-Helge Garli [EMAIL PROTECTED]

Re: Struts2 Portlets slowing down liferay portal

2007-09-18 Thread tom tom
Have one log4j setting for all the projects, Thanks --- Clark O'Brien [EMAIL PROTECTED] wrote: Setting the freemarker_update_delay improved performance for sure. Hate to ask such a simple question but just own do I change the devMode option and logging - my log4j.xml has ERROR set for