Re: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Nathan Potter
Chris et al., Thanks having a careful look at the 500 status thing. I realize that our application is not using Tomcat in the "usual" manner, and that this unusual use does not a use case make. So the fact that you're willing to consider fixing it is much appreciated. I'll keep looking

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 10/18/2011 11:13 AM, Konstantin Kolinko wrote: > I think it is OK to file a bug report for this issue. Reported against 7.0 trunk (where it is also reproducible), including simple test case. https://issues.apache.org/bugzilla/show_bug

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, At this point, all discussion is academic because you sound like you are stuck with what you've got. I would recommend fixing the apparent bugs in your replacement default servlet, but I don't get to make requirements decisions on your project

Re: [OT] JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Mark H. Wood
In addition to enriching the community (which helps *you* when we all treat it as the norm) and helping out others who may come along with similar problems, explaining how you worked it out gives you a chance to show how clever you were. :-) -- Mark H. Wood, Lead System Programmer mw...@iupui.e

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Konstantin Kolinko
2011/10/18 Nathan Potter : > > On Oct 18, 2011, at 6:50 AM, Konstantin Kolinko wrote: > >> 2011/10/17 Nathan Potter : >>> >>> >>> Greetings, >>> >>> I am new to this list and I apologize in advance if this has been covered >>> (although searching the archives did not lead me to a related thread): >

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Nathan Potter
On Oct 18, 2011, at 6:50 AM, Konstantin Kolinko wrote: 2011/10/17 Nathan Potter : Greetings, I am new to this list and I apologize in advance if this has been covered (although searching the archives did not lead me to a related thread): In my web application I need to utilize the JSP

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Konstantin Kolinko
2011/10/17 Nathan Potter : > > > Greetings, > > I am new to this list and I apologize in advance if this has been covered > (although searching the archives did not lead me to a related thread): > > In my web application I need to utilize the JSP servlet, but I need to use a > different servlet map

RE: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Caldarale, Charles R
> From: Nathan Potter [mailto:npot...@opendap.org] > Subject: Re: JspServlet - Unexpected behavior, possible bug... > So is the idea to identify to the filter: "These are the things for > the org.apache.catalina.servlets.DefaultServlet" and then send > everything

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 6:02 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 8:56 PM, Nathan Potter wrote: I don't see how to do it without using a rewrite rule for every thing in the top level collection of URL's. I think if you try to rewrite

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 6:02 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 8:56 PM, Nathan Potter wrote: I don't see how to do it without using a rewrite rule for every thing in the top level collection of URL's. I think if you try to rewrite

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 7:44 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/17/2011 10:11 PM, Caldarale, Charles R wrote: From: Nathan Potter [mailto:npot...@opendap.org] Subject: Re: JspServlet - Unexpected behavior, possible bug... I don't se

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 7:11 PM, Caldarale, Charles R wrote: From: Nathan Potter [mailto:npot...@opendap.org] Subject: Re: JspServlet - Unexpected behavior, possible bug... I don't see how to do it without using a rewrite rule for every thing in the top level collection of URL's.

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 6:36 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 9:21 PM, Nathan Potter wrote: No, but if you assign a servlet to "/" or "/*" it gets call foreverything before anything starting with "*". Basically starts with "/" tru

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 6:41 PM, Caldarale, Charles R wrote: From: Nathan Potter [mailto:npot...@opendap.org] Subject: Re: JspServlet - Unexpected behavior, possible bug... by default servlet I mean the servlet mapped to "/" or "/*" And right there is your terminology p

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 6:08 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 4:53 PM, Nathan Potter wrote: On Oct 17, 2011, at 1:07 PM, Christopher Schultz wrote: I'd be interested to see what else happened. It looks like JspServlet is trying

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/17/2011 10:11 PM, Caldarale, Charles R wrote: >> From: Nathan Potter [mailto:npot...@opendap.org] Subject: Re: >> JspServlet - Unexpected behavior, possible bug... > >> I don't see how to do it without usin

RE: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Caldarale, Charles R
> From: Nathan Potter [mailto:npot...@opendap.org] > Subject: Re: JspServlet - Unexpected behavior, possible bug... > I don't see how to do it without using a rewrite rule for > every thing in the top level collection of URL's. You only need to have the filter

