Hi Andrew,

I'll let others answer as I have no experience with VisualAge and Cactus. If
you succeed in running Cactus inside of VisualAge it would be a greate
contribution from you if you could write a simple tutorial on how to do it
that I could put on the Cactus web site to help others .... :)

Thanks and I hope some vajava users will answer this thread.
Vincent.

----- Original Message -----
From: "Andrew B Forman" <[EMAIL PROTECTED]>
To: "List - Jakarta Commons" <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 1:58 PM
Subject: [cactus] Need help running in VisualAge


>
> Hello,
>
> I'm running into difficulties configuring/running
> Cactus in the VisualAge for Java WebSphere Test Environemnt
> (say _that_ 10 times fast =).
>
> I've created a webapp and added it to my
> IBM WebSphere Test Environment/properties/default.servlet_engine
>
> I have a directory structure for the webapp "web" (creative ain't i)
> which includes a servlets folder with the web.webapp configuration
> file for servlet registration etc.  In that file I have
> registered the two redirectors in IBM's twist on xml cfgs.
>
> I start up the servlet engine and bring up the TestRunner.
>
> Upon attempting to run my TestInput class (extending ServletTestCase)
> I get a nice big red Xs and a trace of:
>
> java.net.SocketException: Unexpected end of file from server
> java.lang.Throwable(java.lang.String)
> java.lang.Exception(java.lang.String)
> java.io.IOException(java.lang.String)
> java.net.SocketException(java.lang.String)
> boolean sun.net.www.http.HttpClient.parseHTTP(sun.net.www.MessageHeader,
> sun.net.ProgressEntry) boolean
> sun.net.www.http.HttpClient.parseHTTP(sun.net.www.MessageHeader,
> sun.net.ProgressEntry) java.io.InputStream
> sun.net.www.protocol.http.HttpURLConnection.getInputStream()
> java.net.HttpURLConnection
>
org.apache.commons.cactus.client.ServletHttpClient.doTest(org.apache.commons
> .cactus.ServletTestRequest)
> void
>
org.apache.commons.cactus.ServletTestCase.runGenericTest(org.apache.commons.
> cactus.client.AbstractHttpClient)
> void org.apache.commons.cactus.ServletTestCase.runTest()
> void org.apache.commons.cactus.ServletTestCase.runBare()
>
> Placing a breakpoint inside a test reveals that processing is not getting
> into the
> test and instead breaking before it gets there.
>
> Any ideas on what I've misconfigured or munged up?
>
> Much Thanks,
>
> Andrew Forman
>
> _\|/_______________________________
>   generation-d development
>   andrew b forman
>   aim: ph0rman
>
>

Reply via email to