You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2007/01/12 15:59:28 UTC
[jira] Created: (JAMES-760) ImapServer gives error on listing
message
ImapServer gives error on listing message
-----------------------------------------
Key: JAMES-760
URL: https://issues.apache.org/jira/browse/JAMES-760
Project: James
Issue Type: Bug
Reporter: Norman Maurer
After imap worked good for a while now i now got a error while thunderbird try to list the messages. The Error is:
The mailserver answered: SELECT failed. org.apache.james.mailboxmanager.MailboxManagerException: MailboxException causes by org.apache.torque.TorqueException: java.sql.SQLException: An internal error was identified by RawStore module:
--
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Commented: (JAMES-760) ImapServer gives error on listing
message
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JAMES-760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464424 ]
Norman Maurer commented on JAMES-760:
-------------------------------------
Here you go:
12/01/07 17:09:03 INFO imapserver: COMMAND FAILED [null] - org.apache.james.mailboxmanager.MailboxManagerException: MailboxException caused b
y org.apache.torque.TorqueException: java.sql.SQLException: An internal error was identified by RawStore module.
12/01/07 17:09:03 DEBUG imapserver: Calling reset() default Worker #13
12/01/07 17:09:03 DEBUG imapserver: Got <tag>: 9
12/01/07 17:09:03 DEBUG imapserver: Got <command>: select
12/01/07 17:09:03 DEBUG imapserver: Created command class org.apache.james.imapserver.commands.SelectCommand
12/01/07 17:09:03 DEBUG imapserver: error processing command
org.apache.james.imapserver.store.MailboxException: org.apache.james.mailboxmanager.MailboxManagerException: MailboxException caused by org.ap
ache.torque.TorqueException: java.sql.SQLException: An internal error was identified by RawStore module.
at org.apache.james.imapserver.commands.SelectCommand.doProcess(SelectCommand.java:82)
at org.apache.james.imapserver.commands.CommandTemplate.process(CommandTemplate.java:66)
at org.apache.james.imapserver.ImapRequestHandler.doProcessRequest(ImapRequestHandler.java:133)
at org.apache.james.imapserver.ImapRequestHandler.handleRequest(ImapRequestHandler.java:77)
at org.apache.james.imapserver.ImapHandler.handleProtocol(ImapHandler.java:145)
at org.apache.james.core.AbstractJamesHandler.handleConnection(AbstractJamesHandler.java:259)
at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:467)
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.james.mailboxmanager.MailboxManagerException: MailboxException caused by org.apache.torque.TorqueException: java.sql.SQL
Exception: An internal error was identified by RawStore module.
at org.apache.james.mailboxmanager.torque.TorqueMailboxManager.existsMailbox(TorqueMailboxManager.java:278)
at org.apache.james.mailboxmanager.torque.TorqueMailboxManager.createInbox(TorqueMailboxManager.java:82)
at org.apache.james.mailboxmanager.impl.VirtualMailboxManager.createInbox(VirtualMailboxManager.java:170)
at org.apache.james.imapserver.ImapSessionImpl.getMailboxManager(ImapSessionImpl.java:212)
at org.apache.james.imapserver.commands.SelectCommand.selectMailbox(SelectCommand.java:87)
at org.apache.james.imapserver.commands.SelectCommand.doProcess(SelectCommand.java:56)
... 8 more
Caused by: org.apache.torque.TorqueException: java.sql.SQLException: An internal error was identified by RawStore module.
at org.apache.torque.util.BasePeer.throwTorqueException(BasePeer.java:103)
at org.apache.torque.util.BasePeer.executeQuery(BasePeer.java:899)
at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:740)
at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:702)
at org.apache.torque.util.CountHelper.count(CountHelper.java:127)
at org.apache.torque.util.CountHelper.count(CountHelper.java:52)
at org.apache.james.mailboxmanager.torque.TorqueMailboxManager.existsMailbox(TorqueMailboxManager.java:264)
... 13 more
Caused by: java.sql.SQLException: An internal error was identified by RawStore module.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeQuery(Unknown Source)
at com.workingdogs.village.QueryDataSet.<init>(QueryDataSet.java:113)
at org.apache.torque.util.BasePeer.executeQuery(BasePeer.java:888)
... 18 more
> ImapServer gives error on listing message
> -----------------------------------------
>
> Key: JAMES-760
> URL: https://issues.apache.org/jira/browse/JAMES-760
> Project: James
> Issue Type: Bug
> Reporter: Norman Maurer
>
> After imap worked good for a while now i now got a error while thunderbird try to list the messages. The Error is:
> The mailserver answered: SELECT failed. org.apache.james.mailboxmanager.MailboxManagerException: MailboxException causes by org.apache.torque.TorqueException: java.sql.SQLException: An internal error was identified by RawStore module:
--
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Commented: (JAMES-760) ImapServer gives error on listing
message
Posted by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JAMES-760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464476 ]
Robert Burrell Donkin commented on JAMES-760:
---------------------------------------------
I used to get this one before I increased the memory assigned
> ImapServer gives error on listing message
> -----------------------------------------
>
> Key: JAMES-760
> URL: https://issues.apache.org/jira/browse/JAMES-760
> Project: James
> Issue Type: Bug
> Reporter: Norman Maurer
>
> After imap worked good for a while now i now got a error while thunderbird try to list the messages. The Error is:
> The mailserver answered: SELECT failed. org.apache.james.mailboxmanager.MailboxManagerException: MailboxException causes by org.apache.torque.TorqueException: java.sql.SQLException: An internal error was identified by RawStore module:
--
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Commented: (JAMES-760) ImapServer gives error on listing
message
Posted by "Joachim Draeger (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JAMES-760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464220 ]
Joachim Draeger commented on JAMES-760:
---------------------------------------
Do you have a complete stacktrace or anything in the logs (ImapServer or MailboxManager) ?
It could be again an hidden OOM which is not reported clearly by derby.
Something with SQLException and internal error. :-)
Current FetchCommand is very hungry and puts all messages in memory, even if only flags are queried.
With big mailboxes you need probably a lot of memory. :-)
Help is on the way, I nearly finished a complete new Fetch command parsing.
> ImapServer gives error on listing message
> -----------------------------------------
>
> Key: JAMES-760
> URL: https://issues.apache.org/jira/browse/JAMES-760
> Project: James
> Issue Type: Bug
> Reporter: Norman Maurer
>
> After imap worked good for a while now i now got a error while thunderbird try to list the messages. The Error is:
> The mailserver answered: SELECT failed. org.apache.james.mailboxmanager.MailboxManagerException: MailboxException causes by org.apache.torque.TorqueException: java.sql.SQLException: An internal error was identified by RawStore module:
--
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Resolved: (JAMES-760) ImapServer gives error on listing
message
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JAMES-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved JAMES-760.
---------------------------------
Resolution: Fixed
After upgrading to trunk version which contain derby 10.2.2.0 i get the right exception. So i think we can close it :-)
Here is the error:
UID failed. org.apache.james.mailboxmanager.MaiboxManagerException:
MailboxException cause by org.apache.torque.TorqueException: java.sql.SQLException:
Java exception: 'Java heap space: java.lang.OutOfMemoryError'...
> ImapServer gives error on listing message
> -----------------------------------------
>
> Key: JAMES-760
> URL: https://issues.apache.org/jira/browse/JAMES-760
> Project: James
> Issue Type: Bug
> Reporter: Norman Maurer
>
> After imap worked good for a while now i now got a error while thunderbird try to list the messages. The Error is:
> The mailserver answered: SELECT failed. org.apache.james.mailboxmanager.MailboxManagerException: MailboxException causes by org.apache.torque.TorqueException: java.sql.SQLException: An internal error was identified by RawStore module:
--
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Commented: (JAMES-760) ImapServer gives error on listing
message
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JAMES-760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464443 ]
Norman Maurer commented on JAMES-760:
-------------------------------------
Please feel free to upgrade derby in trunk..
> ImapServer gives error on listing message
> -----------------------------------------
>
> Key: JAMES-760
> URL: https://issues.apache.org/jira/browse/JAMES-760
> Project: James
> Issue Type: Bug
> Reporter: Norman Maurer
>
> After imap worked good for a while now i now got a error while thunderbird try to list the messages. The Error is:
> The mailserver answered: SELECT failed. org.apache.james.mailboxmanager.MailboxManagerException: MailboxException causes by org.apache.torque.TorqueException: java.sql.SQLException: An internal error was identified by RawStore module:
--
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Commented: (JAMES-760) ImapServer gives error on listing
message
Posted by "Joachim Draeger (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JAMES-760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464427 ]
Joachim Draeger commented on JAMES-760:
---------------------------------------
Cool, DERBY-1732 seems to be fixed in 10.2.2.0, 10.3.0.0.
AFAIK we use derby 10.2.1.
Well, if it is in fact an OOM the cause will not be fixed, but we would get a clear error message.
(The OOM itself is not caused by derby)
> ImapServer gives error on listing message
> -----------------------------------------
>
> Key: JAMES-760
> URL: https://issues.apache.org/jira/browse/JAMES-760
> Project: James
> Issue Type: Bug
> Reporter: Norman Maurer
>
> After imap worked good for a while now i now got a error while thunderbird try to list the messages. The Error is:
> The mailserver answered: SELECT failed. org.apache.james.mailboxmanager.MailboxManagerException: MailboxException causes by org.apache.torque.TorqueException: java.sql.SQLException: An internal error was identified by RawStore module:
--
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org