RE: Could not run junit test class in eclipse

jeya seelan <[email protected]> Wed, 1 Aug 2007 08:32:52 +0100 (BST)
Newsgroups gmane.comp.jakarta.cactus.user
Message-ID <[email protected]>
Hi,

this is seelan. i follow the folder structure what is given in the cactus document. i am using eclipse3.1 IDE and JBOSS server. i created struts framework application war file and put it in the deploy folder of jboss. if i run jboss server i can access application and work on that. after running my sample struts application, i run the cactus test class. (Right click on the cactus java class file and i click run as JUnit Test). but it throws exception. that is "org.apache.cactus.util.ChainedRuntimeException: Missing Cactus property
[cactus.contextURL]".  i have configured web.xml also. i put cactus.properties file in web-inf folder and i put cactus.properties file in the class path also. but i could not run the cactus test class. can you give me some detail procedure to run cactus test class? any configuration changes is needed for eclipse ide? i did not configure anything in the eclipse ide for cactus. please help me to run cactus test case in eclipse ide using jboss server.

Regards
Seelan A

[email protected] wrote: 
Please keep the cactus.properties in the web-inf folder

Thanks and Regards
Bhanuprakash 

-----Original Message-----
From: jeya seelan [mailto:[email protected]] 
Sent: Tuesday, July 31, 2007 10:52 AM
To: [email protected]
Subject: Could not run junit test class in eclipse

Hi,

This is seelan working as a java developer. i use struts framework for
my j2ee application. i want to use junit for my application to test
action class and the whole process. i use cactus object to run my junit
test class. but i could not run. i am getting this error
"org.apache.cactus.util.ChainedRuntimeException: Missing Cactus property
[cactus.contextURL]". so what shall i do to run  junit  test class
using Cactus object in eclipse IDE. please help me to run junit test
case.

Regards
Seelan A.

Jeyaseelan.A
Anadocs IT Solutions
Adyar, Chennai-20
Cell - 9841104262




The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




Jeyaseelan.A
Anadocs IT Solutions
Adyar, Chennai-20
Cell - 9841104262