Re: JNDI realm

2001-04-26 Thread Antony Bowesman
John Holman wrote: On a different but related topic, I wonder whether it is sensible to assume that user authentication and the determination of roles always use the same mechanisms. For example one might want to use a directory service for authentication but look up roles in a database -

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/startup Bootstrap.java

2001-04-26 Thread glenn
glenn 01/04/26 05:31:07 Modified:catalina/src/share/org/apache/catalina/startup Bootstrap.java Log: Preload more classes to keep the SecurityManager happy. Revision ChangesPath 1.17 +6 -4

[SUGGESTION] The tomcat bug related to URL encoding...

2001-04-26 Thread Park, Sung-Gu
Hi guys, Please, read and refer the commit message. ;-) http://jakarta.apache.org/cvsweb/index.cgi/jakarta-slide/src/webdav/client/s rc/org/apache/webdav/util/URIUtil.java?rev=1.3content-type=text/vnd.viewcvs -markup (NOTICE). If you don't concat the example, multi-byte letters are

starting/stopping contexts in Tomcat 4

2001-04-26 Thread Mark.Abbott
The ContextConfig.start and ContextConfig.stop methods in Tomcat 4b2 do not appear to be inverses of each other. The start method causes children to be added to the context during web.xml parsing, but the stop method does not remove them. Doesn't this mean that stopping and then restarting a

Tomcat 3.2.1 and RequestDispatcherImpl

2001-04-26 Thread Jon Doe
Hi everybody, For our application we have developed a ResponseWrapper that implements ServletResponse. The problem comes when we use Tomcat 3.2.1.RequestDispatcherImpl.include(ServletRequest request, ServletResponseresponse).The response parameter that the include method receives is

Re: jsp version supported

2001-04-26 Thread Craig R. McClanahan
On Thu, 26 Apr 2001, Carlos Piqueres Ayela wrote: Hi everybody, When we try to use in the jsp:include with flush set to false tomcat says that JSP1.0 only allows this value to true. Nevertheless Tomcat 3.2 is supposed to support JSP1.1 where this value can be set to false. Is it any

Re: getPathInfo() recieved by jsp:include?

2001-04-26 Thread Craig R. McClanahan
On Thu, 26 Apr 2001, Jun-hee Yoo wrote: i'm not sure if it is a bug, Nope ... it is a misunderstanding on your part. or if it is already corrected, but I find that when a jsp page uses the jsp:include tag and includes the output of a servlet, the servlet can't get the PATH_INFO. i

Tomcat 3.2.1 and RequestDispatcherImpl

2001-04-26 Thread Ana
For our application we have developed a ResponseWrapper and ResponseWrapper that implements ServletResponse and ServletRequest. The problem comes when we use Tomcat 3.2.1. RequestDispatcherImpl.include(ServletRequest request, ServletResponse response). The response parameter that the include

Re: Tomcat 3.2.1 and RequestDispatcherImpl

2001-04-26 Thread Craig R. McClanahan
On Thu, 26 Apr 2001, Jon Doe wrote: Hi everybody, For our application we have developed a ResponseWrapper that implements ServletResponse. The problem comes when we use Tomcat 3.2.1. RequestDispatcherImpl.include(ServletRequest request, ServletResponse response). The response

cvs commit: jakarta-tomcat-4.0/tester/src/tester/org/apache/tester ErrorPage04.java ErrorPage06.java

2001-04-26 Thread craigmcc
craigmcc01/04/26 09:39:14 Modified:tester/src/tester/org/apache/tester ErrorPage04.java ErrorPage06.java Log: [PFD2-9.9] Revise the error page propogation tests to reflect the fact that the actual exception that was thrown is forwarded to the error pages.

cvs commit: jakarta-tomcat-4.0/tester/src/tester/org/apache/tester Session01.java

2001-04-26 Thread craigmcc
craigmcc01/04/26 11:30:17 Modified:tester/src/tester/org/apache/tester Session01.java Log: Add a test that HttpSession.setAttribute(name, null) acts like HttpSession.removeAttribute(name). Revision ChangesPath 1.2 +13 -2

Redirecting the Response of a JSP to a String

2001-04-26 Thread Sasha Haghani
Hi there, -- DISCLAIMER: This a Tomcat question, where the solution will likely require some tinkering with the implementation. What I'm to do is probably a non-standard use case. I think knowledge of the Tomcat internals is required to answer this. I hope this question is appropriate

Tomcat Source Javadoc

2001-04-26 Thread Sasha Haghani
Is there any Javadoc for the Tomact source? Can I generate it myself?

Re: Redirecting the Response of a JSP to a String

2001-04-26 Thread Craig R. McClanahan
A fourth solution (also portable) is to look at the Filter capability in the servlet 2.3 API (supported by Tomcat 4.0). Craig McClanahan On Thu, 26 Apr 2001, Sasha Haghani wrote: Hi there, -- DISCLAIMER: This a Tomcat question, where the solution will likely require some tinkering

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session JDBCStore.java

2001-04-26 Thread bip
bip 01/04/26 13:17:21 Modified:catalina/src/share/org/apache/catalina/session JDBCStore.java Log: Changed the SQL Statement for keys(), threw an error under MySQL. Revision ChangesPath 1.3 +26 -23

Error in tomcat.log

