jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: invalid stream header
Date Sun, 15 Dec 2002 11:07:58 GMT
Hi Sachin,

It's hard to tell what the problem is. Could you turn cactus logging on
and send us the resulting log files?

You could also try to run the Cactus sample application as is to verify
it works on your machine. What container are you using?

Thanks
-Vincent

> -----Original Message-----
> From: sachin chaudhari [mailto:chaudharisb@yahoo.com]
> Sent: 06 December 2002 01:47
> To: Cactus Users List
> Subject: Re: invalid stream header
> 
> 
> Hi
> I looked at the FAQ on apache.org. I made sure that following url
works
> for my webapp.
> http://localhost/webapp/ServletRedirector?Cactus_Service=RUN_TEST
> Also made sure that I am using servlet.jar version 2.2.  I am  still
> getting following exception
>
testStep1(com.documentum.econn4sap.servlets.PutCertTest)java.io.StreamCo
rr
> uptedException: InputStream does not contain a serialized object
>  at
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:844)
>  at java.io.ObjectInputStream.<init>(ObjectInputStream.java:163)
>  at
>
org.apache.cactus.client.AbstractHttpClient.callGetResult(AbstractHttpCl
ie
> nt.java;org/apache/cactus/util/log/LogAspect.java(1k):229)
>  at
>
org.apache.cactus.client.AbstractHttpClient.doTest$ajcPostAround9(Abstra
ct
> HttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):123)
>  at
>
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.ja
va
> ;org/apache/cactus/util/log/LogAspect.java(1k):1221)
>  at
>
org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:
45
> 7)
>  at
org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133)
>  at
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:400)
>  at
>
com.intellij.rt.execution.junit.TextTestRunner.main(TextTestRunner.java:
12
> )
> 
> Thanks
> Sachin
> 
> 
>  sachin chaudhari <chaudharisb@yahoo.com> wrote:
> Hi
> 
> I am new to cactus & my first test is failing. I am not able to figure
out
> what I am doing wrong. I am getting following exception on server
side. I
> am using cactus1.4.1 , log4j-1.2, aspectjrt-1.0.5,junit-3.7.
> 
> Any clue what may be wrong.....
> 
> 1)
>
testStep1(XXXXXXX.servlets.PutCertTest)java.io.StreamCorruptedException:
> invalid stream header
> at
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:737)
> at java.io.ObjectInputStream.(ObjectInputStream.java:253)
> at
>
org.apache.cactus.client.AbstractHttpClient.callGetResult(AbstractHttpCl
ie
> nt.java;org/apache/cactus/util/log/LogAspect.java(1k):229)
> at
>
org.apache.cactus.client.AbstractHttpClient.doTest$ajcPostAround9(Abstra
ct
> HttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):123)
> at
>
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.ja
va
> ;org/apache/cactus/util/log/LogAspect.java(1k):1221)
> at
>
org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:
45
> 7)
> at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133)
> at
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:400)
> at
>
com.intellij.rt.execution.junit.TextTestRunner.main(TextTestRunner.java:
12
> )
> 
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now


--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message