Hello,
I'm using Liferay 6.0.6 Tomcat, and have about 14 portlets that will use the Spring Portlet MVC API.
Right now each portlet contains the same Spring JAR files within their own WEB-INF/lib directory. (In total about 6.5 MB of JARs)
In Liferay JBoss bundle, I could separate those common JARs and place them into a common "lib" directory within the JBoss directory structure.
My portlet WARs then went from about 7MB to 100K.
In trying to do the same with Liferay Tomcat, I've tried placing those common JARs in:
- lib
- lib/ext
- altering the "catalina.properties" shared.loader=${catalina.base}/common,${catalina.base}/common/*.jar and creating the "common" directory within Tomcat
In all efforts, I am getting the same "java.lang.NoClassDefFoundError" and "java.lang.ClassNotFoundException" exceptions.
Has anyone successfully shared common JARs within the Liferay Tomcat bundle?
Thanks,
Jon