RE: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Caldarale, Charles R
> From: Nathan Potter [mailto:npot...@opendap.org] > Subject: Re: JspServlet - Unexpected behavior, possible bug... > by default servlet I mean the servlet mapped to "/" or "/*" And right there is your terminology problem. The default servlet is the one mapp

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 9:21 PM, Nathan Potter wrote: > No, but if you assign a servlet to "/" or "/*" it gets call > foreverything before anything starting with "*". Basically starts > with "/" trumps starts with "*" when applying url patterns. If I'

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 6:00 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 4:50 PM, Nathan Potter wrote: Historically, the servlet that I am working with has been the default servlet. Tomcat's default servlet was used to serve docs from a subd

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 4:53 PM, Nathan Potter wrote: > On Oct 17, 2011, at 1:07 PM, Christopher Schultz wrote: > >> I'd be interested to see what else happened. It looks like >> JspServlet is trying to compile the directory. The "file" (the >> direc

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 8:56 PM, Nathan Potter wrote: > I don't see how to do it without using a rewrite rule for every > thing in the top level collection of URL's. I think if you try to > rewrite the root of the context that it's going to disable othe

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 4:50 PM, Nathan Potter wrote: > Historically, the servlet that I am working with has been the > default servlet. Tomcat's default servlet was used to serve docs > from a subdirectory of the context dir, and everything else was >

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 5:38 PM, Caldarale, Charles R wrote: From: Nathan Potter [mailto:npot...@opendap.org] Subject: Re: JspServlet - Unexpected behavior, possible bug... A new feature has been added to the web application that requires JSP. But because an alternative default servlet is

RE: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Caldarale, Charles R
> From: Nathan Potter [mailto:npot...@opendap.org] > Subject: Re: JspServlet - Unexpected behavior, possible bug... > A new feature has been added to the web application that requires > JSP. But because an alternative default servlet is defined, this > disables the use of the J

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 1:07 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 12:47 PM, Nathan Potter wrote: - BUT, If I request a URL (without a trailing slash) that references an existing directory within the the JSP servlet's purview, I get an

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
about it, as the documentation at Tomcat home indicated that all bug reports should begin here. N On Oct 17, 2011, at 11:14 AM, Caldarale, Charles R wrote: From: Nathan Potter [mailto:npot...@opendap.org] Subject: JspServlet - Unexpected behavior, possible bug... In my web applica

RE: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Caldarale, Charles R
> From: Nathan Potter [mailto:npot...@opendap.org] > Subject: Re: JspServlet - Unexpected behavior, possible bug... > Does that mean that you figured out what I was talking about or how to > correct/adjust the behavior? No, but hopefully Ms Ramsey will now stop polluting the

Re: [OT] JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ann, On 10/17/2011 4:01 PM, Ann Ramsey wrote: > Honestly, I'm just using another person's login. We don't really > have an IT guy, so I don't understand all the responses. I really > appreciate everyone responding though. You guys are very nice to > r

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 12:47 PM, Nathan Potter wrote: > - BUT, If I request a URL (without a trailing slash) that > references an existing directory within the the JSP servlet's > purview, I get an HTTP status 500 (Internal Server Error). > http://loc

RE: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: JspServlet - Unexpected behavior, possible bug... > On 10/17/2011 2:29 PM, Ann Ramsey wrote: > > we figured it out - thank you > What was the problem? It appears Ms Ramsey is completely clueless

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Ann Ramsey
out - thank you >> >> On Mon, Oct 17, 2011 at 1:14 PM, Caldarale, Charles R < >> chuck.caldar...@unisys.com> wrote: >> >> From: Nathan Potter [mailto:npot...@opendap.org] >>>> Subject: JspServlet - Unexpected behavior, possible bug...

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
arale, Charles R < chuck.caldar...@unisys.com> wrote: From: Nathan Potter [mailto:npot...@opendap.org] Subject: JspServlet - Unexpected behavior, possible bug... In my web application I need to utilize the JSP servlet, but I need to use a different servlet mapping: jsp

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ann, On 10/17/2011 2:29 PM, Ann Ramsey wrote: > we figured it out - thank you What was the problem? This isn't tech support: this is a community of volunteers and users. How about helping them out and explaining what went wrong so others can figure i

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Ann Ramsey
we figured it out - thank you On Mon, Oct 17, 2011 at 1:14 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Nathan Potter [mailto:npot...@opendap.org] > > Subject: JspServlet - Unexpected behavior, possible bug... > > > In my web applicatio

RE: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Caldarale, Charles R
> From: Nathan Potter [mailto:npot...@opendap.org] > Subject: JspServlet - Unexpected behavior, possible bug... > In my web application I need to utilize the JSP servlet, but > I need to use a different servlet mapping: > > jsp > /jsp/* >

JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
Greetings, I am new to this list and I apologize in advance if this has been covered (although searching the archives did not lead me to a related thread): In my web application I need to utilize the JSP servlet, but I need to use a different servlet mapping: jsp