You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Robert Nicholson <ro...@elastica.com> on 2001/06/03 02:44:22 UTC

Integration with Apache

Today are most folk using jserv or mod_jk?

Is my understanding correct in that jserv was once it's own servlet
container albeit 2.0 servlet API compliant but that now it can still be used
as the glue b/w apache and other servlet containers such as tomcat.

Is that correct? ie. the servlet API compliance of mod_jserv isn't important
as long as it's glue code works.


Re: crashes whenever 404

Posted by Chu J Tan <zt...@gmx.net>.
I solved the problem by removing my custom 404 page.

<error-page>
        <error-code>404</error-code>
        <location>/syspage/404.html</location>
</error-page>

Maybe this will work:
<error-page>
        <error-code>404</error-code>
        <location>syspage/404.html</location>
</error-page>

However, I mount my context on root. /syspage/404.html should exist anyways.
The above works in other app servers that I've tested on.


Chu

----- Original Message -----
From: "Chu J Tan" <zt...@gmx.net>
To: <to...@jakarta.apache.org>; "Hemant Singh" <he...@yahoo.com>
Sent: Monday, June 04, 2001 10:08 AM
Subject: Re: crashes whenever 404


> CHECK THIS OUT:
>
> 7.1 Fixes and Enhancements in Release 3.2.2
>
> This section highlights the bugs fixed in this release.  In addition to
> these, there have been many other minor bug fixes through the product.
>
> Documentation
>   -  Several updates to how-to documents and users guide.
>
> Servlet
>   -  Fix infinite loop if no prefix matches the request URI.  Now returns
>      a 404 error.
>
> AND YET, I RECEIVED THIS
>
> null) null
>           2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends with \/.
> /opt1/
> shaghut/article/
>                 2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front +
> /article/ +
>  null) null
>            2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends with \/.
> /opt1
> /shaghut/article/
>                  2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front +
> /article/
> + null) null
>             2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends with
\/.
> /opt
> 1/shaghut/article/
>                   2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front +
> /article/
>  + null) null
>              2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends with
\/.
> /op
> t1/shaghut/article/
>                    2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front +
> /article
> / + null) null
>               2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends with
> \/. /o
> pt1/shaghut/article/
>                     2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front +
> /articl
> e/ + null) null
>                2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends with
> \/. /
> opt1/shaghut/article/
>                      2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front +
> /artic
> le/ + null) null
>                 2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends
with
> \/.
> /opt1/shaghut/article/
>                       2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front +
> /arti
> cle/ + null) null
>                  2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends
with
> \/.
>  /opt1/shaghut/article/
>                        2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front
+
> /art
> icle/ + null) null
>                   2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends
> with \/
> . /opt1/shaghut/article/
>
>
> ----- Original Message -----
> From: "Hemant Singh" <he...@yahoo.com>
> To: <to...@jakarta.apache.org>
> Sent: Sunday, June 03, 2001 1:33 PM
> Subject: Re: crashes whenever 404
>
>
> > HI Chu:
> > I never heard of this kind of problem in tomcat,
> > On which platform are u using it?
> > Cheers
> > Hemant
> > ----- Original Message -----
> > From: "Chu J Tan" <zt...@gmx.net>
> > To: <to...@jakarta.apache.org>
> > Sent: Sunday, June 03, 2001 9:50 AM
> > Subject: crashes whenever 404
> >
> >
> > > My tomcat server (3.2.2) crashes whenever I try to access non existing
> > > files. The server will have infinite output loop and then crashes
> shortly
> > > after that.
> > >
> > > It must be a common config problem.. Can anyone tell me how to solve
> this?
> > >
> > > Thanks
> > > Chu
> > >
> > >
> > > NetZero Platinum
> > > No Banner Ads and Unlimited Access
> > > Sign Up Today - Only $9.95 per month!
> > > http://www.netzero.net
> >
>


Re: crashes whenever 404

Posted by Chu J Tan <zt...@gmx.net>.
CHECK THIS OUT:

7.1 Fixes and Enhancements in Release 3.2.2

This section highlights the bugs fixed in this release.  In addition to
these, there have been many other minor bug fixes through the product.

Documentation
  -  Several updates to how-to documents and users guide.

Servlet
  -  Fix infinite loop if no prefix matches the request URI.  Now returns
     a 404 error.

AND YET, I RECEIVED THIS

null) null
          2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends with \/.
/opt1/
shaghut/article/
                2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front +
/article/ +
 null) null
           2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends with \/.
/opt1
/shaghut/article/
                 2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front +
/article/
+ null) null
            2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends with \/.
/opt
1/shaghut/article/
                  2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front +
/article/
 + null) null
             2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends with \/.
/op
t1/shaghut/article/
                   2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front +
/article
/ + null) null
              2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends with
\/. /o
pt1/shaghut/article/
                    2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front +
/articl
e/ + null) null
               2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends with
\/. /
opt1/shaghut/article/
                     2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front +
/artic
le/ + null) null
                2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends with
\/.
/opt1/shaghut/article/
                      2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front +
/arti
cle/ + null) null
                 2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends with
\/.
 /opt1/shaghut/article/
                       2001-06-04 10:22:42 - Ctx( /front ): 404 R( /front +
/art
icle/ + null) null
                  2001-06-04 10:22:42 - Ctx( /front ): FileHandler: Ends
with \/
. /opt1/shaghut/article/


----- Original Message -----
From: "Hemant Singh" <he...@yahoo.com>
To: <to...@jakarta.apache.org>
Sent: Sunday, June 03, 2001 1:33 PM
Subject: Re: crashes whenever 404


> HI Chu:
> I never heard of this kind of problem in tomcat,
> On which platform are u using it?
> Cheers
> Hemant
> ----- Original Message -----
> From: "Chu J Tan" <zt...@gmx.net>
> To: <to...@jakarta.apache.org>
> Sent: Sunday, June 03, 2001 9:50 AM
> Subject: crashes whenever 404
>
>
> > My tomcat server (3.2.2) crashes whenever I try to access non existing
> > files. The server will have infinite output loop and then crashes
shortly
> > after that.
> >
> > It must be a common config problem.. Can anyone tell me how to solve
this?
> >
> > Thanks
> > Chu
> >
> >
> > NetZero Platinum
> > No Banner Ads and Unlimited Access
> > Sign Up Today - Only $9.95 per month!
> > http://www.netzero.net
>


Re: crashes whenever 404

Posted by Hemant Singh <he...@yahoo.com>.
HI Chu:
I never heard of this kind of problem in tomcat,
On which platform are u using it?
Cheers
Hemant
----- Original Message -----
From: "Chu J Tan" <zt...@gmx.net>
To: <to...@jakarta.apache.org>
Sent: Sunday, June 03, 2001 9:50 AM
Subject: crashes whenever 404


> My tomcat server (3.2.2) crashes whenever I try to access non existing
> files. The server will have infinite output loop and then crashes shortly
> after that.
>
> It must be a common config problem.. Can anyone tell me how to solve this?
>
> Thanks
> Chu
>
>
> NetZero Platinum
> No Banner Ads and Unlimited Access
> Sign Up Today - Only $9.95 per month!
> http://www.netzero.net


crashes whenever 404

Posted by Chu J Tan <zt...@gmx.net>.
My tomcat server (3.2.2) crashes whenever I try to access non existing
files. The server will have infinite output loop and then crashes shortly
after that.

It must be a common config problem.. Can anyone tell me how to solve this?

Thanks
Chu


NetZero Platinum
No Banner Ads and Unlimited Access
Sign Up Today - Only $9.95 per month!
http://www.netzero.net