Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-30-2005, 09:35 AM
Active Member
 
Posts: 41
Exclamation Error on IMAP - Tomcat crashes!

Hi folks,

I was testing the migration with imapsync and during the migration of one of the mailboxes, an error occurred and Tomcat crashed (stopping all the migration proccess and, of course, the use of Zimbra). This is the important part of /opt/zimbra/log/zimbra.log:

Code:
2005-11-29 12:26:49,251 INFO  [ImapServer-3400] [] imap - [10.0.0.1] connected
2005-11-29 12:26:49,425 INFO  [ImapServer-3400] [ip=10.0.0.1;name=zezinho.lima@teste.domain.com;] imap - [ search is: in:"INBOX" (item:all ) ]
2005-11-29 12:26:49,456 INFO  [ImapServer-3400] [ip=10.0.0.1;name=zezinho.lima@teste.domain.com;] imap - [ search is: in:"INBOX" (item:all ) ]
2005-11-29 12:26:49,545 INFO  [ImapServer-3400] [ip=10.0.0.1;name=zezinho.lima@teste.domain.com;] imap - [ search is: in:"INBOX" (item:all ) ]
2005-11-29 12:26:49,597 INFO  [ImapServer-3400] [ip=10.0.0.1;name=zezinho.lima@teste.domain.com;] imap - [ search is: in:"0000000000000000000000" (item:all ) ]
2005-11-29 12:26:49,606 INFO  [ImapServer-3400] [ip=10.0.0.1;name=zezinho.lima@teste.domain.com;] imap - [ search is: in:"1" (item:all ) ]
2005-11-29 12:26:49,616 INFO  [ImapServer-3400] [ip=10.0.0.1;name=zezinho.lima@teste.domain.com;] imap - [ search is: in:"32423345vbnvbnbvnvbnbv" (item:all ) ]
2005-11-29 12:26:49,625 INFO  [ImapServer-3400] [ip=10.0.0.1;name=zezinho.lima@teste.domain.com;] imap - [ search is: in:"324234234324324324" (item:all ) ]
2005-11-29 12:26:49,634 INFO  [ImapServer-3400] [ip=10.0.0.1;name=zezinho.lima@teste.domain.com;] imap - [ search is: in:"324324324" (item:all ) ]
2005-11-29 12:26:49,643 INFO  [ImapServer-3400] [ip=10.0.0.1;name=zezinho.lima@teste.domain.com;] imap - [ search is: in:"43435435345435345345" (item:all ) ]
2005-11-29 12:26:49,652 INFO  [ImapServer-3400] [ip=10.0.0.1;name=zezinho.lima@teste.domain.com;] imap - [ search is: in:"8754545487878754546565" (item:all ) ]
2005-11-29 12:26:49,662 INFO  [ImapServer-3400] [ip=10.0.0.1;name=zezinho.lima@teste.domain.com;] imap - [ search is: in:"Drafts" (item:all ) ]
2005-11-29 12:26:49,671 INFO  [ImapServer-3400] [ip=10.0.0.1;name=zezinho.lima@teste.domain.com;] imap - [ search is: in:"Sent" (item:all ) ]
2005-11-29 12:26:49,682 INFO  [ImapServer-3400] [ip=10.0.0.1;name=zezinho.lima@teste.domain.com;] imap - [ search is: in:"Junk" (item:all ) ]
2005-11-29 12:26:49,692 INFO  [ImapServer-3400] [ip=10.0.0.1;name=zezinho.lima@teste.domain.com;] imap - [ search is: in:"Trash" (item:all ) ]
2005-11-29 12:26:49,909 FATAL [ImapServer-3400] [] system - Fatal error occurred while handling connection
java.lang.Error: java.nio.charset.MalformedInputException: Input length = 1
        at java.lang.StringCoding$CharsetSD.decode(StringCoding.java:199)
        at java.lang.StringCoding.decode(StringCoding.java:228)
        at java.lang.String.<init>(String.java:405)
        at java.lang.String.<init>(String.java:433)
        at com.zimbra.cs.imap.ImapRequest.readFolder(ImapRequest.java:354)
        at com.zimbra.cs.imap.ImapRequest.readFolder(ImapRequest.java:341)
        at com.zimbra.cs.imap.ImapHandler$ImapCommand.<init>(ImapHandler.java:356)
        at com.zimbra.cs.imap.ImapHandler.processCommand(ImapHandler.java:482)
        at com.zimbra.cs.tcpserver.ProtocolHandler.processConnection(ProtocolHandler.java:230)
        at com.zimbra.cs.tcpserver.ProtocolHandler.run(ProtocolHandler.java:197)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.nio.charset.MalformedInputException: Input length = 1
        at java.nio.charset.CoderResult.throwException(CoderResult.java:260)
        at java.lang.StringCoding$CharsetSD.decode(StringCoding.java:195)
        ... 11 more
Anyone?
Reply With Quote
  #2 (permalink)  
Old 11-30-2005, 09:40 AM
Zimbra Employee
 
Posts: 4,792
Default

Seems to be a charset problem. Are any of the folders named with non-ASCII chars?
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 11-30-2005, 10:17 AM
Active Member
 
Posts: 41
Default

Quote:
Originally Posted by KevinH
Seems to be a charset problem. Are any of the folders named with non-ASCII chars?
Appears not. These are the folders where I got the error:

From Folder [INBOX._(i&asa]
To Folder [_(i&asa]
To Folder _(i&asa does not exist
Creating folder [_(i&asa]
From Folder [INBOX.aaaaaaaaaaaaaaaaaa9999]
To Folder [aaaaaaaaaaaaaaaaaa9999]

Could it be the lenght of the name aaaaaaaaaaaaaaaaaa9999, or some ofthe _(i&asa chars?
Reply With Quote
  #4 (permalink)  
Old 11-30-2005, 10:26 AM
Zimbra Employee
 
Posts: 4,792
Default

Any way you can try a test with each folder alone to see which one it is?
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #5 (permalink)  
Old 11-30-2005, 02:48 PM
Zimbra Employee
 
Posts: 1,434
Default Imap Utf-7

Quote:
Originally Posted by rodrigoccurvo
From Folder [INBOX._(i&asa]
Does that folder appear as "_(i&asa" in your IMAP client, or does it appear as "_(i<non-ASCII-char>"? Our server is trying to decode it as IMAP UTF-7 and choking on it spectacularly...
Reply With Quote
  #6 (permalink)  
Old 11-30-2005, 06:14 PM
Zimbra Employee
 
Posts: 1,434
Default Fixed in next release.

Fixed in next release. To whatever client is not using proper IMAP UTF-7, BAD CLIENT!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.