Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-beta3
    • Fix Version/s: 3.0-beta3
    • Component/s: IMAPServer
    • Labels:
      None
    • Environment:
      Centos AMD Dual-Core 2.6 gHz 4GB RAM

      Description

      I am noticing issues off and on when I try to copy messages offline into a mailbox folder via IMAP. James throws and error:

      ----------------------------------------------------------------
      DEBUG 18:20:28,945 | james.imapserver | Error during initial request parsing
      org.apache.james.imap.decode.DecodingException: Missing argument.
      at org.apache.james.imap.decode.ImapRequestLineReader.nextWordChar(ImapRequestLineReader.java:58)
      at org.apache.james.imap.decode.base.AbstractImapCommandParser.consumeWord(AbstractImapCommandParser.java:296)
      at org.apache.james.imap.decode.base.AbstractImapCommandParser.atom(AbstractImapCommandParser.java:149)
      at org.apache.james.imap.decode.main.DefaultImapDecoder.decodeCommandTagged(DefaultImapDecoder.java:83)
      at org.apache.james.imap.decode.main.DefaultImapDecoder.decode(DefaultImapDecoder.java:61)
      at org.apache.james.imap.main.AbstractImapRequestHandler.doProcessRequest(AbstractImapRequestHandler.java:62)
      at org.apache.james.imap.main.ImapRequestStreamHandler.handleRequest(ImapRequestStreamHandler.java:82)
      at org.apache.james.imapserver.netty.ImapStreamChannelUpstreamHandler.processStreamIo(ImapStreamChannelUpstreamHandler.java:88)
      at org.jboss.netty.handler.stream.StreamHandler$1.run(StreamHandler.java:127)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      DEBUG 18:20:28,946 | james.imapserver | Cannot parse tag
      org.apache.james.imap.decode.DecodingException: Missing argument.
      at org.apache.james.imap.decode.ImapRequestLineReader.nextWordChar(ImapRequestLineReader.java:58)
      at org.apache.james.imap.decode.base.AbstractImapCommandParser.consumeWord(AbstractImapCommandParser.java:296)
      at org.apache.james.imap.decode.base.AbstractImapCommandParser.tag(AbstractImapCommandParser.java:158)
      at org.apache.james.imap.decode.main.DefaultImapDecoder.decode(DefaultImapDecoder.java:60)
      at org.apache.james.imap.main.AbstractImapRequestHandler.doProcessRequest(AbstractImapRequestHandler.java:62)
      at org.apache.james.imap.main.ImapRequestStreamHandler.handleRequest(ImapRequestStreamHandler.java:82)
      at org.apache.james.imapserver.netty.ImapStreamChannelUpstreamHandler.processStreamIo(ImapStreamChannelUpstreamHandler.java:88)
      at org.jboss.netty.handler.stream.StreamHandler$1.run(StreamHandler.java:127)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      ----------------------------------------------------------------
      It seems like james does not like certain tags. I've seen it complain about html tags too. Do not know if this is fixed or if someone is working on it. Trying to gather more information to see exact causes or what sort of e-mails cause james to throw this error.

      1. wrapper-20110207.log.tar.gz
        26 kB
        Myron L Stewart
      2. Image Uploading for NYYC.eml
        6 kB
        Myron L Stewart
      3. msg_example_01.txt
        39 kB
        Myron L Stewart
      4. partial_wrapper.log
        98 kB
        Myron L Stewart

        Activity

        Hide
        Norman Maurer added a comment -

        Is fixed

        Show
        Norman Maurer added a comment - Is fixed
        Hide
        Myron L Stewart added a comment -

        Show
        Myron L Stewart added a comment -
        Hide
        Norman Maurer added a comment -

        Ok.. thanks for your feedback.. I will close this issue now

        Show
        Norman Maurer added a comment - Ok.. thanks for your feedback.. I will close this issue now
        Hide
        Myron L Stewart added a comment -

        Ok. I'm convinced that this particular issue is resolved. My mail client complains about some other things being that it is Outlook, but this sucker is in the grave. Thanks

        Show
        Myron L Stewart added a comment - Ok. I'm convinced that this particular issue is resolved. My mail client complains about some other things being that it is Outlook, but this sucker is in the grave. Thanks
        Hide
        Myron L Stewart added a comment -

        Will do. Sending out a couple more e-mails this morning. I will let you know very very shortly.

        Show
        Myron L Stewart added a comment - Will do. Sending out a couple more e-mails this morning. I will let you know very very shortly.
        Hide
        Norman Maurer added a comment -

        ok let us know if we can close this issue as resolved.. thanks..

        Show
        Norman Maurer added a comment - ok let us know if we can close this issue as resolved.. thanks..
        Hide
        Myron L Stewart added a comment - - edited

        I am now testing James 3.0-M3-20110208.011140-364 in my live environment and so far, it is working exceptionally better. I will let you know my findings.

        Show
        Myron L Stewart added a comment - - edited I am now testing James 3.0-M3-20110208.011140-364 in my live environment and so far, it is working exceptionally better. I will let you know my findings.
        Hide
        Myron L Stewart added a comment -

        Wow. that build is working great!!. Trying to break it now with all that I have. Great job to you and whoever contributed. Stand by please as I try to break it. I have it in my Development environment right now. Going to do a bunch of tests and move it to a Live environment where it will get some real-time e-mail.

        Show
        Myron L Stewart added a comment - Wow. that build is working great!!. Trying to break it now with all that I have. Great job to you and whoever contributed. Stand by please as I try to break it. I have it in my Development environment right now. Going to do a bunch of tests and move it to a Live environment where it will get some real-time e-mail.
        Hide
        Myron L Stewart added a comment -

        on it. thanks.

        Show
        Myron L Stewart added a comment - on it. thanks.
        Show
        Norman Maurer added a comment - I think I would grab this one.. just to be safe: https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-container-spring/3.0-M3-SNAPSHOT/james-server-container-spring-3.0-M3-20110208.011140-364-bin.tar.gz
        Hide
        Myron L Stewart added a comment -

        I'll try a snapshot for 1/5/2011. I assume that should have that fix.

        Show
        Myron L Stewart added a comment - I'll try a snapshot for 1/5/2011. I assume that should have that fix.
        Hide
        Myron L Stewart added a comment -

        Nice! I'm going to try out that wireshark and that build. Thanks.

        Show
        Myron L Stewart added a comment - Nice! I'm going to try out that wireshark and that build. Thanks.
        Hide
        Norman Maurer added a comment -

        Ah......

        After reading again the log I just noticed this stacktrace:

        INFO | jvm 1 | 2011/02/07 18:12:10 | java.lang.NullPointerException
        INFO | jvm 1 | 2011/02/07 18:12:10 | at java.util.Collections$UnmodifiableCollection.<init>(Collections.java:994)
        INFO | jvm 1 | 2011/02/07 18:12:10 | at java.util.Collections$UnmodifiableSet.<init>(Collections.java:1065)
        INFO | jvm 1 | 2011/02/07 18:12:10 | at java.util.Collections.unmodifiableSet(Collections.java:1055)
        INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.base.MailboxEventAnalyser.expungedUids(MailboxEventAnalyser.java:198)
        INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.base.SelectedMailboxImpl.expungedUids(SelectedMailboxImpl.java:191)
        INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.AbstractMailboxProcessor.addExpungedResponses(AbstractMailboxProcessor.java:145)
        INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.AbstractMailboxProcessor.unsolicitedResponses(AbstractMailboxProcessor.java:131)
        INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.AbstractMailboxProcessor.unsolicitedResponses(AbstractMailboxProcessor.java:114)
        INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.AbstractMailboxProcessor.unsolicitedResponses(AbstractMailboxProcessor.java:101)
        INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.IdleProcessor$IdleMailboxListener.event(IdleProcessor.java:132)
        INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.mailbox.store.AbstractDelegatingMailboxListener.event(AbstractDelegatingMailboxListener.java:50)
        INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.mailbox.util.MailboxEventDispatcher.event(MailboxEventDispatcher.java:120)
        INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.mailbox.util.MailboxEventDispatcher.added(MailboxEventDispatcher.java:80)
        INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.mailbox.store.StoreMessageManager.appendMessage(StoreMessageManager.java:265)
        INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.AppendProcessor.appendToMailbox(AppendProcessor.java:135)

        This was fixed a few days before.

        See https://issues.apache.org/jira/browse/IMAP-254

        So please try to upgrade to latest version and try again. And thanks again for all the details..

        Show
        Norman Maurer added a comment - Ah...... After reading again the log I just noticed this stacktrace: INFO | jvm 1 | 2011/02/07 18:12:10 | java.lang.NullPointerException INFO | jvm 1 | 2011/02/07 18:12:10 | at java.util.Collections$UnmodifiableCollection.<init>(Collections.java:994) INFO | jvm 1 | 2011/02/07 18:12:10 | at java.util.Collections$UnmodifiableSet.<init>(Collections.java:1065) INFO | jvm 1 | 2011/02/07 18:12:10 | at java.util.Collections.unmodifiableSet(Collections.java:1055) INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.base.MailboxEventAnalyser.expungedUids(MailboxEventAnalyser.java:198) INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.base.SelectedMailboxImpl.expungedUids(SelectedMailboxImpl.java:191) INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.AbstractMailboxProcessor.addExpungedResponses(AbstractMailboxProcessor.java:145) INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.AbstractMailboxProcessor.unsolicitedResponses(AbstractMailboxProcessor.java:131) INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.AbstractMailboxProcessor.unsolicitedResponses(AbstractMailboxProcessor.java:114) INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.AbstractMailboxProcessor.unsolicitedResponses(AbstractMailboxProcessor.java:101) INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.IdleProcessor$IdleMailboxListener.event(IdleProcessor.java:132) INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.mailbox.store.AbstractDelegatingMailboxListener.event(AbstractDelegatingMailboxListener.java:50) INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.mailbox.util.MailboxEventDispatcher.event(MailboxEventDispatcher.java:120) INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.mailbox.util.MailboxEventDispatcher.added(MailboxEventDispatcher.java:80) INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.mailbox.store.StoreMessageManager.appendMessage(StoreMessageManager.java:265) INFO | jvm 1 | 2011/02/07 18:12:10 | at org.apache.james.imap.processor.AppendProcessor.appendToMailbox(AppendProcessor.java:135) This was fixed a few days before. See https://issues.apache.org/jira/browse/IMAP-254 So please try to upgrade to latest version and try again. And thanks again for all the details..
        Hide
        Norman Maurer added a comment -

        Hi there,

        could you also capture what exactly it does with wireshark ?

        Show
        Norman Maurer added a comment - Hi there, could you also capture what exactly it does with wireshark ?
        Hide
        Myron L Stewart added a comment -

        Here is a part of the log file that should have captured everything when I tried to send out the message via Outlook 2011 for the Mac. I have attached the original message source as "Image Uploading for NYYC.eml"

        Show
        Myron L Stewart added a comment - Here is a part of the log file that should have captured everything when I tried to send out the message via Outlook 2011 for the Mac. I have attached the original message source as "Image Uploading for NYYC.eml"
        Hide
        Myron L Stewart added a comment -

        Got you a good one this time Norman. I think that the problems normally come from how Microsoft mail clients like Outlook 2011, Outlook 2007, and Outlook 2010 format messages. Was trying to wait for a good one. Getting the log right now.

        Show
        Myron L Stewart added a comment - Got you a good one this time Norman. I think that the problems normally come from how Microsoft mail clients like Outlook 2011, Outlook 2007, and Outlook 2010 format messages. Was trying to wait for a good one. Getting the log right now.
        Hide
        Myron L Stewart added a comment -

        Sorry meant to provide the source trace as requested. I will provide that. Sorry for the overlook.

        Show
        Myron L Stewart added a comment - Sorry meant to provide the source trace as requested. I will provide that. Sorry for the overlook.
        Hide
        Myron L Stewart added a comment -

        Here is my status update. I have moved to a more live environment for the mail server testing. In the new environment I will be using the SNAPSHOT 3.0-M3-20110124.043001-296 to send live messages to test real world performance. I have attached a mail message raw content in my last post for further testing if interested. It is a message that was rejected by james snapshot 3.0-M3-20110124.043001-296. I will keep you posted on this level of testing and keep careful watch on what the server does.

        Show
        Myron L Stewart added a comment - Here is my status update. I have moved to a more live environment for the mail server testing. In the new environment I will be using the SNAPSHOT 3.0-M3-20110124.043001-296 to send live messages to test real world performance. I have attached a mail message raw content in my last post for further testing if interested. It is a message that was rejected by james snapshot 3.0-M3-20110124.043001-296. I will keep you posted on this level of testing and keep careful watch on what the server does.
        Hide
        Norman Maurer added a comment -

        Hi there.. thx for the email.. Can you also attach the trace of the commands your "client" sends when try to attach it ? I would be interested to see the "APPEND" command

        Show
        Norman Maurer added a comment - Hi there.. thx for the email.. Can you also attach the trace of the commands your "client" sends when try to attach it ? I would be interested to see the "APPEND" command
        Hide
        Myron L Stewart added a comment -

        Finally got around to getting some testing in with the build you suggested. I took some time to write a mysql migration script to move data from the old tables to the new tables that james build 3.0-M3-20110124.043001-296 creates. Still fine tuning it, but it works really good with no issues.

        I tried copying a message to the server and I got an "Illegal tag" error from the mail client (Outlook 2010). Oddly enough, the message is still stored.

        Outlook makes a good test platform, because if it has trouble storing the message after sending, it stores it in the local folders. I still need to do some more testing before I can finalize some more solid information.

        When I can generate a message that definitely causes the issue, I will surely provide it. More information to come as I do some heavier testing.

        Show
        Myron L Stewart added a comment - Finally got around to getting some testing in with the build you suggested. I took some time to write a mysql migration script to move data from the old tables to the new tables that james build 3.0-M3-20110124.043001-296 creates. Still fine tuning it, but it works really good with no issues. I tried copying a message to the server and I got an "Illegal tag" error from the mail client (Outlook 2010). Oddly enough, the message is still stored. Outlook makes a good test platform, because if it has trouble storing the message after sending, it stores it in the local folders. I still need to do some more testing before I can finalize some more solid information. When I can generate a message that definitely causes the issue, I will surely provide it. More information to come as I do some heavier testing.
        Hide
        Myron L Stewart added a comment -

        I'll try that build out.

        I have not had luck getting the console to work. I have found a way to generate the passwords. So I may have to administer it that way, directly in the database.

        I'll keep you posted Norman. Thanks.

        Show
        Myron L Stewart added a comment - I'll try that build out. I have not had luck getting the console to work. I have found a way to generate the passwords. So I may have to administer it that way, directly in the database. I'll keep you posted Norman. Thanks.
        Hide
        Norman Maurer added a comment -

        The remotemanager was removed in latest trunk. Now every management stuff is done via jmx. Just login via jconsole or something like that.

        Btw maybe you want to upgrade to this snapshot as I fixed some more problem with imap on the weekend:
        https://repository.apache.org/content/groups/snapshots/org/apache/james/james-server-container-spring/3.0-M3-SNAPSHOT/james-server-container-spring-3.0-M3-20110124.043001-296-bin.tar.gz

        Show
        Norman Maurer added a comment - The remotemanager was removed in latest trunk. Now every management stuff is done via jmx. Just login via jconsole or something like that. Btw maybe you want to upgrade to this snapshot as I fixed some more problem with imap on the weekend: https://repository.apache.org/content/groups/snapshots/org/apache/james/james-server-container-spring/3.0-M3-SNAPSHOT/james-server-container-spring-3.0-M3-20110124.043001-296-bin.tar.gz
        Hide
        Myron L Stewart added a comment -

        Sorry to get back so late. I was playing around with the build you suggested late tonight. Seems to run fine. But in trying to reset a password I for the test account, I attempted to remote into the server via telnet on port 4555 to find that the remote login does not work. I'm going to try another snapshot to see if it is back. I noticed that remotemanager.xml was not present in this build. Looks like it needs to be configured in one of the bean xml files or something. Still getting the hang of how James works.

        Going to try it on another server of mine that has a public internet connect so that I can play with it some more.

        Show
        Myron L Stewart added a comment - Sorry to get back so late. I was playing around with the build you suggested late tonight. Seems to run fine. But in trying to reset a password I for the test account, I attempted to remote into the server via telnet on port 4555 to find that the remote login does not work. I'm going to try another snapshot to see if it is back. I noticed that remotemanager.xml was not present in this build. Looks like it needs to be configured in one of the bean xml files or something. Still getting the hang of how James works. Going to try it on another server of mine that has a public internet connect so that I can play with it some more.
        Hide
        Myron L Stewart added a comment -

        I'll make a note to do that. Let me know what else. Getting some shut-eye for the night. up later than I wanted to check e-mail

        Show
        Myron L Stewart added a comment - I'll make a note to do that. Let me know what else. Getting some shut-eye for the night. up later than I wanted to check e-mail
        Hide
        Norman Maurer added a comment -

        No problem.. Take your time.

        Would be nice if you could attach the email which cause the problem to the issue if its still happen (not sure if its possilbe)

        Show
        Norman Maurer added a comment - No problem.. Take your time. Would be nice if you could attach the email which cause the problem to the issue if its still happen (not sure if its possilbe)
        Hide
        Myron L Stewart added a comment -

        Looks like it will be more like this weekend before I complete my tests. This cold hit me harder than I wanted to.

        Show
        Myron L Stewart added a comment - Looks like it will be more like this weekend before I complete my tests. This cold hit me harder than I wanted to.
        Hide
        Myron L Stewart added a comment -

        Hey Norman,

        Thanks for the bump. Getting there. Down with a bad cold for the past 2 days, so I am working at half my speed. Didn't even go into work so not to take out my entire floor

        I'll keep you posted and definitely give you an update.

        Show
        Myron L Stewart added a comment - Hey Norman, Thanks for the bump. Getting there. Down with a bad cold for the past 2 days, so I am working at half my speed. Didn't even go into work so not to take out my entire floor I'll keep you posted and definitely give you an update.
        Hide
        Norman Maurer added a comment -

        Any progress ?

        Show
        Norman Maurer added a comment - Any progress ?
        Hide
        Myron L Stewart added a comment -

        Will do Norman. Just downloaded it. will implement it today on a test server I have. Thank you.

        Show
        Myron L Stewart added a comment - Will do Norman. Just downloaded it. will implement it today on a test server I have. Thank you.
        Show
        Norman Maurer added a comment - Try this one: https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-container-spring/3.0-M3-SNAPSHOT/james-server-container-spring-3.0-M3-20110119.141317-271-bin.tar.gz
        Hide
        Myron L Stewart added a comment -

        I sure can. I was just learning how to download code from ASF I'll try the latest snapshot and give it a try. Thanks.

        Show
        Myron L Stewart added a comment - I sure can. I was just learning how to download code from ASF I'll try the latest snapshot and give it a try. Thanks.
        Hide
        Norman Maurer added a comment -

        Could you try with latest trunk and see if the problem is still there ?

        Show
        Norman Maurer added a comment - Could you try with latest trunk and see if the problem is still there ?
        Hide
        Myron L Stewart added a comment -

        I sure can. Let me get it into a file and attach it.

        Show
        Myron L Stewart added a comment - I sure can. Let me get it into a file and attach it.
        Hide
        Norman Maurer added a comment -

        Could you show me more of the log ? I would like to know where it get confused as the "for the" should not handled as tag..

        Show
        Norman Maurer added a comment - Could you show me more of the log ? I would like to know where it get confused as the "for the" should not handled as tag..
        Hide
        Myron L Stewart added a comment -

        Even more information. The issue seems to mainly happen when the mail clients try to put a copy of the outgoing message in the Sent folder. The message goes out of course, but when the mail client tries to put a copy of the e-mail in the Sent folder or if I have a local message and try to copy or move it to a folder, that is where the problem occurs. I am new at James, so I need to understand the code some more, but at least I know where the source is which should allow me to write a little Unit Tester against some e-mails.

        INFO | jvm 1 | 2011/01/12 10:10:30 | DEBUG 10:10:30,773 | james.imapserver | Got <tag>: for
        INFO | jvm 1 | 2011/01/12 10:10:30 | DEBUG 10:10:30,773 | james.imapserver | Got <command>: the
        INFO | jvm 1 | 2011/01/12 10:10:30 | INFO 10:10:30,774 | james.imapserver | Missing command implementation.
        INFO | jvm 1 | 2011/01/12 10:10:30 | DEBUG 10:10:30,774 | james.imapserver | Cannot parse tag
        INFO | jvm 1 | 2011/01/12 10:10:30 | org.apache.james.imap.decode.DecodingException: Invalid character: '"'
        INFO | jvm 1 | 2011/01/12 10:10:30 | at org.apache.james.imap.decode.base.AbstractImapCommandParser.consumeWord(AbstractImapCommandParser.java:302)
        INFO | jvm 1 | 2011/01/12 10:10:30 | at org.apache.james.imap.decode.base.AbstractImapCommandParser.tag(AbstractImapCommandParser.java:158)
        INFO | jvm 1 | 2011/01/12 10:10:30 | at org.apache.james.imap.decode.main.DefaultImapDecoder.decode(DefaultImapDecoder.java:60)
        INFO | jvm 1 | 2011/01/12 10:10:30 | at org.apache.james.imap.main.AbstractImapRequestHandler.doProcessRequest(AbstractImapRequestHandler.java:62)
        INFO | jvm 1 | 2011/01/12 10:10:30 | at org.apache.james.imap.main.ImapRequestStreamHandler.handleRequest(ImapRequestStreamHandler.java:82)
        INFO | jvm 1 | 2011/01/12 10:10:30 | at org.apache.james.imapserver.netty.ImapStreamChannelUpstreamHandler.processStreamIo(ImapStreamChannelUpstreamHandler.java:88)
        INFO | jvm 1 | 2011/01/12 10:10:30 | at org.jboss.netty.handler.stream.StreamHandler$1.run(StreamHandler.java:127)
        INFO | jvm 1 | 2011/01/12 10:10:30 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        INFO | jvm 1 | 2011/01/12 10:10:30 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        INFO | jvm 1 | 2011/01/12 10:10:30 | at java.lang.Thread.run(Thread.java:662)

        Show
        Myron L Stewart added a comment - Even more information. The issue seems to mainly happen when the mail clients try to put a copy of the outgoing message in the Sent folder. The message goes out of course, but when the mail client tries to put a copy of the e-mail in the Sent folder or if I have a local message and try to copy or move it to a folder, that is where the problem occurs. I am new at James, so I need to understand the code some more, but at least I know where the source is which should allow me to write a little Unit Tester against some e-mails. INFO | jvm 1 | 2011/01/12 10:10:30 | DEBUG 10:10:30,773 | james.imapserver | Got <tag>: for INFO | jvm 1 | 2011/01/12 10:10:30 | DEBUG 10:10:30,773 | james.imapserver | Got <command>: the INFO | jvm 1 | 2011/01/12 10:10:30 | INFO 10:10:30,774 | james.imapserver | Missing command implementation. INFO | jvm 1 | 2011/01/12 10:10:30 | DEBUG 10:10:30,774 | james.imapserver | Cannot parse tag INFO | jvm 1 | 2011/01/12 10:10:30 | org.apache.james.imap.decode.DecodingException: Invalid character: '"' INFO | jvm 1 | 2011/01/12 10:10:30 | at org.apache.james.imap.decode.base.AbstractImapCommandParser.consumeWord(AbstractImapCommandParser.java:302) INFO | jvm 1 | 2011/01/12 10:10:30 | at org.apache.james.imap.decode.base.AbstractImapCommandParser.tag(AbstractImapCommandParser.java:158) INFO | jvm 1 | 2011/01/12 10:10:30 | at org.apache.james.imap.decode.main.DefaultImapDecoder.decode(DefaultImapDecoder.java:60) INFO | jvm 1 | 2011/01/12 10:10:30 | at org.apache.james.imap.main.AbstractImapRequestHandler.doProcessRequest(AbstractImapRequestHandler.java:62) INFO | jvm 1 | 2011/01/12 10:10:30 | at org.apache.james.imap.main.ImapRequestStreamHandler.handleRequest(ImapRequestStreamHandler.java:82) INFO | jvm 1 | 2011/01/12 10:10:30 | at org.apache.james.imapserver.netty.ImapStreamChannelUpstreamHandler.processStreamIo(ImapStreamChannelUpstreamHandler.java:88) INFO | jvm 1 | 2011/01/12 10:10:30 | at org.jboss.netty.handler.stream.StreamHandler$1.run(StreamHandler.java:127) INFO | jvm 1 | 2011/01/12 10:10:30 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) INFO | jvm 1 | 2011/01/12 10:10:30 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) INFO | jvm 1 | 2011/01/12 10:10:30 | at java.lang.Thread.run(Thread.java:662)
        Hide
        Myron L Stewart added a comment -

        Good idea. So far, I have been doing manual tests with e-mail clients such as Thunderbird, Apple Mail, and Outlook 2011. I'll write a unit test next.

        I also forgot to mention that the each of the mail clients return an error from the server of "APPEND failed".

        Slowly getting the hang of this JIRA system

        Show
        Myron L Stewart added a comment - Good idea. So far, I have been doing manual tests with e-mail clients such as Thunderbird, Apple Mail, and Outlook 2011. I'll write a unit test next. I also forgot to mention that the each of the mail clients return an error from the server of "APPEND failed". Slowly getting the hang of this JIRA system
        Hide
        Norman Maurer added a comment -

        I never saw such problems here. Maybe you could write a unit test that reproduce the issue or use wireshark to record the communication ? If you use wireshark be sure to remove any sensible data before attaching it.

        Show
        Norman Maurer added a comment - I never saw such problems here. Maybe you could write a unit test that reproduce the issue or use wireshark to record the communication ? If you use wireshark be sure to remove any sensible data before attaching it.

          People

          • Assignee:
            Norman Maurer
            Reporter:
            Myron L Stewart
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development