On Thu, 10 Mar 2005 12:21:29 +0100, David Tonhofer, m-plify S.A. <[EMAIL PROTECTED]> wrote: > 00>Exception performing authentication > 01> **** javax.naming.NameNotFoundException: Name jdbc is not bound in this > Context > 02> **** at org.apache.naming.NamingContext.lookup(NamingContext.java:769)
Ah, cool, so you did not read the docs for the datasource realm, then ... http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#DataSourceRealm -> localDataSource > Out of luck? Bugs related to other Tomcat versions helped out: > > <http://issues.apache.org/bugzilla/show_bug.cgi?id=24723> > <http://issues.apache.org/bugzilla/show_bug.cgi?id=24836> > > I put the "Resource" element inside the "GlobalNamingResources" element, > described here: > <http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/globalresources.html> > ...and it worked! Makes sense. > Additionally: > > The 'factory' attribute of the 'Resource' element is mentioned nowhere... o_O > which is **BAD** because w/o the factory value the Realm Authentication seems > to > reduce to 'Access All Areas' - you don't get no error in the catalina log > either. You indeed should not be specifying the factory, and it works fine. Please stop whining. -- xxxxxxxxxxxxxxxxxxxxxxxxx R�my Maucherat Developer & Consultant JBoss Group (Europe) S�RL xxxxxxxxxxxxxxxxxxxxxxxxx --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
