This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes How to configure c3p0 connection pool weblogic ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "How to configure c3p0 connection pool weblogic ??" Watch "How to configure c3p0 connection pool weblogic ??" New topic
Author

How to configure c3p0 connection pool weblogic ??

RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
Can anybody on this :

How to configure c3p0 connection pool weblogic and use it with Hibernate .


If you want something you never had do something which you had never done
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Why do you want to use c3p0 in WebLogic? It has its own connection pool implementation, is it not just easier to use that?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
I agree with Paul.
FYI : In application servers like JBoss, Weblogic, WebSphere have managed environment. They do have their own configuration file where you can setup how you want to communicate with database. IMO they should support all the facilities provided by c3p0. It is possible to configure c3p0 but not suggested.
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
because c3po is efficient third party connection pool mechanism .
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
As I mentioned earlier, this can be achieved using Weblogic configuration itself only. Did you try looking into that?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

RaviNada Kiran wrote:because c3po is efficient third party connection pool mechanism .


True, but its unlikely to be better for use with Weblogic than the one supplied by WebLogic. And of course, the one supplied by WebLogic will fall under Oracle support, if you need c3p0 support you will have to buy it. And how to configure it will be well documented in the Weblogic docs.
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
Thanks Paul and Vishal
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
You're Welcome!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to configure c3p0 connection pool weblogic ??
 
Similar Threads
Connection pooling
Connection pool for XADataSource
how to configure persistence.xml - java persistence api - with apache commons pool
C3p0/Hibernate
Hibernate Connection Pooling.