Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Database pool problem

Chaikin, Yaakov Y (US SSA)

2003-12-05


>  Could you show us how you make a simple connection to that M$
Acess
> database to compare?

Well, I sort of already did. The realm is working 100% using that
database. Here is my <Realm> tag:

<Realm
  className="org.apache.catalina.realm.JDBCRealm"
 connectionName="default"
 connectionPassword="afecrelease2003"
 connectionURL="jdbc:odbc:afec" debug="0"
 driverName="sun.jdbc.odbc.JdbcOdbcDriver"
 roleNameCol="UserRole"
 userCredCol="UserPassword"
 userNameCol="UserName"
 userRoleTable="TestUsers"
 userTable="TestUsers" validate="true"/>

This works and it's the same attributes, just with different names to
comply with Realm tag dtd.

Any ideas?

Thanks,
Yaakov.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.