Tomcat Database Connection Pool (DBCP) aka Tomcat JDBC Connection Pool is a replacement or an alternative to the Apache Commons DBCP connection pool
Questions tagged [tomcat-dbcp]
23 questions
0
votes
1 answer
tomcat dbcp _closed PoolableConnection but in ALLOCATED state
The java application using ojdbc6.jar, tomcat 7, tomcat-dbcp-8.0.3.jar (and other jars that's probably not relevant to this question), JDK 7 (u51)
We have identified that there is a connection leak using v$session report where some connection gets…

Aman ZeeK Verma
- 173
- 1
- 1
- 7
0
votes
2 answers
Unable to established database connection in Spring MVC using annotation and java based configuration
I am creating a Spring MVC application that established the database connection with MySQL database. I have used java based configuration. But I don't know why DataSoruce is coming null.
Can somebody tell where I am doing wrong?
The class where I…

Baba Ramdev
- 13
- 1
- 5
0
votes
0 answers
Tomcat DBCP, Connection closing issue during bulk insertion
I am using Tomcat connection pool to connect to database.
In my spring data class I am calling repository.save(List) with around 100 000 records. After executing DB queries for some time,the statement is failing saying connection is already closed.…

VNR
- 21
- 1
- 4
0
votes
1 answer
Tomcat dbcp removeAbandoned issue
Can some one please explain me how to use removeAbandoned property properly?
The issue is, we have service method which runs in a transaction (applied @Transactional). The body can be some thing like 1000 select statements followed by 1000 inserts…

Srikanth
- 534
- 1
- 7
- 20
0
votes
1 answer
org.apache.tomcat.dbcp.dbcp cannot be resolved to a type
I recently installed a newer version of Eclipse (Neon v1) and Tomcat 8.0, and I am now getting this error:
org.apache.tomcat.dbcp.dbcp cannot be resolved to a type.
I am 99% sure that nothing in my code has changed. The way I understand it,…

Nina
- 141
- 1
- 4
- 12
0
votes
1 answer
Tomcat 8 - Connection pool configuration
I'm currently migrating an app from Tomcat 7. I've gone through the migration guide and updated the properties that have been changed in Tomcat 8 (DBCP 2). However, on starting the app, the following error is displayed. Does anyone know if the…

saravana_pc
- 2,607
- 11
- 42
- 66
0
votes
0 answers
JNDI data source configuration issue in spring boot
My java configuration file looks like below -
@Bean
public JdbcTemplate jdbcTemplate() {
JdbcTemplate template = new JdbcTemplate(dataSource());
return template;
}
@Bean
public DataSource dataSource() {
JndiDataSourceLookup dataSource =…

Vidya Ramanarayanan
- 157
- 1
- 20
0
votes
0 answers
Tomcat 8: determine connection pool
In my context.xml for Tomcat 8 (Debian) I define the following resource:
...

broeni
- 97
- 1
- 8