wood burning stoves 2.0*
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
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Oracle-ds.xml and Connection Pooling" Watch "Oracle-ds.xml and Connection Pooling" New topic
Author

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 !!!

regards
Naren


Narendran J S<br />SCJP 1.4<br /><a href="http://narendranj.blogspot.com" target="_blank" rel="nofollow">http://narendranj.blogspot.com</a><br /><a href="http://narendranj.blogspot.com" target="_blank" rel="nofollow">http://techboom.blogspot.com</a><br /><a href="http://bookmarks-share.blogspot.com" target="_blank" rel="nofollow">http://bookmarks-share.blogspot.com</a>
norman richards
Author
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.
 
Don't get me started about those stupid light bulbs.
 
subject: Oracle-ds.xml and Connection Pooling