----- Original Message -----
From: "Vaishnav, Kunal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 15, 2001 7:26 PM
Subject: RE: Cactus dump...(pls help)


> Hi Vincent,
> Cactus Version: commons-cactus-23-20010809.
> Example I am using the SampleServlet from the sample provided!.

ok no pb with these.

[Note: Kunal, you are not using the sample provided with Cactus ! You have
done a copy paste in your own code, which is very different because of the
environment setup. The error you're getting is not due to Cactus but to your
environment: classpath, properties file, web.xml, ...]

Also, the exception stack trace in the log is fine (and is not an error as
mentioned in the comments) ... So there is no error so far in the
information you've provided ! :-)

Let's start from the beginning. What is the error you're getting ?
-Vincent

> I am attaching the sample files.
>
> Thx
> - Kunal.
>
>
> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 15, 2001 11:17 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Cactus dump...(pls help)
>
>
> Hi Kunal,
>
> Can you provide: the version of Cactus you're using, a simple test case
that
> reproduces the problem, the version of Tomcat
> I have no idea at the current time...
> Thanks
> -Vincent
>
> ----- Original Message -----
> From: "Vaishnav, Kunal" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 15, 2001 6:03 PM
> Subject: Cactus dump...(pls help)
>
>
> > Hello All,
> >   I am trying since ages now to get the Request Dispatcher working..but
i
> > cant..as per Vincent's advice...i am including the output of the trace:
> > 1302 [Thread-29] INFO
> com.jdedwards.oneworld.owportal.util.TestSampleServlet
> > - Entering application.
> > 1302 [Thread-29] INFO
> om.jdedwards.oneworld.owportal.util.SampleServlet  -
> > Entering doForward.
> > 1302 [Thread-29] INFO
> om.jdedwards.oneworld.owportal.util.SampleServlet  -
> > Entering doForward.
> > 1332 [Thread-29] DEBUG
> om.jdedwards.oneworld.owportal.util.SampleServlet  -
> > org.apache.commons.cactus.server.RequestDispatcherWrapper@24f91a1
> > 1332 [Thread-29] DEBUG
> om.jdedwards.oneworld.owportal.util.SampleServlet  -
> > org.apache.commons.cactus.server.RequestDispatcherWrapper@24f91a1
> > 1472 [Thread-29] FATAL
> om.jdedwards.oneworld.owportal.util.SampleServlet  -
> > org.apache.commons.cactus.server.RequestDispatcherWrapper@24f91a1
> > 1472 [Thread-29] FATAL
> om.jdedwards.oneworld.owportal.util.SampleServlet  -
> > org.apache.commons.cactus.server.RequestDispatcherWrapper@24f91a1 1482
> > [Thread-29] ERROR com.jdedwards.oneworld.owportal.util.SampleServlet  -
> > org.apache.commons.cactus.server.RequestDispatcherWrapper@24f91a1
> > 1482 [Thread-29] ERROR
> om.jdedwards.oneworld.owportal.util.SampleServlet  -
> > org.apache.commons.cactus.server.RequestDispatcherWrapper@24f91a1
> > 7972 [Thread-29] INFO
> om.jdedwards.oneworld.owportal.util.SampleServlet  -
> > Exiting doForward.
> > 7972 [Thread-29] INFO
> om.jdedwards.oneworld.owportal.util.SampleServlet  -
> > Exiting doForward.
> > 7972 [Thread-29] INFO
> com.jdedwards.oneworld.owportal.util.TestSampleServlet
> > - Exiting application.
> > 7972 [Thread-29] INFO
> com.jdedwards.oneworld.owportal.util.TestSampleServlet
> > - Exiting application. 7972 [Thread-29] DEBUG
> > org.apache.commons.cactus.server.ServletTestRedirector  -
<callTestMethod
> > 7972 [Thread-29] DEBUG
> > org.apache.commons.cactus.server.ServletTestRedirector  -
<callTestMethod
> > 8152 [Thread-29] DEBUG
> > org.apache.commons.cactus.server.ServletTestRedirector  - Result holder
> > semaphore inactive (result set in holder)
> > 8152 [Thread-29] DEBUG
> > org.apache.commons.cactus.server.ServletTestRedirector  - Result holder
> > semaphore inactive (result set in holder)
> > 8152 [Thread-29] DEBUG
> > org.apache.commons.cactus.server.ServletTestRedirector  - <doTest
> > 8152 [Thread-29] DEBUG
> > org.apache.commons.cactus.server.ServletTestRedirector  - <doTest
> > 8402 [Thread-29] DEBUG
> > org.apache.commons.cactus.server.ServletTestRedirector  - Sending magic
> > keyword ...
> > 8402 [Thread-29] DEBUG
> > org.apache.commons.cactus.server.ServletTestRedirector  - Sending magic
> > keyword ...
> > 8412 [Thread-29] DEBUG
> > org.apache.commons.cactus.server.ServletTestRedirector  - Failed to to
> send
> > magic keyword (this is normal) java.lang.IllegalStateException:
> > Writer is already being used for this request at
> >
org.apache.tomcat.core.ResponseImpl.getOutputStream(ResponseImpl.java:458)
> > at
> >
>
org.apache.tomcat.core.HttpServletResponseFacade.getOutputStream(HttpServlet
> > ResponseFacade.java:144) at
> >
>
org.apache.commons.cactus.server.ServletTestRedirector.doPost(ServletTestRed
> > irector.java:191) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> >
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
> > at
> >
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
> > at
> >
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> >
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
> > at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> at
> >
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> > onnectionHandler.java:160) at
> >
>
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
> > ) at java.lang.Thread.run(Thread.java:484) 8412 [Thread-29] DEBUG
> > org.apache.commons.cactus.server.ServletTestRedirector  - Failed to to
> send
> > magic keyword (this is normal) java.lang.IllegalStateException: Writer
is
> > already being used for this request at
> >
org.apache.tomcat.core.ResponseImpl.getOutputStream(ResponseImpl.java:458)
> > at
> >
>
org.apache.tomcat.core.HttpServletResponseFacade.getOutputStream(HttpServlet
> > ResponseFacade.java:144) at
> >
>
org.apache.commons.cactus.server.ServletTestRedirector.doPost(ServletTestRed
> > irector.java:191) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> >
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
> > at
> >
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
> > at
> >
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> >
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
> > at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> at
> >
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> > onnectionHandler.java:160) at
> >
>
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
> > ) at java.lang.Thread.run(Thread.java:484)
> >
> > 8913 [Thread-29] DEBUG
> > org.apache.commons.cactus.server.ServletTestRedirector  - <doPost
> > 8913 [Thread-29] DEBUG
> > org.apache.commons.cactus.server.ServletTestRedirector  - <doPost
> >
> > PLEASE HELP!!!!!..
> >
> > Thnx.
> >  - Kunal.
> >
> >
> >
> >
> >
> >
>
>

Reply via email to