-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: JDBC connection outside connection pool
PostPosted: Tue Feb 01, 2005 4:18 pm 
Newbie

Joined: Tue Feb 01, 2005 4:10 pm
Posts: 3
Just a general query in case someone has encountered similar pattern. My application is falling over under stress and it turns out, it is creating a large number of DB connections outside the configured connection pool. i.e. the connections in the pool remains within the default 5, but the number of active physical DB connections grows enormously large. I wasn't able to trace back the code from which these connections are created.

Does anyone know of specific Hibernate settings that may create connections outside the weblogic connection pool?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 01, 2005 4:55 pm 
Senior
Senior

Joined: Tue Aug 03, 2004 2:11 pm
Posts: 142
Location: Somerset
What database are you using ?

_________________
On the information super B road


Top
 Profile  
 
 Post subject: Re: JDBC connection outside connection pool
PostPosted: Tue Feb 01, 2005 4:57 pm 
Senior
Senior

Joined: Tue Aug 03, 2004 2:11 pm
Posts: 142
Location: Somerset
woofmain wrote:
Does anyone know of specific Hibernate settings that may create connections outside the weblogic connection pool?


Almost sounds as if you have hibernate configured not to use a datasource.

_________________
On the information super B road


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 01, 2005 11:24 pm 
Newbie

Joined: Tue Feb 01, 2005 4:10 pm
Posts: 3
Paul Newport wrote:
What database are you using ?


I am connecting to Oracle 9i, using Hibernate 2.1.


Top
 Profile  
 
 Post subject: hello
PostPosted: Tue Feb 01, 2005 11:42 pm 
Newbie

Joined: Tue Feb 01, 2005 11:03 pm
Posts: 2
[quote="woofmain"][quote="Paul Newport"]What database are you using ?[/quote]

I am connecting to Oracle 9i, using Hibernate 2.1.[/quote][color=green][/color][color=green][/color][color=red][/color][color=yellow][/color][color=green][/color][b][i][u][quote][list][size=9][/size][list=][img][/img][url][color=red][/color][size=12][/size][/url][/list][/list][/quote][/u][/i][/b]


Top
 Profile  
 
 Post subject: Re: hello
PostPosted: Tue Feb 01, 2005 11:45 pm 
Newbie

Joined: Tue Feb 01, 2005 11:03 pm
Posts: 2
yangtonggan wrote:
woofmain wrote:
Paul Newport wrote:
What database are you using ?


I am connecting to Oracle 9i, using Hibernate 2.1.
Quote:
    [list=][url][/url]
[/list]


Top
 Profile  
 
 Post subject: Re: JDBC connection outside connection pool
PostPosted: Wed Feb 02, 2005 1:25 am 
Newbie

Joined: Tue Feb 01, 2005 4:10 pm
Posts: 3
[quote="Paul Newport]Almost sounds as if you have hibernate configured not to use a datasource.[/quote]

Datasource is configured and it is using some of the connections in the connection pool. However, what baffles me are the huge number of JDBC connections that are being created outside the pool. Is there any settings in Hibernate that causes it to open up new connections outside the configured pool?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.