Hi,
I am trying to write a custom realm that authenicates to a database. I am trying to use a JDBC datasoure within the realm. When I try to access this datasource through JNDI I get a NamingException of "Name java:comp is not bound in this Context" If I access the same JDBC datasource through a servlet in the same context everything works. If I remove the JNDI lookup from the realm and authenticate every request the realm works. Both the custom realm and the JDBC datasource are defined in the same context in the server.xml. I am using 4.0.3 and JDK 1.3.X Any help would be great. Thanks for your time, Doug _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
