Hi Denny,

----- Original Message -----
From: "Denny Quesada" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 18, 2001 7:32 PM
Subject: Object Serialization issues with UTF8 in an ATG Dynamo environment


> Hello,
>
> I seem to have run into a problem with the way Cactus serializes
> out the WebTestResult inside of AbstractTestCaller to be sent back
> to the 2nd connection made by the AbstractHttpClient.  I suspect the
> main issue is that the App Server (ATG Dynamo) is modifying the Response
> stream containing the WebTestResult, encoding it in UTF8, and when
> the client side receives the payload, it chokes when trying to
> deserialize the WebTestResult via the ObjectInputStream.

That would be strange because it is completely allowed to send back
serialized object as part of the servlet spec.

>
> I am not sure if the issue is the App Server environment, since I have
> not seen any mention of ATG in the Cactus User List archive, but I'm
> hopeful.  If anyone has had already integrated with ATG Dynamo,
> any tips would be great.

I haven't heard of anyone using cactus on ATG Dynamo yet ... You're the
first one ! Congratulations :)

>
> I tried some workarounds, mainly intercepting the InputStream
> and trying to convert the serialized object back to the correct
> binary format, without success.
>
> Any help, thoughts, ideas would be appreciated.

Maybe you could try to write a simple servlet that returns a serialised
object and call it from a simple java class that uses HttpURLConnection and
deserialise the object. This should work. If not, you can send it as a bug
to ATG ! At least it may show that the problem is not there ...

-Vincent

>
> The environment is as follows:
> OS: Solaris 8 Server
> App Server: ATG Dynamo
> Servlet Spec: 2.2
> JSP Spec: 1.1
>
> Thanks,
>
> Denny
>

Reply via email to