-
1. Re: Orphan connections...
patelcr Feb 23, 2005 5:32 PM (in response to dpegram)Calls to Connection.close() don't necessarily close the connection. Rather, they return the connection to the connection pool, and JBoss determines when to release those connections. However, it seems curious that you are running out of connections. I assume your current testing is starting and stopping a single instance of your client?? Also, Please paste your ???-ds.xml so we can have a better idea of what your configuration is.
-
2. Re: Orphan connections...
dpegram Feb 24, 2005 3:07 PM (in response to dpegram)Correct, I'm testing the client app via Eclipse which (I believe) only creates one instance of the client at a time. The XML config file is pretty simple. I've attached a copy.
Thanks for your help!
<local-tx-datasource>
<jndi-name>com/icoria/jdbc/DiscoDevDS</jndi-name>
<use-java-context>false</use-java-context>
<connection-url>jdbc:oracle:oci:@discodev</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>user</user-name>
password
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
</local-tx-datasource> -
3. Re: Orphan connections...
dpegram Feb 24, 2005 3:10 PM (in response to dpegram)I noticed the XML "password" tags were stripped from the previous post. They do exist in the XML config file.