If everything is fine ... it should be ok ... :-)
What I can only tell you is : Use the Sample application as is (not a single
line changed) and run it with Ant and it will work. So it means the problem
comes from either your classpaths, your cactus.properties or your web.xml
... (or a different version of Tomcat - which is why I asked you for the
Tomcat version).

The error
"FileNotFoundException:http://localhost:82/jdetest/servlet/ServletRedirector
" is what happens on the client side. However I don't know what error is
happening on the server side ...

I am out of ideas for the moment ... Let's sleep on that (it is 20:15 here)
... I am getting hungry and heading back to home ...
Thanks
-Vincent

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


> ok..so now i am executing TestSampleServlet..it has like 13 tests or
> so...when it tries to test the REquest Dispatcher...the code
> ...rd.doForward(request,response)...it returns me an error saying:
>
FileNotFoundException:http://localhost:82/jdetest/servlet/ServletRedirector.
> When I paste this in browser, it is fine. I have checked all the
> environment, properties and classpaths..All are fine!.
>
> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 15, 2001 12:52 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Cactus dump...(pls help)
>
>
>
> ----- 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
om.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