This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Oracle-ds.xml and Connection Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Oracle-ds.xml and Connection Pooling" Watch "Oracle-ds.xml and Connection Pooling" New topic

Oracle-ds.xml and Connection Pooling

Narendran Nair
Ranch Hand

Joined: Sep 25, 2003
Posts: 35
Hello guys !!!

I got one dought ....
I got a oracle-ds.xml file and inside that file i got the <max-pool-size>15</max-pool-size> and my question is, Is there anyway to get this number 15 from this xml file, when the server is running plus my session bean in running .. i am working on a connection pooling mechanism ... and i just dont want to hard code the value 15.

any suggestions guys !!!


Narendran J S<br />SCJP 1.4<br /><a href="" target="_blank" rel="nofollow"></a><br /><a href="" target="_blank" rel="nofollow"></a><br /><a href="" target="_blank" rel="nofollow"></a>
norman richards
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
You can query and update the value using the MBean interface. This can be done programmatically or through something like the JMX Console.
I agree. Here's the link:
subject: Oracle-ds.xml and Connection Pooling