This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
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)
i am using orcale, mysql databases , if i use context.xml i can get datasource for only one db
Context Question
Legacy Data Store
ID GENERATOR FOR DATABASES???