This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
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.
 
 
subject: Oracle-ds.xml and Connection Pooling
 
Similar Threads
Jboss to Oracle Connectivity Problem
Connect DS with JNDI in JBoss AS
connection pool with jboss
Got NullPointer exception when injecting EntityManger
Oracle-ds.xml and Connection Pooling