Hi, I use j2sdkee1.3 to deploy a basic EJB Session (Euro converter !) on Windows 2000.
Q : Which servlet API should I use ? j2sdkee1.3 is supposed to use TOMCAT 4.0 so I decided to use Servlet 2.3 ... Is it correct ? I still have StreamCorruptedException I checked everything I could, but I still have StreamCorruptedException ... I run crazy ! I try to run my test with 1.3dev of Cactus ... get this Exception : java.io.FileNotFoundException: http://localhost:8000/cactus/ServletRedirector?Cactus_TestMethod=testConvert&Cactus_TestClass=ConverterTest&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST Help ... Nicolas Suprigya Babu a �crit : > 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
