¡@

Home 

java Programming Glossary: maxactive

JDBC connection pool runs out of connections when Context reload=“true” is enabled in Tomcat

http://stackoverflow.com/questions/13595794/jdbc-connection-pool-runs-out-of-connections-when-context-reload-true-is-enabl

localhost 5432 somedb username postgres password 12345 maxActive 100 minIdle 10 initialSize 10 validatonQuery SELECT 1 validationInterval.. localhost 5432 somedb username postgres password 12345 maxActive 100 minIdle 10 initialSize 10 validatonQuery SELECT 1 validationInterval..

How to get UTF-8 working in java webapps?

http://stackoverflow.com/questions/138948/how-to-get-utf-8-working-in-java-webapps

name jdbc AppDB auth Container type javax.sql.DataSource maxActive 20 maxIdle 10 maxWait 10000 username foo password bar driverClassName..

Java+Tomcat, Dying database connection?

http://stackoverflow.com/questions/15949/javatomcat-dying-database-connection

dataSourceName auth Container type javax.sql.DataSource maxActive 100 maxIdle 30 maxWait 10000 username username password removeAbandoned..

Is it a good idea to put jdbc connection code in servlet class?

http://stackoverflow.com/questions/15981244/is-it-a-good-idea-to-put-jdbc-connection-code-in-servlet-class

localhost 3306 projectx username user password password maxActive 20 maxIdle 10 maxWait 1 JBoss way datasource jndi name jdbc..

How should I connect to a MySQL data source from Eclipse?

http://stackoverflow.com/questions/2299469/how-should-i-connect-to-a-mysql-data-source-from-eclipse

8 Context Resource name jdbc db type javax.sql.DataSource maxActive 100 maxIdle 30 maxWait 10000 url jdbc mysql hostname.com db..

refering Tomcat JNDI datasource in persistence.xml

http://stackoverflow.com/questions/2911439/refering-tomcat-jndi-datasource-in-persistence-xml

name jdbc myds auth Container type javax.sql.DataSource maxActive 10 maxIdle 3 maxWait 10000 username sa password driverClassName..

How to configure Tomcat 6.0 with MySQL

http://stackoverflow.com/questions/3485177/how-to-configure-tomcat-6-0-with-mysql

Resource name jdbc yourdb type javax.sql.DataSource maxActive 100 maxIdle 30 maxWait 10000 url jdbc mysql localhost 3306 yourdb..

What's the proper way to handle JDBC connections with Spring and DBCP?

http://stackoverflow.com/questions/3525529/whats-the-proper-way-to-handle-jdbc-connections-with-spring-and-dbcp

... After reading around a little bit I found the maxWait maxActive and maxIdle properties for the BasicDataSource from GenericObjectPool.. value 30 property name maxIdle value 1 property name maxActive value 1 bean First I set maxWait so that it wouldn't hang and.. was thrown regardless of the query complexity. Then I set maxActive and maxIdle so that it wouldn't throw the exceptions in the..

Configure hibernate to connect to database via JNDI Datasource

http://stackoverflow.com/questions/5303671/configure-hibernate-to-connect-to-database-via-jndi-datasource

true amp useUnicode true amp characterEncoding utf8 maxActive 15 maxIdle 7 validationQuery Select 1 Context putting this in.. org.h2.Driver url jdbc h2 mem target test db h2 hibernate maxActive 8 maxIdle 4 Context 2 web.xml which tells the container that..

Getting org.hibernate.exception.JDBCConnectionException: could not execute query even through JNDI

http://stackoverflow.com/questions/5340316/getting-org-hibernate-exception-jdbcconnectionexception-could-not-execute-query

3306 hposg autoReconnect true amp characterEncoding UTF 8 maxActive 8 maxIdle 4 Context and these modifications in web.xml resource.. to the context.xml and the problem seems to be solved maxActive 1 maxIdle 30 validationQuery SELECT 1 testWhileIdle true EDIT_2..

Exception NoClassDefFoundError for CacheProvider

http://stackoverflow.com/questions/7528862/exception-noclassdeffounderror-for-cacheprovider

value xxx property name initialSize value 5 property name maxActive value 20 bean bean id sessionFactory class org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean..

How to use JNDI DataSource provided by Tomcat in Spring?

http://stackoverflow.com/questions/9183321/how-to-use-jndi-datasource-provided-by-tomcat-in-spring

org.postgresql.Driver initialSize 5 maxWait 5000 maxActive 120 maxIdle 5 validationQuery select 1 poolPreparedStatements..

How to initialize in-memory HSQLDB using script via Spring

http://stackoverflow.com/questions/9329283/how-to-initialize-in-memory-hsqldb-using-script-via-spring

value property name initialSize value 5 property name maxActive value 10 property name poolPreparedStatements value true property..