Re: FormAuthentication

2005-09-02 Thread David Turley
/browse/CACTUS-224 Nicolas, 2005/9/1, David Turley <[EMAIL PROTECTED]>: Hi, it's me again... I'm trying to get the FormAuthentication to work. I'm having problems though. (Of course I'm having problems! Why else would I be writing!) When I try to run my test, my

FormAuthentication

2005-09-01 Thread David Turley
out authentication and all I found was another guy with a similar problem that hadn't had his question answered either... Thanks for any help you can provide. --David Turley - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Database dilemma

2005-08-31 Thread David Turley
Hello everyone, I'm testing some struts actions that modify some rows in the database, but I don't want those modifications to stick, because then I have to set everything back to the way it was to get my database back to a known state. You'd think that if I changed a row, I could just cha

Re: More problems: Error finding class ...

2005-08-30 Thread David Turley
Okay, I gave in and put everything in the WEB-INF/classes directory. It works that way. Thanks for your help! --David Kenney Westerhof wrote: On Mon, 29 Aug 2005, David Turley wrote: Well client side it works fine, your setup is OK. However, you got a ServletException, indicating a

Re: More problems: Error finding class ...

2005-08-29 Thread David Turley
esn't, unfortunately. If you can't see anything wrong with that, I'll just have Eclipse output my test classes into WEB-INF/classes... I'd rather not. Maybe I'm just stubborn. When I think something SHOULD work, I want it to :-). Kenney Westerhof wrote: On Mon, 29

More problems: Error finding class ...

2005-08-29 Thread David Turley
Hello again, Yes, I'm still having problems, and most of them have nothing to do with computers. But this one does. When I first started playing with Cactus, I was just running things from Eclipse and the JUnit test runner, but then I wanted to automate things, so I spent a lot of time w

Re: Running Cactus tests in Eclipse

2005-08-29 Thread David Turley
. Sorry to flood your inbox with virtually pointless messages... David Turley wrote: Okay, that makes sense. Thanks. Unfortunately that's not my only problem. For some reason I'm getting the following stack trace when I try to run my test cases: java.net.MalformedURLException: n

Re: Running Cactus tests in Eclipse

2005-08-29 Thread David Turley
rties file must be in the classpath. So you may change the file location and/or the build path in Eclipse so that it works. Hope it helps, Romain David Turley a écrit : At one point I was able to run my Cactus tests in Eclipse by starting up tomcat and running the tests as JUnit tests. Since the

Re: Running Cactus tests in Eclipse

2005-08-29 Thread David Turley
ion in Eclipse in the coming WTP releases. [1] http://www.eclipse.org/webtools Lawrence Mandel Software Developer IBM Rational Software Phone: 905 - 413 - 3814 Fax: 905 - 413 - 4920 [EMAIL PROTECTED] David Turley <[EMAIL PROTECTED]> 08/26/2005 04:51 PM Please respond to "Cact

Running Cactus tests in Eclipse

2005-08-26 Thread David Turley
way to quickly run a test? It takes too long to build and cactify a war to make it convenient. Also, is anyone working on the Eclipse integration? I saw someone ask about downloading it a month ago or so, but there was never any response to his email. Thank

Re: More coverage issues

2005-08-25 Thread David Turley
Great, thanks! Bret Kumler wrote: There's a work around. Copy all the cobertura jars into tomcat/common/lib and it works. It's definitely a cobertura bug. They're working on a solution. -Original Message----- From: David Turley [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: More coverage issues

2005-08-25 Thread David Turley
Yeah, it doesn't work. It was worth a try though, right? David Turley wrote: Yeah, I saw it too. I haven't tried it, but I don't think it would work anyway. My cobertura.ser file goes empty before the report task is even called, so having it sleep for a while wouldn'

Re: More coverage issues

2005-08-25 Thread David Turley
a try for kicks and giggles and let you know in a few minutes. --David Turley Bret Kumler wrote: I have the same problem as you. I noticed on the cobertura mailing list there's mention of the EOF and they say to try a sleep call before the report call. Have you tried it? -Original

