File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to configure c3p0 connection pool weblogic ??

 
RaviNada Kiran
Ranch Hand
Posts: 528
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody on this :

How to configure c3p0 connection pool weblogic and use it with Hibernate .
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you want to use c3p0 in WebLogic? It has its own connection pool implementation, is it not just easier to use that?
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 528
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
because c3po is efficient third party connection pool mechanism .
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I mentioned earlier, this can be achieved using Weblogic configuration itself only. Did you try looking into that?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 528
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Paul and Vishal
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're Welcome!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic