David Araujo wrote:
Hi,

this time i'm getting another error when trying to pop 5000 from james:

09/02/06 15:23:09 ERROR pop3server: Exception during connection from .................... : Error accessing database
Caused by: java.sql.SQLException: Column Index out of range ( 2 > 1).
       at com.mysql.jdbc.ResultSet.getString(ResultSet.java:1787)
at org.apache.james.userrepository.JamesUsersJdbcRepository.readUserFromResultSet(JamesUsersJdbcRepository.java:46) at org.apache.james.userrepository.AbstractJdbcUsersRepository.getUserByName(AbstractJdbcUsersRepository.java:521) ... 7 more

My mail client only download 10 messages when james starts with this error.


I'm not sure but maybe there are synchronization issues with the JamesUserJdbcRepository. I don't know the userrepository code, but I see no "synchronize" around in the source code, so maybe the problem is in sharing a connection with no synchronization.

The problem could be there or in the db connection provider: are you still using mordred?
Can you confirm the 2 errors using the default dbcp pool provider?

If so, can you file an issue in our issue tracker?

Stefano

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to