Results 1 to 8 of 8

Thread: Java Error upgraded from 7.2 to 8.0

  1. #1
    samgann is offline Intermediate Member
    Join Date
    Feb 2012
    Posts
    17
    Rep Power
    3

    Default Java Error upgraded from 7.2 to 8.0

    My server is running Centos 6.3 x64 withe zimbra 8.0.

    I upgraded my server from 7.2 to 8.0 and started getting java errors.

    2012-09-30 18:30:46,740 ERROR [ImapSSLServer-0] [name=rdelgadillo@domain.us;mid=767;ip=190.62.147.9 6;] imap - IMAP cache exception - removing offending key
    net.sf.ehcache.CacheException: java.io.InvalidClassException: com.zimbra.cs.imap.ImapFolder; local class incompatible: stream classdesc serialVersionUID = -7279453727601658427, local class serialVersionUID = 3845968507901145794
    at net.sf.ehcache.store.disk.DiskStorageFactory.retri eve(DiskStorageFactory.java:965)
    at net.sf.ehcache.store.disk.Segment.decodeHit(Segmen t.java:178)
    at net.sf.ehcache.store.disk.Segment.get(Segment.java :216)
    at net.sf.ehcache.store.disk.DiskStore.get(DiskStore. java:506)
    at net.sf.ehcache.store.disk.DiskStore.getQuiet(DiskS tore.java:513)
    at net.sf.ehcache.store.FrontEndCacheTier.getQuiet(Fr ontEndCacheTier.java:226)
    at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cac he.java:2097)
    at net.sf.ehcache.Cache.get(Cache.java:1624)
    at net.sf.ehcache.Cache.get(Cache.java:1591)
    at com.zimbra.cs.imap.EhcacheImapCache.get(EhcacheIma pCache.java:128)
    at com.zimbra.cs.imap.ImapSessionManager.deserialize( ImapSessionManager.java:603)
    at com.zimbra.cs.imap.ImapSession.reload(ImapSession. java:317)
    at com.zimbra.cs.imap.ImapSession.getImapFolder(ImapS ession.java:92)
    at com.zimbra.cs.imap.ImapSessionManager.duplicateExi stingSession(ImapSessionManager.java:359)
    at com.zimbra.cs.imap.ImapSessionManager.openFolder(I mapSessionManager.java:252)
    at com.zimbra.cs.imap.ImapHandler.setSelectedFolder(I mapHandler.java:1022)
    at com.zimbra.cs.imap.ImapHandler.selectFolder(ImapHa ndler.java:1488)
    at com.zimbra.cs.imap.ImapHandler.doSELECT(ImapHandle r.java:1452)
    at com.zimbra.cs.imap.ImapHandler.executeRequest(Imap Handler.java:717)
    at com.zimbra.cs.imap.NioImapHandler.processRequest(N ioImapHandler.java:121)
    at com.zimbra.cs.imap.NioImapHandler.messageReceived( NioImapHandler.java:61)
    at com.zimbra.cs.server.NioHandlerDispatcher.messageR eceived(NioHandlerDispatcher.java:88)
    at org.apache.mina.core.filterchain.DefaultIoFilterCh ain$TailFilter.messageReceived(DefaultIoFilterChai n.java:716)
    at org.apache.mina.core.filterchain.DefaultIoFilterCh ain.callNextMessageReceived(DefaultIoFilterChain.j ava:434)
    at org.apache.mina.core.filterchain.DefaultIoFilterCh ain.access$1200(DefaultIoFilterChain.java:46)
    at org.apache.mina.core.filterchain.DefaultIoFilterCh ain$EntryImpl$1.messageReceived(DefaultIoFilterCha in.java:796)
    at com.zimbra.cs.server.NioLoggingFilter.messageRecei ved(NioLoggingFilter.java:60)
    at org.apache.mina.core.filterchain.DefaultIoFilterCh ain.callNextMessageReceived(DefaultIoFilterChain.j ava:434)
    at org.apache.mina.core.filterchain.DefaultIoFilterCh ain.access$1200(DefaultIoFilterChain.java:46)
    at org.apache.mina.core.filterchain.DefaultIoFilterCh ain$EntryImpl$1.messageReceived(DefaultIoFilterCha in.java:796)
    at org.apache.mina.core.filterchain.IoFilterEvent.fir e(IoFilterEvent.java:75)
    at org.apache.mina.core.session.IoEvent.run(IoEvent.j ava:63)
    at org.apache.mina.filter.executor.OrderedThreadPoolE xecutor$Worker.runTask(OrderedThreadPoolExecutor.j ava:780)
    at org.apache.mina.filter.executor.OrderedThreadPoolE xecutor$Worker.runTasks(OrderedThreadPoolExecutor. java:772)
    at org.apache.mina.filter.executor.OrderedThreadPoolE xecutor$Worker.run(OrderedThreadPoolExecutor.java: 714)
    at java.lang.Thread.run(Thread.java:722)
    Caused by: java.io.InvalidClassException: com.zimbra.cs.imap.ImapFolder; local class incompatible: stream classdesc serialVersionUID = -7279453727601658427, local class serialVersionUID = 3845968507901145794
    at java.io.ObjectStreamClass.initNonProxy(ObjectStrea mClass.java:604)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectI nputStream.java:1601)
    at java.io.ObjectInputStream.readClassDesc(ObjectInpu tStream.java:1514)
    at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1750)
    at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1347)
    at java.io.ObjectInputStream.defaultReadFields(Object InputStream.java:1964)
    at java.io.ObjectInputStream.defaultReadObject(Object InputStream.java:498)
    at net.sf.ehcache.Element.readObject(Element.java:806 )
    at sun.reflect.GeneratedMethodAccessor36.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectS treamClass.java:1004)
    at java.io.ObjectInputStream.readSerialData(ObjectInp utStream.java:1866)
    at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1771)
    at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1347)
    at java.io.ObjectInputStream.readObject(ObjectInputSt ream.java:369)
    at net.sf.ehcache.store.disk.DiskStorageFactory.read( DiskStorageFactory.java:378)
    at net.sf.ehcache.store.disk.DiskStorageFactory.retri eve(DiskStorageFactory.java:961)
    ... 35 more
    2012-09-30 18:30:46,742 ERROR [ImapSSLServer-0] [name=rdelgadillo@domain.us;mid=767;ip=190.62.147.9 6;] imap - IMAP cache exception - removing offending key
    net.sf.ehcache.CacheException: java.io.InvalidClassException: com.zimbra.cs.imap.ImapFolder; local class incompatible: stream classdesc serialVersionUID = -7279453727601658427, local class serialVersionUID = 3845968507901145794
    at net.sf.ehcache.store.disk.DiskStorageFactory.retri eve(DiskStorageFactory.java:965)
    at net.sf.ehcache.store.disk.Segment.decodeHit(Segmen t.java:178)
    at net.sf.ehcache.store.disk.Segment.get(Segment.java :216)
    at net.sf.ehcache.store.disk.DiskStore.get(DiskStore. java:506)
    at net.sf.ehcache.store.disk.DiskStore.getQuiet(DiskS tore.java:513)
    at net.sf.ehcache.store.FrontEndCacheTier.getQuiet(Fr ontEndCacheTier.java:226)
    at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cac he.java:2097)
    at net.sf.ehcache.Cache.get(Cache.java:1624)
    at net.sf.ehcache.Cache.get(Cache.java:1591)
    at com.zimbra.cs.imap.EhcacheImapCache.get(EhcacheIma pCache.java:128)
    at com.zimbra.cs.imap.ImapSessionManager.getCache(Ima pSessionManager.java:548)
    at com.zimbra.cs.imap.ImapSessionManager.duplicateSer ializedFolder(ImapSessionManager.java:393)
    at com.zimbra.cs.imap.ImapSessionManager.openFolder(I mapSessionManager.java:255)
    at com.zimbra.cs.imap.ImapHandler.setSelectedFolder(I mapHandler.java:1022)
    at com.zimbra.cs.imap.ImapHandler.selectFolder(ImapHa ndler.java:1488)
    at com.zimbra.cs.imap.ImapHandler.doSELECT(ImapHandle r.java:1452)
    at com.zimbra.cs.imap.ImapHandler.executeRequest(Imap Handler.java:717)
    at com.zimbra.cs.imap.NioImapHandler.processRequest(N ioImapHandler.java:121)
    at com.zimbra.cs.imap.NioImapHandler.messageReceived( NioImapHandler.java:61)
    at com.zimbra.cs.server.NioHandlerDispatcher.messageR eceived(NioHandlerDispatcher.java:88)
    at org.apache.mina.core.filterchain.DefaultIoFilterCh ain$TailFilter.messageReceived(DefaultIoFilterChai n.java:716)
    at org.apache.mina.core.filterchain.DefaultIoFilterCh ain.callNextMessageReceived(DefaultIoFilterChain.j ava:434)
    at org.apache.mina.core.filterchain.DefaultIoFilterCh ain.access$1200(DefaultIoFilterChain.java:46)
    at org.apache.mina.core.filterchain.DefaultIoFilterCh ain$EntryImpl$1.messageReceived(DefaultIoFilterCha in.java:796)
    at com.zimbra.cs.server.NioLoggingFilter.messageRecei ved(NioLoggingFilter.java:60)
    at org.apache.mina.core.filterchain.DefaultIoFilterCh ain.callNextMessageReceived(DefaultIoFilterChain.j ava:434)
    at org.apache.mina.core.filterchain.DefaultIoFilterCh ain.access$1200(DefaultIoFilterChain.java:46)
    at org.apache.mina.core.filterchain.DefaultIoFilterCh ain$EntryImpl$1.messageReceived(DefaultIoFilterCha in.java:796)
    at org.apache.mina.core.filterchain.IoFilterEvent.fir e(IoFilterEvent.java:75)
    at org.apache.mina.core.session.IoEvent.run(IoEvent.j ava:63)
    at org.apache.mina.filter.executor.OrderedThreadPoolE xecutor$Worker.runTask(OrderedThreadPoolExecutor.j ava:780)
    at org.apache.mina.filter.executor.OrderedThreadPoolE xecutor$Worker.runTasks(OrderedThreadPoolExecutor. java:772)
    at org.apache.mina.filter.executor.OrderedThreadPoolE xecutor$Worker.run(OrderedThreadPoolExecutor.java: 714)
    at java.lang.Thread.run(Thread.java:722)
    Caused by: java.io.InvalidClassException: com.zimbra.cs.imap.ImapFolder; local class incompatible: stream classdesc serialVersionUID = -7279453727601658427, local class serialVersionUID = 3845968507901145794
    at java.io.ObjectStreamClass.initNonProxy(ObjectStrea mClass.java:604)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectI nputStream.java:1601)
    at java.io.ObjectInputStream.readClassDesc(ObjectInpu tStream.java:1514)
    at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1750)
    at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1347)
    at java.io.ObjectInputStream.defaultReadFields(Object InputStream.java:1964)
    at java.io.ObjectInputStream.defaultReadObject(Object InputStream.java:498)
    at net.sf.ehcache.Element.readObject(Element.java:806 )
    at sun.reflect.GeneratedMethodAccessor36.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectS treamClass.java:1004)
    at java.io.ObjectInputStream.readSerialData(ObjectInp utStream.java:1866)
    at java.io.ObjectInputStream.readOrdinaryObject(Objec tInputStream.java:1771)
    at java.io.ObjectInputStream.readObject0(ObjectInputS tream.java:1347)
    at java.io.ObjectInputStream.readObject(ObjectInputSt ream.java:369)
    at net.sf.ehcache.store.disk.DiskStorageFactory.read( DiskStorageFactory.java:378)
    at net.sf.ehcache.store.disk.DiskStorageFactory.retri eve(DiskStorageFactory.java:961)
    ... 33 more
    Can anyone help me withthis error?
    Thanks

  2. #2
    temerarious is offline Junior Member
    Join Date
    Sep 2012
    Posts
    5
    Rep Power
    2

    Default

    Quote Originally Posted by samgann View Post
    My server is running Centos 6.3 x64 withe zimbra 8.0.

    I upgraded my server from 7.2 to 8.0 and started getting java errors.

    2012-09-30 18:30:46,740 ERROR [ImapSSLServer-0] [name=rdelgadillo@domain.us;mid=767;ip=190.62.147.9 6;] imap - IMAP cache exception - removing offending key
    net.sf.ehcache.CacheException: java.io.InvalidClassException: com.zimbra.cs.imap.ImapFolder; local class incompatible: stream classdesc serialVersionUID = -7279453727601658427, local class serialVersionUID = 3845968507901145794

    ..............snip............

    Can anyone help me withthis error?
    Thanks
    I am also getting this EXACT same error. It's late here now and the weekend so I have not yet had a chance to troubleshoot it. I will be working on that tomorrow, but I am simply adding at this time that it is not an isolated problem.

    So far it only appears to affect one user. It repeats every time their IMAP client connects.

    This was a Zimbra 7.2.1 OSE install on Ubuntu 10.0.4LTS I first upgraded to 8.0.0 OSE in place on Ubuntu 10 and ran it in production for one week with no apparent issues. Since I wanted to virtualise the previously hardware machine as well during the upgrade to Ubuntu 12, I set up a new clean minimal Ubuntu 12.04.1 LTS running under KVM. Same host name, dnsmasq, and Zimbra 8.0.0 for Ubuntu 12 install. cold rsynced /opt/zimbra over from the Ubuntu 10 machine, shut it down, changed the IP on the new machine to match the old one, chowned and fixed permissions on /opt/zimbra re-ran ./install.sh as an upgrade. It completed without any errors Zimbra 8 started right up on Ubuntu 12 and on first examination, all was working well. Seemed like a perfectly clean upgrade and migration to a new machine. The java errors. Did not show up until later.

    As I said, I have not had a chance to study and try to fix this yet. I apologize for not providing more information or troubleshooting it first. I will be hard at work on that tomorrow. Right now I'm just reporting that I also have the exact same problem.

  3. #3
    temerarious is offline Junior Member
    Join Date
    Sep 2012
    Posts
    5
    Rep Power
    2

    Default

    Quote Originally Posted by temerarious View Post
    I am also getting this EXACT same error. It's late here now and the weekend so I have not yet had a chance to troubleshoot it. I will be working on that tomorrow, but I am simply adding at this time that it is not an isolated problem.
    I 'might' have solved my IMAP / Java errors. It seems to be running stable right now for the first time in 6 days. I 'think' what solved my problem was moving /opt/zimbra/data/mailboxd/imap-inactive-session-cache.data and imap-inactive-session-cache.index out of the way and allowing Zimbra to recreate them.

    This is not based on any kind of advanced Linux system administration skills. I don't actually even know what I'm doing. It was a total shot in the dark guess but I think that's what fixed it for me. No one should take that as advice and I'd be interested in any commentary about how those files would impact the system. There shouldn't be a stampede of file deleting based on my speculation. I'm 'guessing' something got cached under Ubuntu 10 and couldn't complete or clear itself under Ubuntu 12 but that is wild speculation on my part.

    The problem also mainly seemed to affect Outlook IMAP users with huge complex mail boxes. There were a few isolated issues with Thunderbird as well. Web site or Zimbra Desktop users were completely unaffected.

    I kind of got in a bind with this one because while I have backups upon backups the problem didn't show for a couple of days so I had accumulated several days of user mail in the new configuration before realizing restoring an old backup may be warranted so if I didn't resolve it I would have several days of mail to reconcile with a restored backup of the previous system.

    If this was my thread I would mark it solved for my system but since the previous poster had the same issues on a whole different OS I would be curious to hear opinions from others more knowledgeable than me.

  4. #4
    mfehr is offline Senior Member
    Join Date
    Mar 2008
    Posts
    54
    Rep Power
    7

    Default

    I have the same situation (8.0.0 on Ubuntu 10.04). I did reindex affected accounts but the exceptions still occur. I don't feel comfortable just removing files under the hood of zimbra. Did you see any long-term effects or is it gone completely?

  5. #5
    temerarious is offline Junior Member
    Join Date
    Sep 2012
    Posts
    5
    Rep Power
    2

    Default

    Alas, I spoke too soon about it being solved. The fix for me is temporary. The problem has recurred.

    What I have observed is that the file /opt/zimbra/data/mailboxd/imap-inactive-session-cache.data starts progressively growing is size. Once it reaches a certain size threshold, it first affects two specific Outook 2003 IMAP users who find Outlook 2003 client unable to retrieve messages. logs reflect java errors/IMAP exceptions exactly like above. Zimbra's web client or any other IMAP client still seems to work fine, and nothing I can seem to do in their Outlook 2003 IMAP settings "frees" up their accounts. Other users and other IMAP clients are un-affected.

    What I have resorted to as a temporary fix is once or twice a week when the problem occurs, is zmcontrol stop, rem /opt/zimbra/data/mailboxd/imap-inactive-session-cache.data, zmcontrol start. It makes the problem go away for a few more days until it recurs. That is obviously NOT a good fix. I'm not sure what exactly I'm doing. I'm not someone anyone should be looking to for advice. I'm simply relating that I do have this specific problem since upgrading to 8.0.0. Deleting /opt/zimbra/data/mailboxd/imap-inactive-session-cache.data solves it short term and hasn't produced any other ill effects that I can determine other than it is only a temporary fix. I wish I knew more about it and would love to learn from someone who does. I'm still trying to find a permanent solution myself but at this point I'm kind of poking around in the dark. I very much agree with the statement "I don't feel comfortable just removing files under the hood of zimbra" but it's all I have come up with so far that temporarily makes the problem go away.

  6. #6
    dkn
    dkn is offline Junior Member
    Join Date
    May 2006
    Posts
    9
    Rep Power
    8

    Default

    Quote Originally Posted by temerarious View Post
    What I have observed is that the file /opt/zimbra/data/mailboxd/imap-inactive-session-cache.data starts progressively growing is size. Once it reaches a certain size threshold, it first affects two specific Outook 2003 IMAP users who find Outlook 2003 client unable to retrieve messages. logs reflect java errors/IMAP exceptions exactly like above. Zimbra's web client or any other IMAP client still seems to work fine, and nothing I can seem to do in their Outlook 2003 IMAP settings "frees" up their accounts. Other users and other IMAP clients are un-affected.
    This file is approx 700 MB on our system. Is this normal? Can we delete it without damaging zimbra (after a zmcontrol stop)?

    Can someone from Zimbra support comment on this?

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by dkn View Post
    This file is approx 700 MB on our system. Is this normal? Can we delete it without damaging zimbra (after a zmcontrol stop)?
    Why don't you check in bugzilla (including closed/resolved/verified bugs) for "imap-inactive-session-cache.data" and see the answer there.

    Quote Originally Posted by dkn View Post
    Can someone from Zimbra support comment on this?
    These are Community support forums not Zimbra Support, you may, or may not, get an answer from a Zimbra Employee but you're best doing your own research first.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    m.erill is offline New Member
    Join Date
    Oct 2012
    Posts
    4
    Rep Power
    2

    Default

    You are not alone. Under the same scenario (upgrade from 7 to 8) I have the same messages in my log file.

    And such a verbosity in the log renders it useless.

    Regarding the research that phoenix suggests just FYI: there is already a bug filed related to this issue but it has not been given high priority so far.

    I suggest to add to that bug file so that the priority level will evantually get increased. Having lots of exception entries in the log make it less that useful even if the problem may be harmless to the user.

    Regards.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Upgraded to 8 OSE and getting 500 error
    By MACscr in forum Administrators
    Replies: 4
    Last Post: 09-26-2012, 01:21 AM
  2. Replies: 0
    Last Post: 10-15-2011, 12:32 AM
  3. Error after upgraded to 5.0.18
    By maumar in forum Administrators
    Replies: 0
    Last Post: 07-30-2009, 11:50 PM
  4. java error
    By yonymun in forum Installation Help
    Replies: 2
    Last Post: 06-08-2008, 02:24 AM
  5. Replies: 1
    Last Post: 06-06-2007, 07:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •