This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes i am using orcale, mysql databases , if i use context.xml i can get datasource only for one db Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "i am using orcale, mysql databases , if i use context.xml i can get datasource only for one db" Watch "i am using orcale, mysql databases , if i use context.xml i can get datasource only for one db" New topic
Author

i am using orcale, mysql databases , if i use context.xml i can get datasource only for one db

rk palleru
Greenhorn

Joined: Feb 26, 2009
Posts: 22
please help me ...................

i am using orcale, mysql databases for two different web applications , i am executing both applications simultaneously if i specify in context.xml ,i can get datasource object only for one db(either oracle or mysql).
Balu Sadhasivam
Ranch Hand

Joined: Jan 01, 2009
Posts: 874


Cant you use different context.xml for different web applications ?
rk palleru
Greenhorn

Joined: Feb 26, 2009
Posts: 22
i am using tomcat 5.x
in tomcat 5.x i am declaring datasource object in server.xml then how it possible different server.xml's
 
Consider Paul's rocket mass heater.
 
subject: i am using orcale, mysql databases , if i use context.xml i can get datasource only for one db
 
Similar Threads
Jboss and mysql connection (failover)
Legacy Data Store
i am using orcale, mysql databases , if i use context.xml i can get datasource for only one db
Context Question
ID GENERATOR FOR DATABASES???