Not sure if I'm sending this twice... looks like original reply got mangled.
So even with compress off my iPad keeps attempting to download the second
message in the test inbox over and over again. But I will remove account and
try from scratch agin and see what happens.
BTW, were you asking me to open the jira ticket and update the client
compatibility page? Happy to do it just not sure if the questions was pointed
to me.
I'm also wondering if you are getting the same errors pasted below as I am.
I'm getting these kind of consistenly from outlook and other clients. Parsing
problems and client disconnects (probably do to the parsing problems). This is
with the build from james-app beta 4 tag project with jpa specified as mailbox.
We are currently running on Windows 64 bit 2008 r2 with java 1.6.0_26. I am
not seeing these problems with beta 3.
DEBUG 11:02:32,383 | james.imapserver | ID=20348362 Error while processing imap
request
java.io.IOException: An existing connection was forcibly closed by the remote ho
st
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:315)
at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioW
orker.java:274)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:194)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
INFO 11:02:32,386 | james.imapserver | ID=20348362 Connection closed for 165.21
2.161.131
DEBUG 11:06:29,888 | james.smtpserver | Id='2068536639' User='' org.apache.james
.protocols.api.handler.CommandDispatcher received: ?D☺♥☺ K
► / ♣ ♦ 5
DEBUG 11:06:29,889 | james.smtpserver | Id='2068536639' User='' Lookup command h
andler for command: ?D☺♥☺ K ► / ♣ ♦ 5
DEBUG 11:06:29,890 | james.smtpserver | Id='2068536639' User='' Unable to parse
request
java.lang.NullPointerException
at org.apache.james.protocols.api.handler.CommandDispatcher.dispatchComm
andHandlers(CommandDispatcher.java:170)
at org.apache.james.protocols.api.handler.CommandDispatcher.onLine(Comma
ndDispatcher.java:147)
at org.apache.james.protocols.netty.BasicChannelUpstreamHandler.messageR
eceived(BasicChannelUpstreamHandler.java:147)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(S
impleChannelUpstreamHandler.java:75)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultCh
annelPipeline.java:558)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerC
ontext.sendUpstream(DefaultChannelPipeline.java:777)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(
SimpleChannelUpstreamHandler.java:129)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(S
impleChannelUpstreamHandler.java:75)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultCh
annelPipeline.java:558)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerC
ontext.sendUpstream(DefaultChannelPipeline.java:777)
at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.run(Ch
annelUpstreamEventRunnable.java:44)
at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecuto
r$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:312)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
DEBUG 10:47:51,534 | james.imapserver | ID=2139520895 Cannot parse tag
org.apache.james.imap.decode.DecodingException: Invalid character: ' '
at
org.apache.james.imap.decode.ImapRequestLineReader.consumeWord(ImapRequestLineReader.java:353)
at
org.apache.james.imap.decode.ImapRequestLineReader.consumeWord(ImapRequestLineReader.java:339)
at
org.apache.james.imap.decode.ImapRequestLineReader.tag(ImapRequestLineReader.java:199)
at
org.apache.james.imap.decode.main.DefaultImapDecoder.decode(DefaultImapDecoder.java:69)
at
org.apache.james.imapserver.netty.ImapRequestFrameDecoder.decode(ImapRequestFrameDecoder.java:168)
at
org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:288)
at
org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:207)
at
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
at
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
at
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:777)
at
org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.run(ChannelUpstreamEventRunnable.java:44)
at
org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:312)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
On Wed, Apr 11, 2012 at 5:19 AM, Eric Charles <[email protected]> wrote:
> Hi Roy,
>
> I have just migrated to beta4 (release), and indeed IMAP with compression
> enabled breaks ipad mail client in the way you describe.
>
>
> It works fine with compression disabled.
>
> Thunderbird works fine with compression enabled and disabled.
>
> Would you mind opening a JIRA [1] for this and update the client
> compatibility page [2]?
>
> The question is now: 'how can we further debug'? 'ease of use' seems to be
> orthogonal to 'ease of debugging' in the ipad case.
>
>
> Thx again,
>
> Eric
>
> [1] https://issues.apache.org/jira/browse/IMAP
> [2] http://wiki.apache.org/james/Server3ClientCompatibility
>
> On 04/10/2012 04:14 PM, [email protected] wrote:
>>
>> Hi guys,
>>
>> So i've been working on my company's own customer mailbox implementation
>> of James on Version 3 originally started with beta 3. I recently upgraded
>> our code to work with beta 4 but now I notice that when I enable compression
>> on the IMAP server my iPad will "break out" of the Mail app to the main
>> screen. It does not do this with beta 3. (No SSL enabled btw, seem to have
>> problems with self-signed certs with iPad)
>>
>> I'm going to see if I can test this with the default implementation of
>> imap that comes with James but if the problem lies with my implementation of
>> the mailbox (and other pieces) do any of you have suggestions on how one
>> goes about troubleshooting or bug hunting this?
>>
>> Regards,
>> Roy
\
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]