Hi Chris, ----- Original Message ----- From: "VOGEL,CHRIS (A-Sonoma,ex1)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, October 24, 2001 5:02 PM Subject: jspRedirector.jsp
> I am trying to use the Cactus framework to test a J2ee .ear application. I > am getting the "Input stream does not contain a serialized object" error. I > believe that my Cactus.Properties file may not be configured properly. The > jspRedirector.jsp file under \sample\web\test appears, according to it's > internal comments, to be critical in connecting to the server side objects. > Is this true? true. Pay special attention to the cactus.servletRedirectorURL entry as I believe you're writing test classes that extend ServletTestCase. This is probably where the error lies. > I don't see this file mentioned in any of the documentation > on the web. false ! :) See http://jakarta.apache.org/cactus/getting_started.html, http://jakarta.apache.org/cactus/howto_config.html > > The cactus.properties file contains the redirector URL: > > cactus.filterRedirectorURL = > http://localhost:8080/test/test/filterRedirector.jsp > > Since this is listed as a filterRedirector and I'm not performing any filter > testing, I'm not sure if I need this? you don't if you're not writing test case class that extends FilterTestCase. > If I do need it, then I'm not sure > why there are two "test" parameters in the URL. the first one is the webapp context, the second is simply a directory under your web-app, which I happen to have named test for the sample application. > The share.xml ant file > contains a tag called "test". The .war file is called "test.war". There > are several folders in the sample files called "test". What, exactly, are > these two "test" paths pointing to?????? > hehe ... a bit lost with my naming conventions ... :) > Thanks, > > Chris Vogel Thanks -Vincent
