You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Clark O'Brien <cl...@yahoo.com> on 2007/09/18 12:50:54 UTC
Struts2 Portlets slowing down liferay portal
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
basic portlet.
clark
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts2 Portlets slowing down liferay portal
Posted by Nils-Helge Garli <ni...@gmail.com>.
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 <cl...@yahoo.com> 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 logging but I am getting INFO on the
> console.
> Clark
>
>
>
> --- Nils-Helge Garli <ni...@gmail.com> wrote:
>
> > 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:
> >
> http://struts.apache.org/2.x/docs/performance-tuning.html
> >
> > And if you just need a basic portlet, just remove
> > the things from the
> > configuration that you don't need, or start from
> > scratch.
> >
> > You can also try a snapshot of Struts 2.1 and see if
> > that helps. The
> > portlet support in 2.1 and 2.0.10 should be greatly
> > improved.
> >
> > Nils-H
> >
> > On 9/18/07, Clark O'Brien <cl...@yahoo.com>
> > wrote:
> > > 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
> > > basic portlet.
> > >
> > > clark
> > >
> > >
> > >
> > >
> >
> ____________________________________________________________________________________
> > > Yahoo! oneSearch: Finally, mobile search
> > > that gives answers, not web links.
> > >
> >
> http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail:
> > user-help@struts.apache.org
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > user-unsubscribe@struts.apache.org
> > For additional commands, e-mail:
> > user-help@struts.apache.org
> >
> >
>
>
>
>
> ____________________________________________________________________________________
> Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
> http://smallbusiness.yahoo.com/webhosting
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts2 Portlets slowing down liferay portal
Posted by tom tom <j_...@yahoo.com>.
Have one log4j setting for all the projects,
Thanks
--- Clark O'Brien <cl...@yahoo.com> 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 logging but I am getting INFO on
> the
> console.
> Clark
>
>
>
> --- Nils-Helge Garli <ni...@gmail.com> wrote:
>
> > 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:
> >
>
http://struts.apache.org/2.x/docs/performance-tuning.html
> >
> > And if you just need a basic portlet, just remove
> > the things from the
> > configuration that you don't need, or start from
> > scratch.
> >
> > You can also try a snapshot of Struts 2.1 and see
> if
> > that helps. The
> > portlet support in 2.1 and 2.0.10 should be
> greatly
> > improved.
> >
> > Nils-H
> >
> > On 9/18/07, Clark O'Brien <cl...@yahoo.com>
> > wrote:
> > > 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
> > > basic portlet.
> > >
> > > clark
> > >
> > >
> > >
> > >
> >
>
____________________________________________________________________________________
> > > Yahoo! oneSearch: Finally, mobile search
> > > that gives answers, not web links.
> > >
> >
>
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail:
> > user-help@struts.apache.org
> > >
> > >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > user-unsubscribe@struts.apache.org
> > For additional commands, e-mail:
> > user-help@struts.apache.org
> >
> >
>
>
>
>
>
____________________________________________________________________________________
> Building a website is a piece of cake. Yahoo! Small
> Business gives you all the tools to get online.
> http://smallbusiness.yahoo.com/webhosting
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
>
>
____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts2 Portlets slowing down liferay portal
Posted by Clark O'Brien <cl...@yahoo.com>.
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 <ni...@gmail.com> wrote:
> 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:
>
http://struts.apache.org/2.x/docs/performance-tuning.html
>
> And if you just need a basic portlet, just remove
> the things from the
> configuration that you don't need, or start from
> scratch.
>
> You can also try a snapshot of Struts 2.1 and see if
> that helps. The
> portlet support in 2.1 and 2.0.10 should be greatly
> improved.
>
> Nils-H
>
> On 9/18/07, Clark O'Brien <cl...@yahoo.com>
> wrote:
> > 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
> > basic portlet.
> >
> > clark
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Yahoo! oneSearch: Finally, mobile search
> > that gives answers, not web links.
> >
>
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> > For additional commands, e-mail:
> user-help@struts.apache.org
> >
> >
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
>
>
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts2 Portlets slowing down liferay portal
Posted by Nils-Helge Garli <ni...@gmail.com>.
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:
http://struts.apache.org/2.x/docs/performance-tuning.html
And if you just need a basic portlet, just remove the things from the
configuration that you don't need, or start from scratch.
You can also try a snapshot of Struts 2.1 and see if that helps. The
portlet support in 2.1 and 2.0.10 should be greatly improved.
Nils-H
On 9/18/07, Clark O'Brien <cl...@yahoo.com> wrote:
> 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
> basic portlet.
>
> clark
>
>
>
> ____________________________________________________________________________________
> Yahoo! oneSearch: Finally, mobile search
> that gives answers, not web links.
> http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org