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
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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:
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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 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] 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 [EMAIL PROTECTED]
  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:
  [EMAIL PROTECTED]
   For additional commands, e-mail:
  [EMAIL PROTECTED]
  
  
 
 
 -
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
 
 




 
 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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] 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 [EMAIL PROTECTED]
 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:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



   

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: [EMAIL PROTECTED]
For additional commands, e-mail: [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 logging but I am getting INFO on
 the
 console.
Clark
 
 
 
 --- Nils-Helge Garli [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
  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:
  [EMAIL PROTECTED]
   For additional commands, e-mail:
  [EMAIL PROTECTED]
  
  
  
 

-
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
  
  
 
 
 



 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:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



   

Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mailp=summer+activities+for+kidscs=bz
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]