DO NOT REPLY [Bug 21810] - Startup.exe Error: SEVERE: Servlet.service() for servlet jsp threw exception

2003-07-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21810. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5MapperListener.java

2003-07-23 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: jfarcand2003/07/22 21:02:29 Modified:catalina/src/share/org/apache/coyote/tomcat5 MapperListener.java Log: When using the embedded interface (or jmx directly), context are never removed because of this condition (mapper.removeContext

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core ApplicationDispatcher.java

2003-07-23 Thread remm
remm2003/07/23 00:51:33 Modified:catalina/src/share/org/apache/catalina/core ApplicationDispatcher.java Log: - Forgot a few logging calls. Revision ChangesPath 1.21 +2 -2

Re: mod_jk 1.2.5 test source distribution

2003-07-23 Thread Henri Gomez
Glenn Nielsen a écrit : It isn't quite that easy. On Solaris the args for gethostbyname_r are different than on the AS400. Arg, you're right, same thing on Linux may be the configure task should get some discover code from apr (cf apr_network.m4 from APR). Or maybe we should delegate it to

Tomcat Memory Leak: classLoader never released

2003-07-23 Thread Vanessa Bensemhoun
All, I'm new in this mailing list and I've seen a problem with a Tomcat Memory Leak which seems to be similar with the bug 20758 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20758 but I would like to be sure about that... I have several J2EE applications hosted by my Tomcat

DO NOT REPLY [Bug 21822] New: - Placing a Valve inside a Context gives Null Pointer Exception...

2003-07-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21822. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 21823] New: - Compiler uses invoking page's PageInfo for handling tag files

2003-07-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21823. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 21822] - Placing a Valve inside a Context gives Null Pointer Exception...

2003-07-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21822. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: mod_jk 1.2.5 test source distribution

2003-07-23 Thread Glenn Nielsen
Henri Gomez wrote: Glenn Nielsen a écrit : It isn't quite that easy. On Solaris the args for gethostbyname_r are different than on the AS400. Arg, you're right, same thing on Linux may be the configure task should get some discover code from apr (cf apr_network.m4 from APR). When you build

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardPipeline.java

2003-07-23 Thread remm
remm2003/07/23 06:31:59 Modified:catalina/src/share/org/apache/catalina/core StandardPipeline.java Log: - Valves should only be registered and unregistered when: - addValve or removeValve is called and the associated pipeline is started - on start

DO NOT REPLY [Bug 21822] - Placing a Valve inside a Context gives Null Pointer Exception...

2003-07-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21822. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5MapperListener.java

2003-07-23 Thread Jean-Francois Arcand
Remy Maucherat wrote: [EMAIL PROTECTED] wrote: jfarcand2003/07/22 21:02:29 Modified:catalina/src/share/org/apache/coyote/tomcat5 MapperListener.java Log: When using the embedded interface (or jmx directly), context are never removed because of this

Re: cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servletJspServlet.java

2003-07-23 Thread Remy Maucherat
Jan Luehe wrote: Remy Maucherat wrote: BTW, I don't see why the spec saying that the header is optional implies that the flag must be implemented as something optional. It merely means that an implementation may ignore completely this feature. Actually, the Servlet spec is going to say

Tag file precompilation

2003-07-23 Thread Petr Jiricka
Hi, is Tomcat planning to provide a tag file compiler, which would compile tag files developed outside the web application, into a tag library? Secion JSP.8.4.4 of the JSP 2.0 spec says that this should be possible. Thanks Petr

Re: mod_jk 1.2.5 test source distribution

2003-07-23 Thread Henri Gomez
When you build mod_jk for apache 2 _REENTRANT will be defined if it is needed by apache. A simple #ifdef will work. I already did this but when I tested it caused other problems. I haven't had a chance yet to go back and fully test and debug this change. I'll get to it this week. Or maybe we

Re: mod_jk 1.2.5 test source distribution

2003-07-23 Thread Glenn Nielsen
Henri Gomez wrote: When you build mod_jk for apache 2 _REENTRANT will be defined if it is needed by apache. A simple #ifdef will work. I already did this but when I tested it caused other problems. I haven't had a chance yet to go back and fully test and debug this change. I'll get to it this

Re: mod_jk 1.2.5 test source distribution

2003-07-23 Thread Henri Gomez
Glenn Nielsen a écrit : Henri Gomez wrote: When you build mod_jk for apache 2 _REENTRANT will be defined if it is needed by apache. A simple #ifdef will work. I already did this but when I tested it caused other problems. I haven't had a chance yet to go back and fully test and debug this

Re: mod_jk 1.2.5 test source distribution

2003-07-23 Thread Henri Gomez
So the idea will be to use APR implementation when we detect that APR is available (configure should be updated accordingly). And under Apache 2.0, APR is allways available ! Apache 1.3 use fork mode under Unix, so no thread problem. For Windows I wonder what happen, may be the implementation

[PROPOSAL] Expose pre-compiled JSPs without servlet mapping

2003-07-23 Thread Jan Luehe
Currently, if webapp developers do not want to expose the source of their JSP files, they have to precompile them and add a servlet mapping for each JSP to their web.xml (e.g., with the help of jspc). If the webapp contains a large number of JSPs, the web.xml is going to grow pretty big. Would it

Re: [PROPOSAL] Expose pre-compiled JSPs without servlet mapping

2003-07-23 Thread Tim Funk
How will phantom pages be addressed? Pages where the jsp once existed but then was deleted, but the corresponding class was not deleted? -Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PROPOSAL] Expose pre-compiled JSPs without servlet mapping

