[ 
http://issues.apache.org/jira/browse/JAMES-697?page=comments#action_12451041 ] 
            
Joachim Draeger commented on JAMES-697:
---------------------------------------

The login in the streamdump seems to work.
So it's probably an additional connection that fails. is there a corresponding 
streamdump? (A probably very short one..)

So you just start James, open thunderbird and the error occurs everytime?
Does another account on that server work with the same client?

Another thing I notice is that the RECENT count can't be allright. (I'm not 
even sure if it's implemented completely).

What happens? Connection 1 lists the flags of all 989 messages, connection 2 
tries to login and connection fails?
And connection 2 kills also connection1 at message 11... But maybe thunderbird 
cancels all connection after the error.
Can you do just 
1 login "nm" "xxxxx" 
2 select "INBOX"
3 UID fetch 1:* (FLAGS) 

from telnet without problems?

Strange...



> 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]

Reply via email to