Hi Rademacher, Check that your cactus.jar and httpclient.jar are in classpath. Also, the ServletRedirector path set in cactus.properties is properly configured in web.xml.
Hope this helps. Thanks, Suprigya >From: [EMAIL PROTECTED] >Reply-To: "Cactus Users List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: StreamCorruptedException >Date: Wed, 31 Oct 2001 15:26:37 +0100 > >Hi Folks, > >I got this exception, using a Cactus Test (DocViewerServletTest): > >.......E >Time: 2,984 >There was 1 error: >1) testDocViewTest(com.ceyoniq.healthcare.viewer.test.DocViewerServletTest) >java.io.StreamCorruptedException: InputStream does not contain a serialized >object > at >java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:849) > at java.io.ObjectInputStream.<init>(ObjectInputStream.java:168) > at >org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java:1 >48) > at >org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:422) > at >org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:130) > at >org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:371) > at >com.ceyoniq.healthcare.viewer.test.AllTest.main(AllTest.java:40) > >FAILURES!!! >Tests run: 9, Failures: 0, Errors: 1 > >My Configuration is: > >Servlet Container: Tomcat 4.0 >WAR = application.jar's, junit.jar, cactus.jar >Client-TestCase: using Netbeans 3.2.1 (External Execution), > cactus.properties is set in classpath > servlet.jar (from tomcat 4.0) > log4j.jar > junit.jar > cactus.jar > httpunit.jar > httpclient.jar > >What did I wrong? >My testcase is very simple (beginxxx sets a parameter, testXXX initalizing >the servlet and call a method, endXXX use httpunit to check the result(very >simple)). > >Any ideas? > >Thx > >Mit freundlichen Gr��en >Best regards > >Tobias Rademacher > >---------------------------------------------------------------------------- >------ >Tobias Rademacher >Software Development >CEYONIQ Healthcare Fon: +49 (0)821 44490-0 >GmbH & Co. KG Fax: +49 (0)821 44490-60 >Kurzes Gel�nd 6 mailto:[EMAIL PROTECTED] >86156 Augsburg www.ceyoniq.com >Germany >---------------------------------------------------------------------------- >----------- > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
