David Tonhofer, m-plify S.A. wrote:

--On Friday, October 07, 2005 1:08 PM +0200 Andrés Reyes <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


It is solved.
I put both (activation.jar and mail.jar) in $JAVA_HOME/jre/lib/ext and removed it from any other place, and it works. Now, I get "MessagingException: invalid provider", but I think it is about the mail server.
Thanks for your answers.


--
/***********************************
* Andrés Reyes ( [EMAIL PROTECTED] )
* TCOR Desarrollos y Sistemas, S.L.
* Teléfono: 957 76 42 48 * Fax : 957 76 42 49
***********************************/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to