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 <[email protected]>:
> 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" <[email protected]> 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 <[email protected]>:
>>> 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" <[email protected]> wrote:
>>>
>>>>Do you by any chance try to store an enum in the mail attribute ?
>>>>
>>>>bye
>>>>norman
>>>>
>>>>
>>>>Am Freitag, 24. Juni 2011 schrieb SuoNayi <[email protected]>:
>>>>> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to