Hello Everyone! I was just trying to integrate a (Axis-1.4 based) SOAP client into my TemplateModel class, and was having problems with ClassNotFoundExceptions for javax.mail.* classes.
The reason is that magnolia includes "mail-1.4.1.jar" in the WEB-INF/lib Directory of the magnolia webapps. However, recent versions of Tomcat will refuse to load classes coming from the packages java.* or javax.* via the webapp classloader. JARs including such classes must be placed in $CATALINA_HOME/common/lib to avoid problems. Moving mail-1.4.1.jar from the WEB-INF/lib to common/lib solves the problem. I don't know whether this is really a bug (since other Servlet Containers may not have this restriction), but perhaps it would be better to move the mail.jar in the magnolia-tomcat-bundle release... Regards from Vienna, Richard Unger ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
