Hi,

>   Did you see to it that you are referring to the right context   here ? 
>That ,ay be the reason of HTTP 503 .

I am very sure that I am viewing and referring to the right context cause if 
I remove the servlet and filter mappings for the redirectors, I can then 
view other resources in that context again. When the mappings for the Filter 
redirector is there, I cannot view anything in resource within that web 
context. Just gives me that http 503 error. Also, if I am referring to a 
context that does not exists I would get error 404 right.

>   StreamCorruptedException occurs primarily because the client-side >   
>file cactus.properties is not set right. May be you could check  >   that 
>the file jspRedirector.jsp is deployed in the right context.
>   Also when you are deploying under a new context 'ctx' , then you >   
>need to add the entries to that web.xml which you would use to    deploy 
>and not the web.xml of the default context.

Well, when I try to access the ServletTestRedirector from a web browser 
using the mapped url (after removing the mapping for the Filter Test 
Redirector because as mentioned above I cannot access anything with that 
Filter Test Redirector in place), I can access the ServletTestRedirector for 
the 1st time (although it throws an exception which is perfectly 
understandable -at least i can still get to it). But when I try to access it 
again, I get the http 503 error. I have no problem with the 
JspTestRedirector. That one works OK, so long as the other 2 (Servlet and 
Filter Test Redirectors) are not there.
Yes, I add the entries web.xml that I deploy.

Here is the best part. When I deploy my war to a Tomcat instance, everything 
seems alright. Any ideas on this? Do you think this is a J2SDKEE1.3 specific 
problem? Has Cactus been tested with J2SDKEE1.3?

Thanks,
Jon

>From: Karthik Kumar <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: Cactus and J2SDKEE1.3
>Date: Thu, 4 Oct 2001 21:10:25 -0700 (PDT)
>
>Hello,
>
>--- Jon Voigtr <[EMAIL PROTECTED]> wrote:
> > When I use Cactus with J2SDKEE1.3, I get the following error when I 
>deploy
> > the war (that contains the ServletTestRedirector, jspRedirector.jsp and
> > FilterTestRedirector) and try to access anything in the war's context.
>   Did you see to it that you are referring to the right context here ? 
>That ,ay
>be the reason of HTTP 503 .
>
> >
> > HTTP Status 503 - This application is not currently available
> > The requested service (This application is not currently available) is 
>not
> > currently available.
> >
> > As a result of this, I cannot get my test cases working as it complains
> > about some java.io.StreamCorruptedException.
>   StreamCorruptedException occurs primarily because the client-side file
>cactus.properties is not set right. May be you could check that the file
>jspRedirector.jsp is deployed in the right context.
>    Also when you are deploying under a new context 'ctx' , then you need 
>to add
>the entries to that web.xml which you would use to deploy and not the 
>web.xml
>of the default context.
>
>Thanks.
>Karthik Kumar.
>
>__________________________________________________
>Do You Yahoo!?
>NEW from Yahoo! GeoCities - quick and easy web site hosting, just 
>$8.95/month.
>http://geocities.yahoo.com/ps/info1


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Reply via email to