More coverage issues

2005-08-25 Thread David Turley
file="${cactus.test.classes.dir}/cobertura.ser" /> includes="**/*CactusTest.class"/> --David Turle

Re: Directory deleting weirdness

2005-08-22 Thread David Turley
directory, but I didn't write it that way. Maybe I can convince the person who did that it should be changed:-). Not likely though. I'm at the bottom of our short hierarchy, so my input is sometimes ignored. Time for a new job, maybe... Thanks for your help! --David Turley V

Directory deleting weirdness

2005-08-22 Thread David Turley
Hello all, My application relies on a directory we put into the TOMCAT_HOME/webapps folder. When the cactus ant task creates the temporary installation of tomcat5x, that directory is, of course, not included. So I decided that I would copy the folder into the temp directory. If I copy i

Re: Code Coverage and Cactus

2005-08-19 Thread David Turley
Thank you very much for your help. I think I've got it working now! Thanks again, David Turley Quentin Pouplard wrote: Hi David, David Turley wrote: I think I see the problem now, but I still need some help with fixing it. I also run some regular junit tests, so the cov

Re: Code Coverage and Cactus

2005-08-18 Thread David Turley
information into that file as well. How do I create a second jcoverage.ser file and put my cactus coverage information into it? I think that would solve my problem. Thanks, David Turley Quentin Pouplard wrote: Hi David, David Turley wrote: Oh, I noticed you said that you merge all the

Re: Code Coverage and Cactus

2005-08-18 Thread David Turley
Oh, I noticed you said that you merge all the jcoverage.ser files... I only get one jcoverage.ser file. How do you get more than one and where are they located? Quentin Pouplard wrote: David Turley wrote: Has anyone had any success with jcoverage or emma with cactus? We

Re: Code Coverage and Cactus

2005-08-18 Thread David Turley
have run the exact same thing twice in a row and the first time everything would work and the next time it doesn't. Do you see anything in there that would cause this kind of behavior? Quentin Pouplard wrote: David Turley wrote: Has anyone had any success with jcoverage or emma

Code Coverage and Cactus

2005-08-18 Thread David Turley
Hello everyone, I am trying to get code coverage to work with my cactus tests, but I'm having trouble. I tried JCoverage (gpl version, of course) first and followed the instructions in another thread, but it seemed to be fairly sporadic. It would work one run and fail the next with absol

Re: ServletRedirector context

2005-08-16 Thread David Turley
lack of help thusfar has been discouraging, but I understand that you all have your own lives and your own projects and don't give a rats behind about my project ;-). Thanks, David David Turley wrote: Correction: "I have tried to browse to that location and I get 404'd. If I bro

Re: ServletRedirector context

2005-08-16 Thread David Turley
my project ;-). Thanks, David David Turley wrote: Correction: "I have tried to browse to that location and I get 404'd. If I browse to http://localhost:8081/app/ServletRedirector?Cactus_Service=RUN_TEST, however, I get a blank page. " I meant when I browse to

Re: ServletRedirector context

2005-08-15 Thread David Turley
hich lacks the /app, which is the context my application runs under. David Turley wrote: More information about the problem: When trying to run the ant cactus task with ant debug mode on, after the Tomcat starts up, I get the following repeatedly until it times out. [cactus] Checking

Re: ServletRedirector context

2005-08-15 Thread David Turley
nyone have any clues for me? Do you need more information to help me? Let me know. Thanks, David Turley - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ServletRedirector context

2005-08-15 Thread David Turley
My cactus.contextURL is set to /app, but for some reason the servlet redirector is being mapped to /ServletRedirector . So when I run the Ant Cactus task, it tries to find it at /app/ServletRedirector, but it isn't there. I tried putting the servletredirector tag into the cactifywar task and

Cactus Ant container server parameter

2005-08-11 Thread David Turley
According to the current Ant Integration documentation, it is possible to run cactus tests for a war that has been deployed to a remote server using the server parameter in your containerset, as in Apparently this functionality is not available in version 1.7, and the documentation is for 1.