Connection pool « Database « Spring Q&A





1. How can I set up an LDAP connection pool in a JEE Container?    stackoverflow.com

I need to put an LDAP contextSource into my JEE container's JNDI tree so it can be used by applications inside the container. I'm using Spring-LDAP to perform queries against ORACLE OVD. ...

2. Spring Connection Pooling    stackoverflow.com

Can someone tell me or point me to a document/tutorial that explains the usage of Spring Connection Pool Datasource?

3. Spring.Data.NHibernate12:::Application not closing database connection(Getting max connection pool size reached)    stackoverflow.com

Even after successful transaction.Application connection with the database persist.in Hi , I am using Spring.Data.NHibernate12 on my database level.my application connection with database is not getting released. Underneath ...

4. JDBC connection pooling issue    stackoverflow.com

I have, I might say, a quite a big issue. I'm working on Java web application which use springs BasicDataSource to setup DB connection. I was testing the application locally and it ...

5. spring connection pooling issue    stackoverflow.com

I'm not experienced in Java and Spring. I try to write a program that uses JdbcTemplate for Data access. I use DBCP pooling, here it is:

    <bean id="myDataSource" ...

6. Spring JDBC connection pool best practices    stackoverflow.com

I have a basic Spring JDBC application with a pretty basic configuration:

<bean id="myDataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
   <property name="driverClassName" value="oracle.jdbc.OracleDriver"/>
   <property name="url" value="jdbc:oracle:thin:@1.1.1.1:1521:XXX"/>
   <property name="username" value="username"/>
   ...

7. Connection pool singleton - Spring config candidate?    stackoverflow.com

