> From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
> Subject: Connecting to a Database
> 
> Tomcat 6.0.24
> Windows Server 2003 R2 SP2
> SQL Server 2005 Express
> Microsoft SQL Server 2005 JDBC Driver 1.2 - October 2007
> 
> I know I need to configure a Realm 

Are you sure?  A <Realm> is used for authentication only, not for a webapp that 
accesses a database.  Do you perhaps mean <Resource>?

> JDBCRealm or JNDI DataSourceRealm?

If you are in fact storing credentials in SQL Server, use DataSourceRealm - 
it's much more robust.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to