tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton Veretennikov <>
Subject JNDI names mismatch
Date Mon, 09 Feb 2009 07:39:54 GMT
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:
For additional commands, e-mail:

View raw message