Ok, now I got the prebuilt apache-james-3.0-beta4-app.tar.gz working.
I already know some of the gotchas but will not focus on them now.
Instead I am having a basic issue with the imap server.
Namely I want to move email from my old imap server to james by dragging
and dropping them using my email client. I am using Thunderbird and Opera
Mail to test this.
What happens is that the moving of emails to James using IMAP seems to
hang and does not work.
Well I got one or two moved at some point but mostly it just does not work.
So I turned on debug logging level for imap and this is what the log tells
me when dragging one single (fairly small) email to james imap.
jvm 1 | DEBUG 20:26:56,858 | james.imapserver | ID=472807432 Got <tag>:
00C1
jvm 1 | DEBUG 20:26:56,858 | james.imapserver | ID=472807432 Got
<command>: APPEND
jvm 1 | DEBUG 20:26:56,904 | james.imapserver | ID=472807432 Got <tag>:
00C1
jvm 1 | DEBUG 20:26:56,905 | james.imapserver | ID=472807432 Got
<command>: APPEND
jvm 1 | DEBUG 20:26:56,912 | james.imapserver | ID=472807432 Loaded
mailbox #private:rami.oja...@archon.fi:lisenssit
jvm 1 | DEBUG 20:26:57,062 | james.imapserver | ID=472807432 Loaded
mailbox #private:rami.oja...@archon.fi:lisenssit
jvm 1 | DEBUG 20:26:57,076 | james.imapserver | ID=472807432 Loaded
mailbox #private:rami.oja...@archon.fi:INBOX
jvm 1 | DEBUG 20:28:57,089 | james.imapserver | ID=472807432 Got <tag>:
0C2
jvm 1 | DEBUG 20:28:57,093 | james.imapserver | ID=472807432 Got
<command>: IDLE
jvm 1 | DEBUG 20:28:57,099 | james.imapserver | ID=472807432 Loaded
mailbox #private:rami.oja...@archon.fi:INBOX
<HANGS FOR A MINUTE OR SO...>
jvm 1 | DEBUG 20:28:57,101 | james.imapserver | ID=472807432 Error
while processing imap request
jvm 1 | java.lang.IllegalArgumentException: estimatedLength: -1
jvm 1 | at
org.jboss.netty.buffer.DynamicChannelBuffer.<init>(DynamicChannelBuffer.java:48)
jvm 1 | at
org.jboss.netty.buffer.ChannelBuffers.dynamicBuffer(ChannelBuffers.java:221)
jvm 1 | at
org.apache.james.imapserver.netty.ImapRequestFrameDecoder.createCumulationDynamicBuffer(ImapRequestFrameDecoder.java:214)
jvm 1 | at
org.jboss.netty.handler.codec.frame.FrameDecoder.cumulation(FrameDecoder.java:367)
jvm 1 | at
org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:210)
jvm 1 | at
org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.run(ChannelUpstreamEventRunnable.java:44)
jvm 1 | at
org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:312)
jvm 1 | at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
jvm 1 | at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
jvm 1 | at java.lang.Thread.run(Thread.java:701)
I am currently using the default storage options which I assume involves
storing all things to Derby. Correct me if I am wrong.
I would really like to debug this issue. If Benoit (or someone else with
knowledge) would like me to install James from git (as instructed) I can
do it. But if we can try to debug this using my current setting then
that's great too.
Does moving (dragging) of emails from another imap server to James imap
server work with others? Or is this a known issue?
- Rami
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org