tag:blogger.com,1999:blog-6077920348531885899.post8436927278124317017..comments2024-03-24T17:09:59.759+05:30Comments on For The Oracle Fusion Middleware Admins ...: Understanding Data Sources and Connection Pool in WeblogicSoumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-6077920348531885899.post-31929605749562548552011-12-19T13:21:58.868+05:302011-12-19T13:21:58.868+05:30Hello Sanjay,
We are facing a problem while using ...Hello Sanjay,<br />We are facing a problem while using Weblogic data source with hibernate .<br />So we have a jpa.properties which have an entry to use weblogic data source<br /><br />**********<br />hibernate.connection.datasource=java/MyDS<br />hibernate.jndi.url=t3://localhost:7001<br />hibernate.jndi.class=weblogic.jndi.WLInitialContextFactory<br />**********<br /><br />I have a standalone java program where millions of messages are coming and there are multiple java threads (max 50 at a time) running , using the data base connection to persist the data.<br /><br />Now the issue is what ever size I define for connection pool for this data source , I end up consuming all in a fraction of a second . I defined 250, 500 size. but still i get exception saying "Unable to get connection, increase size of data source".<br /><br />Can you point me to some details documentation which talks about how to configure an efficient data source in Weblogic? And use it with an external application (as in my case).<br /><br />I am using Oracle weblogic server 11gR1 patchset 3.Anonymousnoreply@blogger.com