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

             Bug #: 52165
           Summary: javax.naming.NameNotFoundException: Name  <name> is
                    not bound in this Context
           Product: Tomcat 6
           Version: 6.0.33
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: maksim.likha...@thomson.com
    Classification: Unclassified


note: names are obfuscated

<Context path="/my-web"  reloadable="true" useNaming="true">
  <ResourceLink global="jdbc/ttt" 
                name="jdbc/ttt"   
                type="javax.sql.DataSource" />

conf/server.xml

<Resource
  name="jdbc/ttt"
  type="javax.sql.DataSource"
....

name lookup:
Caused by: javax.naming.NameNotFoundException: Name ttt is not bound in this
Context
        at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
        at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
        at org.apache.naming.SelectorContext.lookup(SelectorContext.java:152)


works on tomcat 6.0.32 and all versions bellow

this is NOT something that you expect upgrading to new minor release.

-- 
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to