You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/03/06 10:57:15 UTC

DO NOT REPLY [Bug 52830] DataSource JNDI lookup with javax.naming.Name failed

https://issues.apache.org/bugzilla/show_bug.cgi?id=52830

--- Comment #1 from moogle <ea...@gmail.com> 2012-03-06 09:57:15 UTC ---
Doesn't work with a javax.naming.Name create with key "java:comp/env/jdbc/mydb"
If you look at
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/SelectorContext.java?revision=1225625&view=markup

You could see that prefix is only "java:" and  protected Name parseName(Name
name) return name.getSuffix(1)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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