Hello, Tomcat users!

I'm using Tomcat 6.0.18.
Please, help me if you can.

My first problem is with JavaMail (1.4.1) JNDI.

I can't understand why my JNDI resource named "mail/OneName" in server.xml
is got successfully as "mail/AnotherName" in web.xml when I make this call:

(Session) ctx.lookup("mail/AnotherName");

It uses username, password and everything else from "mail/OneName".
There is no "mail/AnotherName" in a list of shared resources.
Tomcat was restarted.

What's the matter?

Thank you,
-- Anton Veretennikov.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to