jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Mattern" <mmatt...@web.de>
Subject Re: Cactus and BroadVision 6.0?
Date Sun, 30 Jun 2002 20:08:33 GMT

> > I don't know yet which class/servlet would receive/handle this request
> in
> > the absence of a ServletRedirector... But let's assume I could find
> that
> > out - would it be enough to simply instantiate that servlet, pass it
> the
> > request (so that it does the BV specific session initialization) and
> then
> > go
> > on with the Cactus test case?
> >
>
> Then that must be added by the BV HTTP listener which then passes the
> request to your servlet (in our case the Cactus ServletRedirector
> servlet).
>
> An idea: what you may be missing is the call to the init() method in
> your test case, as in :
>
> public void testXXX()
> {
>     MyServletToTest servlet = new MyServletToTest();
>     servlet.init(config);
>
> [...]
> }

Okay, I'll try that.

>
> Maybe BV is doing something in the init ? But the best is to send us the
> stack trace of the error.
>

Actually, there is no stack trace (no exception is being thrown). BV just
sends empty responses back to the Cactus ServletRedirector. All tests in the
sample-servlet (that from Cactus) fail.

Michael


--
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