Yup, you're right! Thanks!

I thought I had originally added code (besides the logging) that tested
whether it was running and it seemed it didn't execute. I tried this again
by just calling fail() within the begin/end methods and this definitely
showed it was running. 

I had trouble configuring the client side logging (I tried adding a
modified/renamed logging_client.properties.sample to the classpath) but
eventually got something to show up by adding showoutput="yes" to the cactus
ant task, running ant in verbose mode & capturing the output.

Thanks for all the help!

-----Original Message-----
From: Vincent Massol [mailto:[EMAIL PROTECTED] 
Sent: March 22, 2004 12:01 AM
To: 'Cactus Users List'
Subject: RE: RE: going nuts with beginXXX & endXXX

Hi Natcho,

> -----Original Message-----
> From: Natcho Man [mailto:[EMAIL PROTECTED]
> Sent: 20 March 2004 00:15
> To: [EMAIL PROTECTED]
> Subject: RE: RE: going nuts with beginXXX & endXXX
> 
> >1/ there's nothing wrong with your test
> Hmm, too bad!
> 
> >2/ are you sure the output logs do not get redirected to some files?
> My println's should all be going to the same place and I've also tried
my
> own logger which had the same response as the printlns. I've also
tried
> writing test methods that did useful things within the begin (like set 
> required parameters) and they don't seem to run since my servlet test 
> fails because it can't find the required parameters.
> 
> >3/ how are you running your Cactus tests?
> The tests are run using Ant & the Cactus task. Btw, the server is
Jboss
> 3.2
> with Tomcat.
> 
> I turned up the cactus logging level and I'll paste the content below.
You
> can see my println from testXXX() but nothing from beginXXX() or
endXXX().
> 
> Anyone have any ideas?

That's normal. You're showing here the server side logs. The beginXXX and
endXXX would appear in the client side logs.

> 
> 2004-03-19 12:43:54,625 DEBUG
> [org.apache.cactus.server.ServletTestRedirector]
> <doGet([EMAIL PROTECTED],
> [EMAIL PROTECTED])

[snip]

-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to