2003-07-23 Thread Remy Maucherat
Jan Luehe wrote: Currently, if webapp developers do not want to expose the source of their JSP files, they have to precompile them and add a servlet mapping for each JSP to their web.xml (e.g., with the help of jspc). If the webapp contains a large number of JSPs, the web.xml is going to grow

DO NOT REPLY [Bug 18902] - Content Type set to text/plain when none explicitly assigned in the servlet

2003-07-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18902. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 18902] - Content Type set to text/plain when none explicitly assigned in the servlet

2003-07-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18902. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5 MapperListener.java

2003-07-23 Thread jfarcand
jfarcand2003/07/23 10:44:37 Modified:catalina/src/share/org/apache/coyote/tomcat5 MapperListener.java Log: Better solution for the undeployment problem. the engineName is always null when undeploying an application. Revision ChangesPath 1.10

Re: cvs commit:jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servletJspServlet.java

2003-07-23 Thread Jan Luehe
Remy, So I guess we have no choice but make it configurable (or not support it at all, which I don't think is an option), but since you've agreed that we should make this a configurable option (provided it is added at the right places), this is no longer an issue. I just committed a revised impl

DO NOT REPLY [Bug 18902] - Content Type set to text/plain when none explicitly assigned in the servlet

2003-07-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18902. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: [PROPOSAL] Expose pre-compiled JSPs without servlet mapping

2003-07-23 Thread Jan Luehe
Tim Funk wrote: How will phantom pages be addressed? Pages where the jsp once existed but then was deleted, but the corresponding class was not deleted? That's why I suggested an option for JspServlet that would disable this optimization and require a servlet mapping for each precompiled JSP.

Re: cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servletJspServlet.java

2003-07-23 Thread Remy Maucherat
Jan Luehe wrote: one comment, though: By adding the xpoweredBy property to CoyoteConnector instead of Host/Context, we get the X-Powered-By: Servlet/2.4 response header even for static resources. You could argue that this is OK, since static resources are handled by the DefaultServlet, but

Re: [PROPOSAL] Expose pre-compiled JSPs without servlet mapping

2003-07-23 Thread Remy Maucherat
Jan Luehe wrote: Tim Funk wrote: How will phantom pages be addressed? Pages where the jsp once existed but then was deleted, but the corresponding class was not deleted? That's why I suggested an option for JspServlet that would disable this optimization and require a servlet mapping for each

cvs commit: jakarta-tomcat-5 build.xml

2003-07-23 Thread remm
remm2003/07/23 11:31:05 Modified:.build.xml Log: - Add the optional JAR in the embed package. Revision ChangesPath 1.145 +1 -0 jakarta-tomcat-5/build.xml Index: build.xml ===

Re: cvs commit:jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servletJspServlet.java

2003-07-23 Thread Jan Luehe
Arg, what a hack ;-) (and my definition is that we get into the servlet container; if it's an internal servlet, it seems good enough, and the page being served was served by a Servlet API 2.4 component) Come on, this is a stupid feature nobody but marketting cares about (and I'd say the said

cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler Parser.java PageInfo.java

2003-07-23 Thread luehe
luehe 2003/07/23 12:23:46 Modified:jasper2/src/share/org/apache/jasper/compiler Parser.java PageInfo.java Log: Preparation work for new 'static include' rules Revision ChangesPath 1.77 +5 -5

DO NOT REPLY [Bug 21834] New: - Endless recursion in log() method if Logger is not set

2003-07-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21834. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 21834] - Endless recursion in log() method if Logger is not set

2003-07-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21834. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

[Patch] Exceptions being hidden in admin application

2003-07-23 Thread Jeff Tulley
Under User Definition in the /admin application, the Users, Groups, and Roles functionality does not work with the JNDIRealm. While troubleshooting this, I found that the real cause of the problem was being hidden by a programming error -- an error response was being sent, but the code did not

cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler PageInfo.java Validator.java

2003-07-23 Thread luehe
luehe 2003/07/23 13:37:24 Modified:jasper2/src/share/org/apache/jasper/compiler PageInfo.java Validator.java Log: Ignore default settings for extends and language when checking for multiple page directive attributes with conflicting values Revision

[5] release notes and javac

2003-07-23 Thread Tim Funk
I don't think this is correct anymore since we use ant, should I remove the following from RELEASE-NOTES? JAVAC leaking memory: The Java compiler leaks memory each time a class is compiled. Web applications containing hundreds of JSP files may as a

cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler TagLibraryInfoImpl.java

2003-07-23 Thread luehe
luehe 2003/07/23 18:17:34 Modified:jasper2/src/share/org/apache/jasper/compiler TagLibraryInfoImpl.java Log: Do not unconditionally use JSP as the default body-content type, because it is illegal for SimpleTag handlers Revision ChangesPath

Tomcat4 , mod_jk2 AF_UNIX connections

2003-07-23 Thread NAIK,ROSHAN (HP-Cupertino,ex1)
mod_jk2 allows for AF_UNIX connections to talk to Tomcat4. (http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/jk2/conf igwebex.html) So lets say we specify /tmp/jk2.socket as the AF_UNIX file socket for communication between mod_jk2 and Tomcat4. We can tell mod_jk2 in the

[5] Authentication for Overlapping Constraints

2003-07-23 Thread Bill Barker
Tomcat doesn't adhere to the (new) requirements in the 2.4 Servlet-Spec for handling the case of Overlapping Constraints: spec-quote version=2.4 pfd3 section=12.8.1 When a url-pattern and http-method pair occurs in multiple security constraints, the applicable constraints (on the pattern and

DO NOT REPLY [Bug 21822] - Placing a Valve inside a Context gives Null Pointer Exception...

2003-07-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21822. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 21843] New: - error-page directive not working correctly for jsp compile exceptions

2003-07-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21843. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.