tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sherman Mohler <>
Subject javax.naming.NameNotFoundException: Name Pack322 is not bound in this Context
Date Thu, 12 Aug 2004 21:20:44 GMT
I am trying to declare a unique (text based) realm for one of  my 
webapps. The XML in /conf/Catalina/localhost/cubscout.xml looks like this:

<Context path="/cubscouts" docBase="Cub">
    <Resource name="Pack322Database" auth="Container"
       description="User database that can be updated and saved">
    <ResourceParams name="Pack322Database">

    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
                 debug="0" resourceName="Pack322Database"/>


I get the startup error: "javax.naming.NameNotFoundException: Name 
Pack322Database is not bound in this Context"

It is worth noting that when I move the <Resource> into the server.xml 
as a <GlobalNamingResources> element everything works.

Any suggestions would be greatly appreciated.  

Kind Regards,

-- Sherman

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message