This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
 
It's not a secret anymore!