cvs commit: jakarta-tomcat/src/facade22/org/apache/tomcat/facade JspInterceptor.java

2001-01-25 Thread costin
costin 01/01/25 22:45:32 Modified:src/facade22/org/apache/tomcat/facade JspInterceptor.java Log: Bug fix - if JspServlet is used, make sure we pass the class loader that jasper expects and we don't use URLClassLoader ( as we have done for JspInterceptor ). That should address t

Re: catalina classpath question

2001-01-25 Thread Arshad Mahmood
Thanks Craig, that clears up the issue.   Regards, Arshad - Original Message - From: Craig R. McClanahan To: [EMAIL PROTECTED] Sent: Thursday, January 25, 2001 11:42 PM Subject: Re: catalina classpath question Arshad Mahmood wrote: Hi, I am tryi

cvs commit: jakarta-tomcat/src/facade22/org/apache/tomcat/facade RequestDispatcherImpl.java

2001-01-25 Thread costin
costin 01/01/25 18:59:55 Modified:src/facade22/org/apache/tomcat/facade RequestDispatcherImpl.java Log: Fix typo in method name - most tests are passing under sandbox. Revision ChangesPath 1.13 +1 -19 jakarta-tomcat/src/facade22/org/apa

Re: Tomcat 4 Jasper ClassLoading changes to support SecurityManager

2001-01-25 Thread Glenn Nielsen
"Craig R. McClanahan" wrote: > > Glenn Nielsen wrote: > > > "Craig R. McClanahan" wrote: > > > > > > Glenn Nielsen wrote: > > > > > > > In order to make it easier to integrate the SecurityManager into Jasper > > > > for Tomcat 4 and to change some of Japsers annoying behaviours, I have > > > > b

Re: Tomcat 4 Jasper ClassLoading changes to support SecurityManager

2001-01-25 Thread Craig R. McClanahan
Glenn Nielsen wrote: > "Craig R. McClanahan" wrote: > > > > Glenn Nielsen wrote: > > > > > In order to make it easier to integrate the SecurityManager into Jasper > > > for Tomcat 4 and to change some of Japsers annoying behaviours, I have > > > been working on switching Jasper over to the URLCla

Re: Tomcat 4 Jasper ClassLoading changes to support SecurityManager

2001-01-25 Thread Glenn Nielsen
"Craig R. McClanahan" wrote: > > Glenn Nielsen wrote: > > > In order to make it easier to integrate the SecurityManager into Jasper > > for Tomcat 4 and to change some of Japsers annoying behaviours, I have > > been working on switching Jasper over to the URLClassLoader. > > > > I have the class

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/resources DirContextURLConnection.java

