Jan 4th, 2006, 12:56 PM
Slow JSP Include Perf on WLS on Solaris After Adding LocalSessionFactoryBean to Ctxt
I'm diagnosing sluggish single-user performance on a Spring/Hibernate3/Struts/Tiles/jBPM web app my team has developed to run on Weblogic 8.1 SP2, which didn't appear until we deployed to Solaris. (ie, worked fine in our Windows-based dev envs.)
From additional logging I added to Tiles, I'm seeing that PageContext.include() calls (called by Tiles for each tile) are taking over 1s to include each JSP.
I attempted a little "divide and conquer" to isolate the cause, and soon discovered that adding a org.springframework.orm.hibernate3.LocalSessionFac toryBean bean to our app context stimulates the problem. (Removing this bean results in near instantaneous PageContext.include()'s.)
Any thoughts on this would be deeply appreciated.
Jan 4th, 2006, 01:47 PM
Not Sure about the LocalSessionFactory Tie In, But This Worked...
My colleage Aaron found the answer: Set servlet-reload-check-seconds to -1 in weblogic.xml.