Dominik, that worked! Champion!!!
My revised context.xml looks like this:
Context path=/mind
docBase=D:/Development/Projects/mind/src/webapp debug=99
reloadable=true
Resource name=jdbc/MindDB auth=Container
type=javax.sql.DataSource
maxActive=100 maxIdle=30 maxWait=1
Hi,
This is an excerpt of my code, to get a Context.
Try and see if it works for you.
31 private void initDataSource () {
32 try {
33 Context initCtx = new InitialContext();
34 Context envCtx = (Context)
initCtx.lookup(java:comp/env);
35
Hi Sven,
I can access the data source from within my code using the name
java:/comp/env/jdbc/MindDB and everything works great. It's just
that the Realm can't... I have found a few other posts to this list
with the same problem and one of the email suggested that the Realm is
configured before
Dan Washusen [EMAIL PROTECTED] wrote:
Hi Sven,
I can access the data source from within my code using the name
java:/comp/env/jdbc/MindDB and everything works great. It's just
that the Realm can't... I have found a few other posts to this list
with the same problem and one of the email
Hi All,
I'm trying to get container managed authentication going under Tomcat
5.5 using the org.apache.catalina.realm.DataSourceRealm class. I've
configured a DataSource using the name jdbc/MindDB and I can access
that from within my app, but when the configured DataSourceRealm tries
to access it