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 else to Hyrax? Can it be configured

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

2011-10-18 Thread Konstantin Kolinko
2011/10/17 Nathan Potter npot...@opendap.org: 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

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 npot...@opendap.org: 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

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

2011-10-18 Thread Konstantin Kolinko
2011/10/18 Nathan Potter npot...@opendap.org: On Oct 18, 2011, at 6:50 AM, Konstantin Kolinko wrote: 2011/10/17 Nathan Potter npot...@opendap.org: 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

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

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.

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

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: servlet-mapping

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: servlet-mapping servlet-namejsp/servlet-name url

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 application I need to utilize the JSP servlet

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

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

2011-10-17 Thread Nathan Potter
, 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: servlet-mapping servlet-namejsp

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

2011-10-17 Thread Ann Ramsey
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: servlet-mapping servlet

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 concerning use

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).

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

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 mailing list. Let's

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

2011-10-17 Thread Nathan Potter
, 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 application I need to utilize the JSP servlet, but I need to use a different servlet mapping: servlet-mapping servlet

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

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 JspServlet using

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

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 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 other

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 directory)

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

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'm reading

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 mapped to /; anything mapped to /* is _not_

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 invoked when the true DefaultServlet

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 using a rewrite rule for every thing

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 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 problem. The default

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 / trumps

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. You only

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 see how

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