tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Tonhofer, m-plify S.A." <d.tonho...@m-plify.com>
Subject Re: Sending mail with JavaMail
Date Fri, 07 Oct 2005 12:26:58 GMT
--On Friday, October 07, 2005 1:08 PM +0200 Andrés Reyes <areyes@tcor.net> wrote:

> It doesn't work.


No way???

Back to basics: find all the places where mail.jar is in this
hierarchy of classloaders. Make sure there is only one.
Make sure that jaf.jar is at the same level or above it.


       Bootstrap: uses JVM classes & looks in $JAVA_HOME/jre/lib/ext
          |
       System:    uses $CATALINA_HOME/bin/bootstrap.jar
          |       and  $JAVA_HOME/lib/tools.jar
          |
       Common:    uses $CATALINA_HOME/common/lib
         /  \     and $CATALINA_HOME/common/classes
        /    \    and $CATALINA_HOME/common/endorsed
       /      \   >> jsp and servlet API jars are here
      /        +---------------------------------+
     /                                           |
 Catalina:  uses $CATALINA_HOME/server/lib       |
            and $CATALINA_HOME/server/classes    |
            >> catalina.jar is here              |
                                              Shared: uses $CATALINA_BASE/shared/lib
                                                / \    and $CATALINA_BASE/shared/classes
                                               /   \
                                          Webapp1  Webapp2 ... <--- **GREEDY** CLASSLOADERS




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message