File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes JDBCRealm and Multiple Webapps Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JDBCRealm and Multiple Webapps" Watch "JDBCRealm and Multiple Webapps" New topic

JDBCRealm and Multiple Webapps

Ron Rea

Joined: Jul 03, 2001
Posts: 23
I am trying to run multiple webapps, each accessing its own database, under one instance of Tomcat. Both webapps use JDBCRealm, with each database having its own USERS and USERROLES table.
Is there a way to setup Tomcat so that each webapp will authenticate against it's own USERS/USERROLES tables?
Don't get me started about those stupid light bulbs.
subject: JDBCRealm and Multiple Webapps
Similar Threads
Local webapp users
Tomcat: how to admin users / group / roles into SQL database ??
Configuring multiple instances of tomcat in eclipse using tomcat plugin
Can Tomcat serve apps on two different IP addesses, both on port 80
JDBCRealm - different configuration for different deployed webapps