GenericObjectPool connectionPool = new GenericObjectPool(null);
ConnectionFactory connectionFactory = 
    new DriverManagerConnectionFactory(
        properties.getProperty("dbVendor"),
        properties.getProperty("user").toString(),
   ...

8. How exactly does the database connection pooling works ?    forum.springsource.org

How exactly does the database connection pooling works ? I am using Spring ORM (2.5.6) with hibernate (3.3.2.GA). For the database connection pooling i have used c3p0 (0.9.1.2) with oracle 10g. ...

9. Illegal attempt to create connection from another pool problem    forum.springsource.org

Illegal attempt to create connection from another pool problem Hey guys I am running into a problem where I need to use the following combination of logical layers using different technologies. ...





10. Spring vs Jboss connection pooling    forum.springsource.org

Hi, I am new to Spring. I am working for the project to integrate JSF 2.0 and Spring 2.5. We can make the connection pooling in Jboss and Spring. Which one ...

11. connection pool not usable after application context refresh    forum.springsource.org

connection pool not usable after application context refresh Hi all, I needed to call AbstractXmlApplicationContext.refresh() so that all the beans are reloaded. After I reloaded I am not able to use ...

12. Connection Pool Exception: Cannot get a connection, pool error Timeout waiting for id    forum.springsource.org

Connection Pool Exception: Cannot get a connection, pool error Timeout waiting for id I am running a web application in Production that recently crashed after it was under some stress. I ...

13. Issue with releasing JDBC connection to WAS7 connection pool    forum.springsource.org

Issue with releasing JDBC connection to WAS7 connection pool We are using Spring/Hibernate with WebSphere 7.0 application server and our system has been configured to use WebSpheres JDBC data source along ...

14. Soring, eclipselink sequence connection pool    forum.springsource.org

Soring, eclipselink sequence connection pool I'm using eclipselink and spring in tomcat, mysql enviornment. I want to use a sequence connection pool, so that sequence allocations are done outside of the ...

15. How to specify number of connections in c3po pool    forum.springsource.org

How to specify number of connections in c3po pool I am working on a non-web based application and I am using spring with hibernate. For connection pooling I am using c3po. ...

16. how do i use jboss connection pool in Spring    forum.springsource.org

Hi I would like to know how to use jboss connection pooling in Spring. I am using Hibernate for persistence layer. I dont want to use hibernates connection pooling using proxool.xml ...





17. Connection Pooling    forum.springsource.org

Hi, I've recently started reading about connection pooling and as I went through the subject I got confused. I read about C3P0 (which is mentioned in hibernate in action), DBCP, xapool ...

18. Database Connection Pool Statistics/Monitoring via JMX    forum.springsource.org

I would like to be able to monitor a database connection pool via JMX. c3p0 has some methods you can call given a PooledDataSource to find out how many connections are ...

19. connection pool question    forum.springsource.org

connection pool question I'm trying to use connection pooling but looking at the petclinic-example I get a little confused: In applicationContext-jdbc.xml a dataSource is defined: ... ...

20. How to know size of connection pool?    forum.springsource.org

ApplicationContext snippet: org.hsqldb.jdbcDriver jdbc:hsqldb:hsql://localhost/sa sa sa How to know size of connection pool? Is ...

21. Connection pool getting exhausted.    forum.springsource.org

Jul 22nd, 2005, 10:44 AM #1 vaibhav.gandhi View Profile View Forum Posts Private Message Junior Member Join Date Mar 2005 Posts 9 Connection pool getting exhausted. Hi , I am using ...

22. Using Weblogic Connection Pool    forum.springsource.org

Using Weblogic Connection Pool Hi all, I am new to WebApplication. I had created a Simple Appication Using Spring that reads and write records to the database. The Classes Uses JDBCTemplate. ...

23. How to monitor current size of connection pool    forum.springsource.org

I am getting pool exhausted exceptions and wanted to know if I have a connection leak. Is there a way I can monitor the current number of connections in the pool, ...

24. Connection pooling    forum.springsource.org

Connection pooling Hi, Can any one point me to a good connection pooling example please. I am using spring, hibernate with tomcat. Currently i have the dbcp basic data source as ...

25. why connection is not returned to connection pool?    forum.springsource.org

why connection is not returned to connection pool? i read some of the spring source code and according to my understanding, after each transaction that is managed by spring, the connection ...

26. How connection pooling is handled in spring    forum.springsource.org

Hi , When we configure DataBase in our application using DriverManagerDataSource,we do not mention anything regarding connection pool.We just mention driver name,username and password.I want to know then how spring manages ...

27. Dynamic connection pooling    forum.springsource.org

Dynamic connection pooling I'm working on a Spring-based application whose purpose is to analyze differences between remote databases configured by the user. The information necessary to connect to those databases is ...

28. Data Connection Pool Problem    forum.springsource.org

Data Connection Pool Problem Hi, I am not sure whether its right forum to put this question. But being we are using Spring I am going ahead. In our application we ...

29. Configuring Connection Pool Event Listener( Proxool)    forum.springsource.org

Configuring Connection Pool Event Listener( Proxool) Hello everyone! Can anyone point me to the configuration of Connectionpool's EventListener? For eg. Proxool has its own ConnectionEventListener called ConnectionListenerIF( this has method to ...

30. LDAP connection pool in application scope    forum.springsource.org

LDAP connection pool in application scope I am using Moziall LDAP API to create the LDAP connection pool. I was wondering if there was a way for me to put the ...

31. connection pooling example    forum.springsource.org

connection pooling example I've been following along w/ this tutorial trying to put my app together and then ran into the very last paragraph here ... http://www.springframework.org/docs/...ep-Part-4.html I'm wondering how to ...

32. Initializing each connection from pool    forum.springsource.org

Initializing each connection from pool Hello, I'm developing an application in which each database connection retrieved from the pool must be initialized with the application user's information due to some legacy ...

33. Releasing JDBC connection (Connection pooling)    forum.springsource.org

Releasing JDBC connection (Connection pooling) Hi My log shows that the jdbc connection is being released although I have set the connection pooling. Is there something I am doing wrong or ...

34. Connection pooling    forum.springsource.org

Hi, My apologies in advance if I am posting in the wrong forum. I am using Spring, Hibernate and MySQL. How do I actually create or declare a connection pool for ...

35. How to do connection pooling using spring    forum.springsource.org

Hi, I am developing an web application using spring and I have finished the code for calling stored procedure. But now I want to do connection pooling for this application. Do ...

36. What must be optimum active connection size in connection pool    forum.springsource.org

What must be optimum active connection size in connection pool Hi, I have developed a application in which i have used spring's JDBC for database related activities, while entire application is ...

37. JDBC sharing JBoss connection pool w/ EJBs    forum.springsource.org

JDBC sharing JBoss connection pool w/ EJBs Hi, We're using JBoss 4.0.3 SP1 with Spring 1.2.8. The database is a little-known one, Transbase. The original application was a straight Spring web ...

38. Cannot get a connection, pool error Timeout waiting for idle object    forum.springsource.org

Cannot get a connection, pool error Timeout waiting for idle object I developed a web app, tested over a week, then deployed into production. Now, after about 20 minutes, I get ...

39. Connection Pooling debug info    forum.springsource.org

Connection Pooling debug info Hello! We are using Spring to rewrite a stand alone java application (no j2ee container). We think this app may benefit from using connection pooling. So, I ...

40. database Connection pool query    forum.springsource.org

HI , we are using Spring framework on Websphere 6 for our application , and we have lot of database intercations we need to implemnt connection pooling. can you pls recommend ...

41. Connection pooling    forum.springsource.org

Thanks Steve & pompeii..for the inputs I had a look at the documentation... You have 2 options for Connection pooling a) make use of connection pooling created & maintained by application ...

42. Connection pooling -response    forum.springsource.org

Connection pooling -response Hi My config file is as follows.. ...

43. connection pool blues...    forum.springsource.org

SOLVED: connection pool blues... Hi folks, First time poster here.. did a bit of background on this problem, but couldn't find anything.. I'm having connection pooling issues using spring against MySQL ...

44. JBOSS Connection Pool Usage    forum.springsource.org

JBOSS Connection Pool Usage Hi, We are trying to use JBOSS connection pool in Spring framework. We are getting some weired exception when I try to refer JBOSS connection pool in ...

45. all connections in pool are sleepy!    forum.springsource.org

