You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anton Veretennikov <an...@gmail.com> on 2009/02/09 08:39:54 UTC

JNDI names mismatch

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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org