2001-04-26 Thread Marcia Perry
Hi, An app I'm trying to run involving servlets causes the following error to be written to tomcat.log: Error reading request connection reset (I'm running tomcat v3.1). Does anyone know what this error may indicate or what can cause it? (I realize this has been asked previously

Re: Redirecting the Response of a JSP to a String

2001-04-26 Thread Glenn Nielsen
Jon Stevens wrote: on 4/26/01 2:11 PM, Glenn Nielsen [EMAIL PROTECTED] wrote: A fifth solution for just sending email is to use the Mailer taglib at http://jakarta.apache.org/taglibs/mailer/ Regards, Glenn The requested URL /taglibs/mailer/ was not found on this server. :-)

cvs commit: jakarta-tomcat-4.0/catalina/src/conf server.xml

2001-04-26 Thread craigmcc
craigmcc01/04/26 17:34:00 Modified:catalina build.xml catalina/src/conf server.xml Log: Remove the warp connector from the build (and from the default server.xml configuration) until I have time to figure out why it breaks a build from scratch. Revision

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

2001-04-26 Thread horwat
horwat 01/04/26 18:32:47 Modified:jasper/src/share/org/apache/jasper/compiler ParserXJspSaxHandler.java Parser.java Log: Check to make sure string is not null before doing any manipulations. Fix minor tag handling bug. Revision ChangesPath 1.12

Re: Redirecting the Response of a JSP to a String

2001-04-26 Thread Glenn Nielsen
Just create a sendmail.jsp which uses the mailer taglib, then use jsp:include .../ to include it, it won't generate any content, just send the email. Pass any parameters as request scope attributes or using jsp:param ... / There are always tradeoffs. Using runtime includes reduces the memory

Re: ERROR using multipart/form-data POST request

2001-04-26 Thread Incze Lajos
This error hapens when I try to upload file using form with enctype=multipart/form-data and method=post. The environment: Linux(2.4.3), Apache(1.3.19), mod_jk and Tomcat (3.2.1), using ajp13 protocol. I can't seem to find anything like that in apache bug tracking system. Did anyone

Cross context class loader bug ?

2001-04-26 Thread Serge Huber
scratching my head over this one for a while now and I would appreciate any pointer. For information, I can reproduce the problem on both tomcat4.0b3, tomcat4.0b4-dev-20010426 (the latest nightly snapshot I could get my hands on). Last but not least I must say that this worked fine under tomcat4.0b1

Re: Cross context class loader bug ?

2001-04-26 Thread Craig R. McClanahan
on both tomcat4.0b3, tomcat4.0b4-dev-20010426 (the latest nightly snapshot I could get my hands on). Last but not least I must say that this worked fine under tomcat4.0b1 and that I am willing to patch tomcat code if needed. Thanks a lot, Serge Huber.

Re: starting/stopping contexts in Tomcat 4

2001-04-26 Thread Craig R. McClanahan
On Thu, 26 Apr 2001, Mark.Abbott wrote: The ContextConfig.start and ContextConfig.stop methods in Tomcat 4b2 do not appear to be inverses of each other. The start method causes children to be added to the context during web.xml parsing, but the stop method does not remove them.

Re: Cross context class loader bug ?

2001-04-26 Thread Serge Huber
the problem on both tomcat4.0b3, tomcat4.0b4-dev-20010426 (the latest nightly snapshot I could get my hands on). Last but not least I must say that this worked fine under tomcat4.0b1 and that I am willing to patch tomcat code if needed. Thanks a lot, Serge Huber.

Re: Cross context class loader bug ?

2001-04-26 Thread Serge Huber
scratching my head over this one for a while now and I would appreciate any pointer. For information, I can reproduce the problem on both tomcat4.0b3, tomcat4.0b4-dev-20010426 (the latest nightly snapshot I could get my hands on). Last but not least I must say that this worked fine under

cvs commit: jakarta-tomcat-4.0/tester/web Xerces00.jsp

2001-04-26 Thread craigmcc
craigmcc01/04/26 10:21:29 Modified:tester/web Xerces00.jsp Log: Change jsp:cdata back to jsp:text to reflect the reverted change in JSP. Revision ChangesPath 1.3 +1 -1 jakarta-tomcat-4.0/tester/web/Xerces00.jsp Index: Xerces00.jsp

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session StandardSession.java

2001-04-26 Thread craigmcc
craigmcc01/04/26 10:23:38 Modified:catalina/src/share/org/apache/catalina/connector RequestBase.java catalina/src/share/org/apache/catalina/core ApplicationContext.java

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector HttpRequestBase.java LocalStrings.properties

2001-04-26 Thread craigmcc
craigmcc01/04/26 10:41:08 Modified:catalina/src/share/org/apache/catalina/connector HttpRequestBase.java LocalStrings.properties Log: [PFD2-Javadocs] If a servlet calls request.getSession() true with no current session, and the response has already

Re: Redirecting the Response of a JSP to a String

2001-04-26 Thread Glenn Nielsen
A fifth solution for just sending email is to use the Mailer taglib at http://jakarta.apache.org/taglibs/mailer/ Regards, Glenn Sasha Haghani wrote: Hi there, -- DISCLAIMER: This a Tomcat question, where the solution will likely require some tinkering with the implementation.