all connections in pool are sleepy! Hibernate is not re-using the connections in the pool. When I do "show processlist" in mysql, I can see most of them are in "Sleep" ...

46. Connection Pool timeout and re-initialization    forum.springsource.org

Connection Pool timeout and re-initialization Hi All, I'm not sure this is the correct place to ask this question, but I'm not sure where else to start. I have a Spring ...

47. Jboss connection pool doesn't release the connections    forum.springsource.org

Jboss connection pool doesn't release the connections Guys, i'm writting an application using JBoss and JNDI to make the access and the pool to the database. But i'm with a serious ...

48. Shall I use a Connection Pool for my Desktop app?    forum.springsource.org

Shall I use a Connection Pool for my Desktop app? Hi all, I am working on a desktop application and I have used Spring and Hibernate for the good stuff they ...

49. Putting a connection back on the Pool    forum.springsource.org

Putting a connection back on the Pool Hi I've been doing some performace with spring jdbctemplate which uses the org.apache.commons.dbcp.BasicDataSource as a datasource. Basically I have a DAO that executes stored ...

50. Spring with JNDI connection pooling    forum.springsource.org

Hi all, Can somebody tell me how I can make the pool of connections with JNDI. I have donw it with dbcp but can not do it with JNDI. I have ...

51. Connection Pooling    forum.springsource.org

We are developing an application based on Spring, using JPA(JPATransactionManager) for the backend. The web application will be deployed on a cluster of tomcats. Is there anyway I can ensure that ...

52. Connection pooling issue using Spring JDBC.    forum.springsource.org

Hello, The project I am working on uses Struts, Spring and Oracle. The problem we face is that though in the configuration XML the caching details have been mentioned there is ...

53. Connection pooling issue using Spring JDBC.    forum.springsource.org

Hello, The project I am working on uses Struts, Spring and Oracle. The problem we face is that though in the configuration XML the caching details have been mentioned there is ...

54. how to setup Connection pooling outside the container,    forum.springsource.org

I have web application and using custom connection pooling class using DriverManger.getConnection() , I would like to use Spring Connection Pooling solution, any ideas how I can get started Please explain ...

55. Connection Pooling    forum.springsource.org

Connection Pooling Hi all, I noticed my connections were never being closed but rather were timing out. I am using Spring along with Hibernate. Every page request would open an additional ...

56. Spring newbie: Need help with connection pooling    forum.springsource.org

Spring newbie: Need help with connection pooling Hello all, I need some help with connection pooling. Here is what my applicationContext file has: Code: ...

57. how to standalone application connection pooling    forum.springsource.org

I have a standalone java application using JDK 1.4. I want to use connection pooling. (our db is oracle) Is spring provides implementing connection pooling for a standalone java application? If ...

58. Stale connections in connection pool    forum.springsource.org

Stale connections in connection pool Hi, I'm having some difficulties with my application where after running for some time, e.g. 30 minutes, a number of, but not all, requests fail with ...

59. Which connection pool to use in a production environment ?    forum.springsource.org

Hi, I'm currently using C3PO to implement Connection Pooling. The latest release of C3PO dates from 2007 and I have the impression that C3PO is no longer maintained. For this reason, ...

60. Connection Pool exhausted......    forum.springsource.org

Connection Pool exhausted...... Hi All, "Need Urgent Help" I'm using JBoss 4.2., Spring 2.5.6, and Oracle 11. My clients invokes my web Service from different locations in the country.... Its a ...

61. Help! Getting: "Cannot get a connection, pool error Timeout waiting for idle object"    forum.springsource.org

Oct 12th, 2009, 06:18 PM #1 mystic View Profile View Forum Posts Private Message Senior Member Join Date May 2009 Posts 246 Help! Getting: "Cannot get a connection, pool error Timeout ...

62. Does spring has it's own database connection pool mechanism    forum.springsource.org

Hi Friends, Does spring has it's own connection pool mechanism? or we should go with third party mechanisms like DBCP, etc. I was searching for a connection pool solution, what I ...

63. JDBC Connection pool issue    forum.springsource.org

Hi, I am integrate Jasper report in Spring frame work, everything works perfectly fine, except that after awhile of testing the app I am running out of the connection. I have ...

64. [Announce] BoneCP - a new JDBC connection pool    forum.springsource.org

Just a short note to announce the availability of a new, open source, JDBC connection pool -- BoneCP, available at http://jolbox.com. The main feature is it's speed -- according to my ...

65. How to configure Weblogic Connection Pool    forum.springsource.org

Hi, I am new to Spring Framework. I want to use the Weblogic connection pool from my spring application. can anyone give me the step by step guide to configure weblogic ...

66. Connection pooling    forum.springsource.org

Connection pooling We are using Spring and org.apache.commons.dbcp.BasicDataSource in jBoss, Tomcat and some command line apps. I don't believe we are doing any further configuration. My questions are: 1) For jBoss ...

67. Get connection pool info progmatically?    forum.springsource.org

Get connection pool info progmatically? I'm trying to create an admin page which can show the current number of active and idle connections in the pool. Currently, I always get 0 ...