I have already read the manual & done all those mentioned as per that.
While running the TestXXX class, Junit UI Runner gets invoked & I am
getting the error now as NameValuePair.
I have downloaded Cactus, set the classpath, started the server, set the
cong files & so on as per the Getting Started Guide.
java.lang.NoClassDefFoundError: org/apache/commons/httpclient/NameValuePair
at
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java:123)
at
org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:422)
at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:130)
at
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:371)
Can you tell me if I will not get the System.out.println statements on the
console when I use cactus. Will I have to use only log4j.
Thanks & Regards
Arathi
"Vincent
Massol" To: "'Cactus Users List'"
<vmassol@octo. <[EMAIL PROTECTED]>
com> cc:
Subject: RE: Servlet Testing
04/11/02 04:58
PM
Please respond
to "Cactus
Users List"
Please read the manual first (which is what I have already told you on
the junit mailing list ...) and then come back if you still have a
question.
Thanks
-Vincent
P.S.: Here is my response to your message on the junit mailing list :
"
Please send your questions to the Cactus mailing-list (see Cactus web
site for directions).
I would also suggest you read the getting started guide and
configuration one before (and potentially the FAQ) as they contain the
answer to your question.
Thanks
-Vincent
"
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 11 April 2002 11:35
> To: [EMAIL PROTECTED]
> Subject: Servlet Testing
>
> Hi
>
> I am trying to learn how to do Servlet Testing using the Cactus
project of
> Jakarta's. I have done all the required configuration. My question is
, do
> I need log4j to do any kind of logging. Can I not even put
> System.out.println statements in the test code to see the step-by-step
> processing.
>
> I am getting the following error in the testXXX() method that I have
> written
>
> java.lang.ExceptionInInitializerError:
java.util.MissingResourceException:
> Can't find bundle for base name cactus, locale en_US
> at
>
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.ja
va
> :707)
> at
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:679)
> at java.util.ResourceBundle.getBundle(ResourceBundle.java:546)
> at
>
org.apache.cactus.client.AbstractHttpClient.<clinit>(AbstractHttpClient.
ja
> va:88)
> at
> org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:130)
> at
> org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:371)
>
> Could any one help me to tell me what this error is all about?
>
> Thanks & Regards
> Arathi
>
> -----------------------Disclaimer------------------------
>
> The views of the author may not necessarily reflect those
> of the Company. All liability is excluded to the extent
> permitted by law for any claims arising as a result of the
> use of this medium to transmit information by or to
> IT Solutions (India) Pvt. Ltd.
>
> We have taken precautions to minimize the risk of
> transmitting software viruses, but we advise you to
> carry out your own virus checks on any attachment to
> this message. We cannot accept liability for any loss or
> damage caused by software viruses.
>
> ------------------------Disclaimer------------------------
>
>
> --
> To unsubscribe, e-mail: <mailto:cactus-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:cactus-user-
> [EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>
-----------------------Disclaimer------------------------
The views of the author may not necessarily reflect those
of the Company. All liability is excluded to the extent
permitted by law for any claims arising as a result of the
use of this medium to transmit information by or to
IT Solutions (India) Pvt. Ltd.
We have taken precautions to minimize the risk of
transmitting software viruses, but we advise you to
carry out your own virus checks on any attachment to
this message. We cannot accept liability for any loss or
damage caused by software viruses.
------------------------Disclaimer------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>