Re: Access tomcat instance from Java application

2015-06-22 Thread Daniel Mierswa
On 06/22/2015 02:28 PM, David kerber wrote: Or are you trying to use the database connection information in your tomcat installation, in a standalone java program? I think to do that, you will need to read in the .xml files and parse out the information you want from there. That's

Re: Access tomcat instance from Java application

2015-06-22 Thread David kerber
On 6/20/2015 1:57 PM, Daniel Mierswa wrote: Good afternoon list, I would like to know how to access a running tomcat installation from within another Java application which is not running in the tomcat container. More specifically I would like to end up using the datasource which is configured

Access tomcat instance from Java application

2015-06-20 Thread Daniel Mierswa
Good afternoon list, I would like to know how to access a running tomcat installation from within another Java application which is not running in the tomcat container. More specifically I would like to end up using the datasource which is configured via GlobalNamingResources in the