This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes datasource on tomcat 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "datasource on tomcat 6" Watch "datasource on tomcat 6" New topic
Author

datasource on tomcat 6

Neeraj Vij
Ranch Hand

Joined: Nov 25, 2003
Posts: 315
Hi,

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

Thanks
Neeraj.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

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

Joined: Apr 25, 2005
Posts: 23
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

Joined: Oct 12, 2001
Posts: 1179

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.


Regards, Rene Larsen
Dropbox Invite
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: datasource on tomcat 6
 
Similar Threads
how to configure oracle DataSource into Tomcat 6
Exception while connectiing DB through Tomcat
Connection pool
set applicationname in Datasource for tomcat5
isELIgnored="false"