Is it possible to get the instance name from JNDI
I know that the *ds.xml file have the instance name in the jdbc connection string my
question is can I get that information from within JBOSS?
Example :
<local-tx-datasource>
<jndi-name>jdbc/cpr</jndi-name>
<connection-url>jdbc:oracle:thin:@192.168.11.92:1613:devInst</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>sam</user-name>
sam
<max-pool-size>20</max-pool-size>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
</local-tx-datasource>
Goal: inside of JBOSS I want to get: devInst
Reason: I want to have a webpage display what instance this application is persisting
against. My clients have many instances on the same box and need to know which
instance they are testing.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828898#3828898
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828898
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user