2001-01-25 Thread remm
remm01/01/25 17:04:25 Modified:catalina/src/share/org/apache/naming/resources DirContextURLConnection.java Log: - Last modified hadling looked broken. It should be fixed (and it should be more efficient). Thanks to Justyna for reporting (and debug

JDBCRealm - can't make it work

2001-01-25 Thread Dipankar Sinha
I am trying to setup some webpages hosted using Tomcat and I am facing problems to access the databse in MySQL from the webpages. I have setup Tomcat-3.2.1 and Apache_1.3.14 with MySQL-3.23.31 under RedHatLinux 6.2. Tomcat, Apache and MySQL are basically working fine whereas jdk1.3 is installed u

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/log Logger.java

2001-01-25 Thread nacho
nacho 01/01/25 16:07:25 Modified:src/share/org/apache/tomcat/util/log Logger.java Log: Log cycle Revision ChangesPath 1.4 +47 -17jakarta-tomcat/src/share/org/apache/tomcat/util/log/Logger.java Index: Logger.java

Re: TOMCAT + mod_jk or mod_webapp

2001-01-25 Thread Pier P. Fumagalli
jean-frederic clere <[EMAIL PROTECTED]> wrote: > Hi all, > > I am wondering where to put put my energy mod_jk or mod_webapp. > > Looking the repositories I have found the following: > > ./jakarta-tomcat/src/native/mod_jk/apache1.3/mod_jk.c > ./jakarta-tomcat/src/native/mod_jk/apache2.0/mod_jk.

RE: TOMCAT + mod_jk or mod_webapp

2001-01-25 Thread Keith Wannamaker
Hi, I'd like to extend mod_jk to let servlets be RFC 1867 compliant. Specifically, when transmitting a (large) body of a request on the ajp connection: a) mod_jk should be prepared to receive a response from the servlet at any time during the send of the body; and b) mod_jk should consume

Re: [PROPOSAL] Tomcat 3.3 Release Plan

2001-01-25 Thread Pier P. Fumagalli
James Duncan Davidson <[EMAIL PROTECTED]> wrote: > On 1/24/01 10:49 AM, "Jon Stevens" <[EMAIL PROTECTED]> wrote: > >> on 1/24/01 10:06 AM, "Larry Isaacs" <[EMAIL PROTECTED]> wrote: >> >>> It should be noted that when this plan comes up for a vote, a +1 by a >>> committer will constitute a commi

Re: catalina classpath question

2001-01-25 Thread Craig R. McClanahan
Arshad Mahmood wrote: Hi, I am trying to setup an application under Catalina and can't seem to find a way to add another directory to the CLASSPATH for a web application. Is there a way to add a directory like "WEB-INF/resources" to the CLASSPATH. I can solve my problem by adding my files below

Re: Interceptors

2001-01-25 Thread Peter Donald
At 01:09 22/1/01 +, PSA wrote: >> Under windows it gets it's events from a multitude of different sources >> (some are grabbed from eventqueue, others from win32 hooks and others are >> application created) then routes them through a central message queue and >> central dispatching model. In

Re: Tomcat 4 Jasper ClassLoading changes to support SecurityManager

2001-01-25 Thread Craig R. McClanahan
Glenn Nielsen wrote: > In order to make it easier to integrate the SecurityManager into Jasper > for Tomcat 4 and to change some of Japsers annoying behaviours, I have > been working on switching Jasper over to the URLClassLoader. > > I have the class loading changes in place and Jasper passes al

How to send log info?

2001-01-25 Thread Yi Lin
1. How can I send output to Tomcat console or the log files from JSP beans or servlets? I tried System.err.println() with Tomcat 3.2 and did not see anything on the screen or log file. 2. Can anyone explain how Tomcat uses/creates different class loaders to load classes used by a JSP page? I am c

Re: JSP generated .java Naming Convention

2001-01-25 Thread David Brown
$0.02, If you want to get the name of the current JSP page, in the sense of the file part of a URL in a browser, then request.getRequestURI() will give you that as a String, which you can parse as needed. If you're trying to get the synthentically-generated classname of the JSP servlet, and then

Re: Tomcat 4 Jasper ClassLoading changes to support SecurityManager

2001-01-25 Thread Anil Vijendran
+1. Glenn Nielsen wrote: > In order to make it easier to integrate the SecurityManager into Jasper > for Tomcat 4 and to change some of Japsers annoying behaviours, I have > been working on switching Jasper over to the URLClassLoader. > > I have the class loading changes in place and Jasper pass

netdb.h

2001-01-25 Thread Daniel Williams
I'm trying to compile the Apache Tomcat module on Windows. I'm having problems finding netdb.h. Would anyone know were I could get my hands on this file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, ema

Tomcat 4 Jasper ClassLoading changes to support SecurityManager

2001-01-25 Thread Glenn Nielsen
In order to make it easier to integrate the SecurityManager into Jasper for Tomcat 4 and to change some of Japsers annoying behaviours, I have been working on switching Jasper over to the URLClassLoader. I have the class loading changes in place and Jasper passes all watchdog tests. I wanted to

catalina classpath question

2001-01-25 Thread Arshad Mahmood
Hi,   I am trying to setup an application under Catalina and can't seem to find a way to add another directory to the CLASSPATH for a web application. Is there a way to add a directory like "WEB-INF/resources" to the CLASSPATH.   I can solve my problem by adding my files below "WEB-INF/class

JSP generated .java Naming Convention

2001-01-25 Thread Shahed Ali
Hi, I need to get the name of the current jsp page in a scriptlet. The jsp page could be serverd up by a link or by a jsp:forward or a redirect. If I do <%=this.getClass()%>, I get the following for a jsp page tmp/ST003.jsp tmp._0002ftmp_0002fST_00030_00030_00033_0002ejspST003_jsp_1 Is there

cvs commit: jakarta-tomcat-4.0/catalina/docs/config example.html introduction.html server.html service.html warp.html

2001-01-25 Thread craigmcc
craigmcc01/01/25 13:40:59 Added: catalina/docs/config example.html introduction.html server.html service.html warp.html Log: Add some additional pages to the Tomcat 4.0 configuration information. Revision ChangesPath 1.1 jakarta

Re: An alternative to JSP

2001-01-25 Thread Paul Speed
Jon Stevens wrote: > > on 1/25/01 11:42 AM, "Paul Speed" <[EMAIL PROTECTED]> wrote: > > > Just thought that I would point out that: > > "My " + "dog " + "has " + "fleas." will be compiled as one String: > > "My dog has fleas." and incurs no runtime penalties. In the case > > of literals it ca

Tomcat 4 watchdog failures

2001-01-25 Thread Glenn Nielsen
The latest Tomcat 4 from CVS has the following watchdog errors the _second_ time you run watchdog, it all passes the first time. FAIL GET /jsp-tests/jsp/core_syntax/scripting/scriptlet/positiveScriptlet.jsp HTTP/1.0 FAIL GET /jsp-tests/jsp/core_syntax/scripting/scriptlet/positiveScriptletXML.jsp

RE: cvs commit: jakarta-tomcat-4.0/jasper/src/share/org/apache/ja sper/compiler TagLibraryInfoImpl.java

2001-01-25 Thread Remy Maucherat
Quoting "Bucknam, Brian" <[EMAIL PROTECTED]>: > Why not try to continue if getRealPath() returns null? The Servlet 2.2 > spec > allows containers to return null if they feel like it. (Haven't > checked > this in 2.3). Very good point. With my latest patch, getRealPath() will always return null

Thread-safety

2001-01-25 Thread Luc Vanlerberghe
Thanks for incorporating this change to jasper. I had suggested it a couple of months ago (22/11/2000 in fact: see http://w6.metronet.com/~wjm/tomcat/2000/Nov/msg00747.html) In the meantime, however, I have been browsing through the sessions of the JavaOne conference of 2000 and there's (at leas

Small problem with build.xml?

2001-01-25 Thread Ceki Gülcü
Hello, I have just tried to build the latest tomcat as available from the CVS repository along the latest snapshot of ant as available from the CVS repository. I would just like to let you know that I had to change the reference to the ${ant.home}/bin directory to ${ant.home}/dist/bin in th

Re: jakarta-watchdog-4.0 fixes

2001-01-25 Thread Craig R. McClanahan
Glenn Nielsen wrote: > "Craig R. McClanahan" wrote: > > > > Glenn Nielsen wrote: > > > > > jakarta-watchdog-4.0 needs two things fixed: > > > > > > 1. build.sh uses the shell /bin/bash instead of /bin/sh > > > > > > > Fixed. > > > > Thanks > > > > > > > 2. build.xml refers to jakarta-servletapi

Re: An alternative to JSP

2001-01-25 Thread Jon Stevens
on 1/25/01 11:42 AM, "Paul Speed" <[EMAIL PROTECTED]> wrote: > Just thought that I would point out that: > "My " + "dog " + "has " + "fleas." will be compiled as one String: > "My dog has fleas." and incurs no runtime penalties. In the case > of literals it can be more efficient than StringBuffe

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

2001-01-25 Thread Bucknam, Brian
Why not try to continue if getRealPath() returns null? The Servlet 2.2 spec allows containers to return null if they feel like it. (Haven't checked this in 2.3). That is, how about something more forgiving like this instead: try { // see if file exists on the filesystem firs

BugRat Report #838 was closed (apparently by: Ignacio Ortega)

2001-01-25 Thread BugRat Mail System
Report #838 was closed by Person #0 Synopsis: Shows JSP Source through SimpleTCPConnector with GET without HTTP/1.0 (logged in as: Ignacio Ortega) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email:

BugRat Report #838 has been filed.

2001-01-25 Thread BugRat Mail System
Bug report #838 has just been filed. You can view the report at the following URL: REPORT #838 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: webbug State: received Priority: medium Severity: serious

Re: An alternative to JSP

2001-01-25 Thread Paul Speed
Mel Martinez wrote: > > Without getting into the larger issue, one problem > that jumped out at me from your article is (at least > in your examples) the MLS precompile looks at the > expression inside the digraphs and replaces line > terminations in the *.j source with linefeed > characters ('

Re: jakarta-watchdog-4.0 fixes

2001-01-25 Thread Glenn Nielsen
"Craig R. McClanahan" wrote: > > Glenn Nielsen wrote: > > > jakarta-watchdog-4.0 needs two things fixed: > > > > 1. build.sh uses the shell /bin/bash instead of /bin/sh > > > > Fixed. > Thanks > > > > 2. build.xml refers to jakarta-servletapi-4 instead of jakarta-servletapi-4.0 > > > > It

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader StandardLoader.java

2001-01-25 Thread remm
remm01/01/25 11:09:34 Modified:catalina/src/share/org/apache/catalina/core ApplicationContext.java StandardContext.java catalina/src/share/org/apache/catalina/loader StandardLoader.java Log: - HttpServletRequest.getP

Re: TOMCAT + mod_jk or mod_webapp

2001-01-25 Thread cmanolache
> Hi all, > > I am wondering where to put put my energy mod_jk or mod_webapp. I would say both :-) Each has certain advantages, and the best solution is to combine the 2. My preference is to add the protocol used by mod_webapp to the list of protocols supported by mod_jk. I think that gives us

Re: An alternative to JSP

2001-01-25 Thread Mel Martinez
Without getting into the larger issue, one problem that jumped out at me from your article is (at least in your examples) the MLS precompile looks at the expression inside the digraphs and replaces line terminations in the *.j source with linefeed characters ('\n'). That presumes the line termina

Re: Nightly Build Link

2001-01-25 Thread cmanolache
> I just attempted to grab the latest 3.x nightly source from the Jakarta > site. The link points to: > > http://jakarta.apache.org/builds/tomcat/nightly/src/ http://jakarta.apache.org/builds/tomcat/nightly-3.3 ( I know, it should be called 3.x - I'll change all the scripts, I know it's the wr

Re: Nightly Build Link

2001-01-25 Thread Alex Fernández
You can; just install WinCVS http://www.wincvs.org/ and there you go. It's a bit clumsy and all, but thanks to it I downloaded 3.x HEAD and 4.0 without having to remember the weird commands :) Still, Costin has the nightly build at http://jakarta.apache.org/builds/tomcat/nightly-3.3 Cheers, A

Re: Nightly Build Link

2001-01-25 Thread Jon Stevens
on 1/25/01 10:26 AM, "Christopher Cain" <[EMAIL PROTECTED]> wrote: > I just attempted to grab the latest 3.x nightly source from the Jakarta > site. The link points to: > > http://jakarta.apache.org/builds/tomcat/nightly/src/ > > ... but returns a 404. Any ideas? (I am stuck in Windoze at the m

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core StandardContext.java StandardContextValve.java

2001-01-25 Thread remm
remm01/01/25 10:36:46 Modified:catalina/src/share/org/apache/catalina/core StandardContext.java StandardContextValve.java Log: - Security fix : A webapp could access the naming environment of another webapp by using the ContextBindings.getContext(Str

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/java javaURLContextFactory.java

2001-01-25 Thread remm
remm01/01/25 10:35:45 Modified:catalina/src/share/org/apache/naming ContextAccessController.java ContextBindings.java catalina/src/share/org/apache/naming/java javaURLContextFactory.java Log: - Security fix : A webap

Nightly Build Link

2001-01-25 Thread Christopher Cain
I just attempted to grab the latest 3.x nightly source from the Jakarta site. The link points to: http://jakarta.apache.org/builds/tomcat/nightly/src/ ... but returns a 404. Any ideas? (I am stuck in Windoze at the moment and cannot set up CVS on this box.) Thanks ... Christopher

Re: Tomcat 4.0

2001-01-25 Thread Craig R. McClanahan
Kurt Schrader wrote: > I feel that the CVS situation is rather ambiguous on the Tomcat 4 front > right now. Is the 4.1 branch going to continue to exist in CVS? I > thought it was going away after recent discussion. > It is -- but we wanted to make sure we've back-ported all of the appropria

Re: TOMCAT + mod_jk or mod_webapp

2001-01-25 Thread Craig R. McClanahan
jean-frederic clere wrote: > Hi all, > > I am wondering where to put put my energy mod_jk or mod_webapp. > > Looking the repositories I have found the following: > > ./jakarta-tomcat/src/native/mod_jk/apache1.3/mod_jk.c > ./jakarta-tomcat/src/native/mod_jk/apache2.0/mod_jk.c > ./jakarta-tomcat/sr

Re: jakarta-watchdog-4.0 fixes

2001-01-25 Thread Craig R. McClanahan
Glenn Nielsen wrote: > jakarta-watchdog-4.0 needs two things fixed: > > 1. build.sh uses the shell /bin/bash instead of /bin/sh > Fixed. > > 2. build.xml refers to jakarta-servletapi-4 instead of jakarta-servletapi-4.0 > It is supposed to. The API classes for servlet 2.3 / JSP 1.2 got moved

Tomcat 4.0

2001-01-25 Thread Kurt Schrader
I feel that the CVS situation is rather ambiguous on the Tomcat 4 front right now. Is the 4.1 branch going to continue to exist in CVS? I thought it was going away after recent discussion. - To unsubscribe, e-mail: [EMAIL PRO

TOMCAT + mod_jk or mod_webapp

2001-01-25 Thread jean-frederic clere
Hi all, I am wondering where to put put my energy mod_jk or mod_webapp. Looking the repositories I have found the following: ./jakarta-tomcat/src/native/mod_jk/apache1.3/mod_jk.c ./jakarta-tomcat/src/native/mod_jk/apache2.0/mod_jk.c ./jakarta-tomcat/src/native/mod_jserv/mod_jserv.c ./jakarta-to

BugRat Report #826 was closed (apparently by: Marc Saegesser)

2001-01-25 Thread BugRat Mail System
Report #826 was closed by Person #0 Synopsis: jk_nt_service.exe stops executing as an NT service when user logs off (logged in as: Marc Saegesser) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email:

BugRat Report #778 was closed (apparently by: Marc Saegesser)

2001-01-25 Thread BugRat Mail System
Report #778 was closed by Person #0 Synopsis: Cannot make an include inside a custom tag (logged in as: Marc Saegesser) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: [PROPOSAL] Tomcat 3.3 Release Plan

2001-01-25 Thread Larry Isaacs
IMPORTANT: This is not the vote! Just an explanation about the vote to come. Hi Henri, I'm planning for the Tomcat 3.3 voting ballot to have two issues to vote on. 1) A vote for the release plan 2) A vote for doing maintenance A +1 vote indicates a commitment to help with that issue. You wi

BugRat Report #836 was closed (apparently by: Marc Saegesser)

2001-01-25 Thread BugRat Mail System
Report #836 was closed by Person #0 Synopsis: destroy() not called after session-timeout? (logged in as: Marc Saegesser) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: [PROPOSAL] Tomcat 3.3 Release Plan

2001-01-25 Thread GOMEZ Henri
>> It should be noted that when this plan comes up for a vote, a +1 by a >> committer will constitute a commitment not only to helping >with the release, >> but to provide maintenance support beyond the release. The +1 / +0 may afraid some people with spare time now but not sure to be able to h

Re: [PROPOSAL] Tomcat 3.3 Release Plan

2001-01-25 Thread James Duncan Davidson
On 1/24/01 10:49 AM, "Jon Stevens" <[EMAIL PROTECTED]> wrote: > on 1/24/01 10:06 AM, "Larry Isaacs" <[EMAIL PROTECTED]> wrote: > >> It should be noted that when this plan comes up for a vote, a +1 by a >> committer will constitute a commitment not only to helping with the release, >> but to prov

RE: [OT] AB on Windows?

2001-01-25 Thread Gudmundur Hafsteinsson
I've tried these, but they don't offer the simplicity of AB. Does anyone know why AB is only shipped with Apache on UNIX? (Again, sorry for the off-topic question) > -Original Message- > From: Scott Sanders [mailto:[EMAIL PROTECTED]] > > Why not use JMeter at java.apache.org? > > Or, Mi

BugRat Report #836 has been filed.

2001-01-25 Thread BugRat Mail System
Bug report #836 has just been filed. You can view the report at the following URL: REPORT #836 Details. Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: high Severity: critical C