File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

context files

 
ajse ruku
Ranch Hand
Posts: 196
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have two web application in my webapps(tomcat 5.x).Both appliocation are using same database.Currently i have two context files inside my tomcat/conf/Catalina/localhost corresponding to two web applications ,having the same content although file names are different.So my question is do I need two context files or one file will do?
regards,
ajse
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Each app gets its own context fragment file.
 
ajse ruku
Ranch Hand
Posts: 196
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks for your information.
In my case i have two webapps and two context files inside conf/Catalina/localhost.
But as the content of two context files are same i.e same resource amd resource params,i want to know is it possible to have same jndi name in two web apps?

regards,
Ajse
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic