tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katilie, John" <>
Subject Getting the URL of a DataSource
Date Mon, 03 Mar 2008 21:08:06 GMT
All, this may be a dumb question but I've exhausted my research and just
wondering what other users out there are doing.

I would like to get the URL for a DataSource to display for debugging
Informational reasons. I know I can get the URL after I get the
DataSource and get a connection from the connection metadata. My problem
is what if the
Connection fails? It seems without the connection I can not get the URL
for the DataSource. 

This is an application running under Tomcat 6.0.14. I guess I could get
the URL from the JMX DataSource objects created by Tomcat (I can see
them with jconsole). But is there another way? Am I missing something? I
hope this question makes sense...

Thanks for any and all comments.

Regards, John.  

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message