[ https://issues.apache.org/jira/browse/JAMES-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved JAMES-697. --------------------------------- Resolution: Fixed After upgrade james to latest trun version this error was not seen anymore. It seems it is fixed > Exception when try login imapserver > ----------------------------------- > > Key: JAMES-697 > URL: https://issues.apache.org/jira/browse/JAMES-697 > Project: James > Issue Type: Bug > Components: IMAPServer > Reporter: Norman Maurer > > 15/11/06 20:05:29 DEBUG imapserver: Created command class > org.apache.james.imapserver.commands.LoginCommand > 15/11/06 20:05:34 ERROR imapserver: Exception on connection from > IP-213157026062.dialin.heagmedianet.de (213.157.26.62) : An exception occurre > d getting a database connection. > org.apache.avalon.framework.CascadingRuntimeException: An exception occurred > getting a database connection. > at > org.apache.james.userrepository.AbstractJdbcUsersRepository.openConnection(AbstractJdbcUsersRepository.java:758) > at > org.apache.james.userrepository.AbstractJdbcUsersRepository.getUserByName(AbstractJdbcUsersRepository.java:662) > at > org.apache.james.userrepository.AbstractJdbcUsersRepository.test(AbstractJdbcUsersRepository.java:201) > at > org.apache.james.core.LocalUsersRepository.test(LocalUsersRepository.java:139) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke(BlockInvocationHandler.java:134) > at $Proxy6.test(Unknown Source) > at > org.apache.james.imapserver.commands.LoginCommand.doProcess(LoginCommand.java:49) > at > org.apache.james.imapserver.commands.CommandTemplate.process(CommandTemplate.java:66) > at > org.apache.james.imapserver.ImapRequestHandler.doProcessRequest(ImapRequestHandler.java:128) > at > org.apache.james.imapserver.ImapRequestHandler.handleRequest(ImapRequestHandler.java:74) > at > org.apache.james.imapserver.ImapHandler.handleConnection(ImapHandler.java:244) > at > org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:468) > at > org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55) > at > org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116) > Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot get a > connection, pool exhausted > at > org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:103) > at > org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) > at > org.apache.james.util.dbcp.JdbcDataSource.getConnection(JdbcDataSource.java:222) > at > org.apache.james.userrepository.AbstractJdbcUsersRepository.openConnection(AbstractJdbcUsersRepository.java:756) > ... 17 more > Caused by: java.util.NoSuchElementException: Timeout waiting for idle object > at > org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:756) > at > org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:95) > ... 20 more > 15/11/06 20:05:34 DEBUG imapserver: Calling disposeWatchdog() default Worker > #6 > 15/11/06 20:05:34 DEBUG imapserver: Returning a > org.apache.james.imapserver.ImapHandler to the pool -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]