• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

datasource on tomcat 6

 
Neeraj Vij
Ranch Hand
Posts: 315
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How can I use the Datasource created in Tomcat 6 outside the webapps deployed in it.

Thanks
Neeraj.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Neeraj Vij:

How can I use the Datasource created in Tomcat 6 outside the webapps deployed in it.



you mean JNDI ? please visit tomcat-docs under the web-apps folder of tomcat

you may get information
 
Bhaskar Rao
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Tomcat does not yet provide JNDI access to external applications running outside Tomcat. The datasource created within Tomcat is available ONLY to Web Apps running inside Tomcat.

More info Tomcat Datasource
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you should take a look at the JBoss AS, in which you can set the datasource up, so it can be reached from outside the server.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic