I am running james 1.2.2 under Windows XP Pro with MySQL 4. After james
runs for a while (hour or so) it stops responding. In the default.log
file I see MANY entries along the lines of:
16/09/03 21:51:28 INFO database-connections.maildb: ***** connection
240 is way too old: 62239 > 60000
16/09/03 21:51:28 INFO database-connections.maildb: java.lang.Throwable
at
org.apache.james.util.mordred.PoolConnEntry.lock(PoolConnEntry.java:84)
at
org.apache.james.util.mordred.JdbcDataSource.getConnection(JdbcDataSourc
e.java:127)
at
org.apache.james.mailrepository.JDBCSpoolRepository.loadPendingMessages(
JDBCSpoolRepository.java:228)
at
org.apache.james.mailrepository.JDBCSpoolRepository.getNextPendingMessag
e(JDBCSpoolRepository.java:203)
at
org.apache.james.mailrepository.JDBCSpoolRepository.accept(JDBCSpoolRepo
sitory.java:137)
at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.jav
a:577)
at java.lang.Thread.run(Unknown Source)
In the default.log I see MANY entries along the lines of:
18/09/03 16:32:49 WARN connections: Maximum number of open connections
exceeded - refusing connection. Current number of connections is 30
It appears as though James is not closing connections..anythoughts?