Dispatchservletrequest servletresponse int line 272

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ing the files to have the local systems native line endings (LF for UNIX, CRLF for windows) Changing System DB pool size to 65 causes ActiveMQ to fail to get a connection When playing with the system database pool size in the console, I got into a state where the server was emitting the exceptions below every few minutes. I had turned the max size of that pool down from 100 to 65, and it was getting errors that it couldn't get a connection within the timeout (which I had set to 4000 ms). To replicate (not sure if this will definitely work): - Start Geronimo - Log in to the Console - Click "Database Pools" in the left nav - Click "Edit" next to "SystemDatasource" on the right - Change "Pool Max Size" to "65" and "Blocking Timeout" to "4000" and "IdleTimeout" to 1 and click "Save" - Do something else for a few minutes and see if you end up getting any errors printed to the server stdout I did this just now and did get the errors again, though I'm not 100% sure what the cause is. David Jencks suggested via IRC that it might be a bug with the pool resize code. 23:20:04,374 ERROR [JDBCPersistenceAdapter] Error in cleanup due to: java.sql.SQLException java.sql.SQLException at org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:61) at $javax.sql.DataSource$$FastClassByCGLIB$$6525cafd.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.apache.geronimo.connector.ConnectorMethodInterceptor.intercept(ConnectorMethodInterceptor.java:53) at $javax.sql.DataSource$$EnhancerByCGLIB$$9ea1bb9a.getConnection(<generated>) at org.activemq.store.jdbc.JDBCPersistenceAdapter.getConnection(JDBCPersistenceAdapter.java:417) at org.activemq.store.jdbc.JDBCPersistenceAdapter.cleanup(JDBCPersistenceAdapter.java:267) at org.activemq.store.jdbc.JDBCPersistenceAdapter$1.run(JDBCPersistenceAdapter.java:257) at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(Unknown Source) at jav...
View Full Document

This document was uploaded on 10/12/2012.

Ask a homework question - tutors are online