tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52165] New: javax.naming.NameNotFoundException: Name <name> is not bound in this Context
Date Thu, 10 Nov 2011 01:03:19 GMT
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.likharev@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message