jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Natcho Man <natcho-...@shaw.ca>
Subject RE: RE: going nuts with beginXXX & endXXX
Date Mon, 22 Mar 2004 21:55:10 GMT
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:vmassol@pivolis.com] 
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:natcho-man@shaw.ca]
> Sent: 20 March 2004 00:15
> To: cactus-user@jakarta.apache.org
> 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([org.apache.coyote.tomcat4.CoyoteRequestFacade@ce41cc],
> [org.apache.coyote.tomcat4.CoyoteResponseFacade@141cd01])

[snip]

-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org


Mime
View raw message