[ http://issues.apache.org/jira/browse/JAMES-697?page=comments#action_12451050 ] Norman Maurer commented on JAMES-697: -------------------------------------
Ok i moved the message .. now i got the same error later: # telnet 192.168.0.252 10143 Trying 192.168.0.252... Connected to 192.168.0.252. Escape character is '^]'. * OK IMAP4rev1 Server 127.0.0.1 ready a login nm xxxxx a OK LOGIN completed. a select "INBOX" * FLAGS (\Answered \Deleted \Draft \Flagged \Recent \Seen) * 1330 RECENT * OK [UIDVALIDITY 472129943] * 1330 EXISTS * OK [UNSEEN 5] Message 5 is the first unseen * OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Recent \Seen)] a OK [READ-WRITE] SELECT completed. a UID fetch 1:* (FLAGS) * 1 FETCH (FLAGS (\Recent \Seen) UID 1) * 2 FETCH (FLAGS (\Recent \Seen) UID 2) * 3 FETCH (FLAGS (\Recent \Seen) UID 3) * 4 FETCH (FLAGS (\Recent \Seen) UID 4) * 5 FETCH (FLAGS (\Recent) UID 5) * 6 FETCH (FLAGS (\Recent) UID 6) * 7 FETCH (FLAGS (\Recent) UID 7) * 8 FETCH (FLAGS (\Recent) UID 8) * 9 FETCH (FLAGS (\Recent) UID 9) * 10 FETCH (FLAGS (\Recent) UID 10) * 11 FETCH (FLAGS (\Recent \Seen) UID 11) * 12 FETCH (FLAGS (\Recent) UID 13) * 13 FETCH (FLAGS (\Recent) UID 14) * 14 FETCH (FLAGS (\Recent) UID 15) * 15 FETCH (FLAGS (\Recent) UID 16) * 16 FETCH (FLAGS (\Recent) UID 17) * 17 FETCH (FLAGS (\Recent) UID 18) * 18 FETCH (FLAGS (\Recent) UID 19) * 19 FETCH (FLAGS (\Recent) UID 20) * 20 FETCH (FLAGS (\Recent) UID 21) * 21 FETCH (FLAGS (\Recent) UID 22) * 22 FETCH (FLAGS (\Recent) UID 23) * 23 FETCH (FLAGS (\Recent) UID 24) * 24 FETCH (FLAGS (\Recent) UID 25) * 25 FETCH (FLAGS (\Recent) UID 26) * 26 FETCH (FLAGS (\Recent \Seen) UID 28) * 27 FETCH (FLAGS (\Recent) UID 29) * 28 FETCH (FLAGS (\Recent) UID 30) * 29 FETCH (FLAGS (\Recent) UID 31) * 30 FETCH (FLAGS (\Recent) UID 32) * 31 FETCH (FLAGS (\Recent) UID 33) * 32 FETCH (FLAGS (\Recent) UID 34) * 33 FETCH (FLAGS (\Recent) UID 35) * 34 FETCH (FLAGS (\Recent) UID 36) * 35 FETCH (FLAGS (\Recent) UID 37) * 36 FETCH (FLAGS (\Recent) UID 38) * 37 FETCH (FLAGS (\Recent) UID 39) * 38 FETCH (FLAGS (\Recent) UID 40) * 39 FETCH (FLAGS (\Recent) UID 41) * 40 FETCH (FLAGS (\Recent) UID 42) * 41 FETCH (FLAGS (\Recent) UID 43) * 42 FETCH (FLAGS (\Recent) UID 44) * 43 FETCH (FLAGS (\Recent) UID 45) * 44 FETCH (FLAGS (\Recent) UID 46) * 45 FETCH (FLAGS (\Recent) UID 47) * 46 FETCH (FLAGS (\Recent) UID 48) * 47 FETCH (FLAGS (\Recent) UID 49) * 48 FETCH (FLAGS (\Recent) UID 50) * 49 FETCH (FLAGS (\Recent) UID 51) * 50 FETCH (FLAGS (\Recent) UID 52) * 51 FETCH (FLAGS (\Recent) UID 53) * 52 FETCH (FLAGS (\Recent) UID 54) * 53 FETCH (FLAGS (\Recent) UID 55) * 54 FETCH (FLAGS (\Recent) UID 56) * 55 FETCH (FLAGS (\Recent) UID 57) * 56 FETCH (FLAGS (\Recent) UID 58) * 57 FETCH (FLAGS (\Recent) UID 59) * 58 FETCH (FLAGS (\Recent) UID 60) * 59 FETCH (FLAGS (\Recent) UID 61) * 60 FETCH (FLAGS (\Recent) UID 62) * 61 FETCH (FLAGS (\Recent) UID 63) * 62 FETCH (FLAGS (\Recent) UID 64) * 63 FETCH (FLAGS (\Recent) UID 65) * 64 FETCH (FLAGS (\Recent) UID 66) * 65 FETCH (FLAGS (\Recent) UID 67) * 66 FETCH (FLAGS (\Recent) UID 68) * 67 FETCH (FLAGS (\Recent) UID 69) * 68 FETCH (FLAGS (\Recent) UID 70) * 69 FETCH (FLAGS (\Recent) UID 71) Error closing connection. Connection closed by foreign host. Maybe the problem appears only on big messages or if a memory limit is used ? > Exception when try login imapserver > ----------------------------------- > > Key: JAMES-697 > URL: http://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: http://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]
