It worked, thanks Vincent.
But, After that, I am getting one more error : here is the error message :
please help.
Thanks,
Dinesh
[junit] Running org.apache.cactus.unit.TestAll
[junit] Tests run: 15, Failures: 0, Errors: 1, Time elapsed: 15.653 sec
[junit] Testsuite: org.apache.cactus.unit.TestAll
[junit] Tests run: 15, Failures: 0, Errors: 1, Time elapsed: 15.653 sec
[junit] Testcase: testLongProcess took 4.346 sec
[junit] Testcase: testLotsOfData took 10.565 sec
[junit] Testcase: testAssertionFailedError took 0.151 sec
[junit] Testcase: testExceptionNotSerializable took 0.05 sec
[junit] Testcase: testExceptionSerializable took 0.03 sec
[junit] Testcase: testNoAutomaticSessionCreation took 0.09 sec
[junit] Testcase: testMultiValueParameters took 0.05 sec
[junit] Testcase: testWriteOutputStream took 0.04 sec
[junit] Testcase: testSetConfigParameter took 0.04 sec
[junit] Testcase: testGetServletName took 0.04 sec
[junit] Testcase: testSendMultivaluedHeader took 0.03 sec
[junit] Testcase: testGetResponseAsStringMultiLines took 0.04 sec
[junit] Testcase: testGetResponseAsStringArrayMultiLines took 0.05 sec
[junit] Testcase: testCookieEncoding took 0.06 sec
[junit] Testcase: testGetRequestDispatcherFromNamedDispatcherOK took
0.051 s
ec
[junit] Caused an ERROR
[junit] null
[junit] java.lang.NullPointerException
[junit] at
org.apache.cactus.unit.TestServletTestCase2.testGetRequestDis
patcherFromNamedDispatcherOK(Unknown Source)
[junit] at
org.apache.cactus.AbstractTestCase.runServerTest(AbstractTest
Case.java:332)
[junit] at
org.apache.cactus.AbstractTestCase.runBareServerTest(Abstract
TestCase.java:235)
[junit] at
org.apache.cactus.server.AbstractWebTestCaller.doTest(Abstrac
tWebTestCaller.java:149)
[junit] at
org.apache.cactus.server.AbstractWebTestController.dispatch87
_handleRequest(AbstractWebTestController.java;org/apache/cactus/util/log/Log
Aspe
ct.aj(1k):125)
-----Original Message-----
From: Vincent Massol [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 2:58 AM
To: 'Cactus Users List'
Subject: RE: need help
Hi Dinesh,
As the error says, it seems you have configured the
ServletRedirector
twice in your web.xml. Maybe you have configured it once in the
global
tomcat_home/conf/web.xml and once in your web app web.xml?
Hope it helps,
-Vincent
> -----Original Message-----
> From: Dinesh C [mailto:[EMAIL PROTECTED]]
> Sent: 30 September 2002 15:35
> To: [EMAIL PROTECTED]
> Subject: need help
>
> Hi All,
>
> After all the Initial settings, once I invoked C:\ant test.all. I
am
> getting
> the following error. After these messages:
>
> test.tomcat.40:
> start.tomcat.40:
>
> please help.
> Thanks.
>
> Error is:
>
> [java] WebappLoader[/test]: Deploy JAR /WEB-INF/lib/log4j.jar to
E:\jakart
>
-cactus-13-1.4\sample-servlet\.\target\test\tomcat40\webapps\test\WEB-
> INF\li
> b\l
> g4j.jar
> [java] StandardManager[/test]: Seeding random number
generator
class
> java.
> ecurity.SecureRandom
> [java] StandardManager[/test]: Seeding of random number
generator
has
> been
> completed
> [java] ERROR reading java.io.ByteArrayInputStream@7d5d2a
> [java] At Line 22 /web-app/servlet/
>
> [java] ContextConfig[/test]: Configuration error in
application
> web.xml
> [java] java.lang.IllegalArgumentException: addChild: Child
name
> 'ServletR
> director' is not unique
> [java] java.lang.IllegalArgumentException: addChild: Child
name
> 'ServletR
> director' is not unique
>
>
>
> DISCLAIMER: Information contained and transmitted by this E-MAIL
is
> proprietary to Mascot Systems Limited and is intended for use only
by
the
> individual or entity to which it is addressed, and may contain
information
> that is privileged, confidential or exempt from disclosure under
> applicable
> law. If this is a forwarded message, the content of this E-MAIL
may
not
> have
> been sent with the authority of the Company. If you are not the
intended
> recipient, an agent of the intended recipient or a person
responsible
for
> delivering the information to the named recipient, you are
notified
that
> any
> use, distribution, transmission, printing, copying or
dissemination of
> this
> information in any way or in any manner is strictly prohibited. If
you
> have
> received this communication in error, please delete this mail &
notify
us
> immediately at [EMAIL PROTECTED] Before opening
attachments,
> please scan for viruses.
>
>
>
> --
> 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: Information contained and transmitted by this E-MAIL is
proprietary to Mascot Systems Limited and is intended for use only by the
individual or entity to which it is addressed, and may contain information
that is privileged, confidential or exempt from disclosure under applicable
law. If this is a forwarded message, the content of this E-MAIL may not have
been sent with the authority of the Company. If you are not the intended
recipient, an agent of the intended recipient or a person responsible for
delivering the information to the named recipient, you are notified that any
use, distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail & notify us
immediately at [EMAIL PROTECTED] Before opening attachments,
please scan for viruses.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>