james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SuoNayi <suonayi2...@163.com>
Subject Reply:Re: Reply:Re: Reply:Re: InvalidClassException when reading attributes from the mail spool
Date Sun, 26 Jun 2011 05:08:16 GMT
Yes Norman, I downloaded the mysql connector 5.1.16 from its official webiste.
 

At 2011-06-25,"Norman Maurer" <norman.maurer@googlemail.com> wrote:

>Strange... I was sure it worked with mysql 5.0 when I used it in the
>past... Are you sure you use the correct mysql connector jar ?
>
>bye
>norman
>
>Am Freitag, 24. Juni 2011 schrieb SuoNayi <suonayi2006@163.com>:
>> Hi all, I have spent 3 hours on testing with different database, such as mysql 5.0
and oracle.
>> It workes well on oracle and fails on mysql 5.0 too.
>> This shows that it is the issue of mysql,not james.
>>
>>
>> At 2011-06-24,"Norman Maurer" <norman.maurer@googlemail.com> wrote:
>>
>>>Do you also get this exception with derby as db or with mysql 5.0 ?
>>>
>>>bye
>>>norman
>>>
>>>
>>>Am Freitag, 24. Juni 2011 schrieb SuoNayi <suonayi2006@163.com>:
>>>> No,I have noticed every time the exception appears the exception message
is the same as:
>>>>
>>>>  java.io.InvalidClassException: [Ljava.lang.StackTraceElement;; enum descriptor
has non-zero serialVersionUID: 163864874655243298
>>>>
>>>> Here "serialVersionUID: 163864874655243298" maybe a specifical error No?
>>>>
>>>>
>>>>
>>>>
>>>> At 2011-06-24,"Norman Maurer" <norman.maurer@googlemail.com> wrote:
>>>>
>>>>>Do you by any chance try to store an enum in the mail attribute ?
>>>>>
>>>>>bye
>>>>>norman
>>>>>
>>>>>
>>>>>Am Freitag, 24. Juni 2011 schrieb SuoNayi <suonayi2006@163.com>:
>>>>>> Hi all,I am using james2.3.2 to be my mail server of which the backend
storage is mysql 5.5. I got a exception when james try to read attributes from the spool.
>>>>>>
>>>>>> 23/06/11 16:39:49 DEBUG mailstore: Exception reading attributes Mail1308818378708-0-to-163.com
in spool
>>>>>> java.io.InvalidClassException: [Ljava.lang.StackTraceElement;; enum
descriptor has non-zero serialVersionUID: 163864874655243298
>>>>>>         at java.io.ObjectStreamClass.readNonProxy(ObjectStreamClass.java:620)
>>>>>>         at java.io.ObjectInputStream.readClassDescriptor(ObjectInputStream.java:789)
>>>>>>         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1534)
>>>>>>         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
>>>>>>         at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1591)
>>>>>>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
>>>>>>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1910)
>>>>>>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1834)
>>>>>>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
>>>>>>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
>>>>>>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
>>>>>>         at java.util.HashMap.readObject(HashMap.java:1067)
>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>>         at java.lang.reflect.Method.invoke(Method.java:592)
>>>>>>         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
>>>>>>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1812)
>>>>>>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
>>>>>>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
>>>>>>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
>>>>>>         at org.apache.james.mailrepository.JDBCMailRepository.retrieve(JDBCMailRepository.java:846)
>>>>>>         at org.apache.james.mailrepository
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>For additional commands, e-mail: server-dev-help@james.apache.org
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message