axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krishnendu Kunti" <>
Subject RE: Serialization Problems
Date Mon, 18 Oct 2004 07:19:42 GMT
Hi Srinath

In fact I am trying to store some fields of the MessageContext like
Message returned by the getCurrentMessage(). But though the Messaage is
declared serializable it cant' be serialized as the Message has a
MessageContext field.. 

I was just wondering then what is the use of declaring the Message class
to be serializable? 


-----Original Message-----
From: Srinath Perera [] 
Sent: Monday, October 18, 2004 12:22 PM
Subject: Re: Serialization Problems

you do not need to serialize the engine as the engine is stateless.
Serializing the MessageContext and runing in with the correct
EngineConfiguration (the deployment Info)  and message context should
There are problems seralizing MessageContext, since it store anything
in the form of properties.

On Mon, 18 Oct 2004 12:09:36 +0530, Krishnendu Kunti
<> wrote:
> Hi
> I tried serializing org.apache.axis.AxisEngine and
> org.apache.axis.Message from a MessageContext and storing the same in
> databse a blob. Though both these classes implements
> but internally they use some classes which are
> Serializable.... and hence effectively are non serilalizable.
> In case of org.apache.axis.AxisEngine , it references
> org.apache.axis.utils.cache.ClassCache class which is non
> In case of org.apache.axis.Message , it contains a private variable
> MessageContext which is non serializable.
> Please suggest if it should be reported as Bug ..
> Thanks
> Regards
> Krishnendu

View raw message