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: InvalidClassException when reading attributes from the mail spool
Date Fri, 24 Jun 2011 06:49:34 GMT
james2.3.2 and mysql5.5.
What I have found is the following:
when I send a mail to some users of the local domain, it workes well and no exception of reading
attributes is thrown.
but when I send a mail to users of others(outside domain), it will be processed by RemoteDelivery
mailet.
when it processes unsuccessfully at last, it will be sent to the bound processor.
I change the configuration to specify the bounder processor to the error processor which only
records the mail to the database.
when james recovers the mail from the spool again, the exception is thrown in the mailstore-2011-xx-xx-xx-xx.log.


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.JDBCSpoolRepository.accept(JDBCSpoolRepository.java:203)
>>>>         at org.apache.james.mailrepository.JDBCSpoolRepository.accept(JDBCSpoolRepository.java:126)
>>>>         at org.apache.james.mailrepository.MailStoreSpoolRepository.accept(MailStoreSpoolRepository.java:105)
>>>>         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 org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke(BlockInvocationHandler.java:134)
>>>>         at $Proxy5.accept(Unknown Source)
>>>>         at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:299)
>>>>         at java.lang.Thread.run(Thread.java:595)
>>>> Any idea?
>>>> Thanks
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>>>For additional commands, e-mail: server-dev-help@james.apache.org
>>>
>>
>
>---------------------------------------------------------------------
>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