• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
rk palleru
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Cant you use different context.xml for different web applications ?
 
rk palleru
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic