Mar 16th, 2007, 09:34 AM
Strange behaviour with Spring 2.0 on Weblogic 8.1
We are having a strange phenomenom.
For troubleshooting our problem we have developed a very simple "hello world" JSP which is only displaying "Hello World" and doesn't contain anything else.
If we access this JSP directly, we are having no problem.
Then we configure Spring to access this JSP (SimpleURLHandleMapping,URLFileNameViewController, ResourceBundleViewResolver) and if we access this same JSP the heap is increasing very fast and big (more than 30MB). The heap is increasing the same way each time we access this JSP.
After some more investigation, we have discovered a strange phenomenom regarding this problem. If we remove JAR's from the WEB-INF/lib folder which we don't need for the simple test jsp, the heap is decreasing. The more JAR's are removed, the smaller the heap increases (and vice versa) at each access. It seems that the application is loading all JAR's which reside in the WEB-INF/lib folder each time someone is accessing the application (test jsp).
We are having this problem only on Weblogic 8.1 (experienced with different SP's). We have tested also on Weblogic 9 and Tomcat 5.5 but this works very well (Those app servers are currently no option).
Thanks in advance.
Mar 16th, 2007, 12:55 PM
There was another thread recently talking about something similar I think.