tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilbert, Antoine" <AGilb...@korem.com>
Subject DataSourceRealm vs DataSource
Date Wed, 15 Nov 2006 20:22:02 GMT
Hi

 

I have a data source and a data source realm using this data source.
Both are defined in the context. It seems the realm is unable to
reference the data source. I get this error message:

 

ERROR
[org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/pushnse
e-trunc]][15-11-2006 15:08:16]: Exception performing authentication

 javax.naming.NameNotFoundException: Name pushnsee is not bound in this
Context

 

Here is an example of what I'm trying to do

 

<Resource name="pushnsee" auth="Container"

          type="javax.sql.DataSource"
driverClassName="com.lutris.instantdb.jdbc.idbDriver"

          url="jdbc:idb:D:/Dev/ultimate/data/db/admin.prp"

          username="PUBLIC" password="PUBLIC" maxActive="10" maxIdle="5"
maxWait="30000"/>

 

<Realm className="org.apache.catalina.realm.DataSourceRealm"

       dataSourceName="pushnsee"

       userTable="pnsUsers" userNameCol="userLogin"
userCredCol="password"

       userRoleTable="pnsProfilesRolesAgg" roleNameCol="roleName"/>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message