cvs commit: jakarta-tomcat/src/etc server.xml

2001-01-31 Thread costin
costin 01/01/31 23:03:36 Modified:src/etc server.xml Log: Ops, only RequestInterceptor or Interceptor was defined inside context. All configuration directives will be simplified ( as part of "usability" ), right now it's not the biggest priority. Revision ChangesP

Re: [VOTE] CVS Commit: Keith Wannamaker

2001-01-31 Thread Jon Stevens
on 1/31/01 7:46 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: >> >> He has been sending lots of excellent patches as well as the fact that he >> already has an apache.org account. I think we should give him commit access. >> >> We need two more +1's from others with commit access. > > +1

REPOST : extracting jsp filename from generated class

2001-01-31 Thread Shahed Ali
Hi all, Sorry for this repost. >From within a jsp page, I need to know the name of the jsp page. If I do a <%=this.getClass()%>, I get a string which represents the class name of the generated servlet. Is there some standard way in which I can extract the jsp page from that name ? Another Qs

RE: Problem with mod_jk and ajp13

2001-01-31 Thread Keith Wannamaker
The fix is in cvs for both 3.2 and 3.3, I only recommended 3.3 because it has a nightly build. If you already have the source, it is just a minor change. The patch is here: http://www.apache.org/~keith/jk/signed_error/ (see #8) Again, I don't know for sure that is your problem but it is possibl

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config AutoSetup.java

2001-01-31 Thread costin
costin 01/01/31 23:09:24 Modified:src/share/org/apache/tomcat/modules/config AutoSetup.java Log: - removed Larry's patch ( the context shouldn't be initialized when AutoSetup.engineInit is called - expanding the wars and adding webapps is part of the server configuration, and b

Fw: [Jython-users] servlet problem self.getInitParameterNames() under PyServlet wrapper

2001-01-31 Thread Brian Zhou
Hope I can get some insight and suggestion from tomcat developers (like which is the best class to subclass as jython servlet handler; what are the needed instance variables to be passed to jython servlet, etc.). The PyServlet code is available at http://groups.yahoo.com/group/jpython/message/3714

RE: Problem with mod_jk and ajp13

2001-01-31 Thread Peter Dai
Dan, Thanks for the help. I changed to tomcat 3.2.1 and it worked for large size POST with parameters. However, it still fails for POST with object, and here is the stack trace: Thanks, Peter java.io.StreamCorruptedException: Caught EOFException while reading the stream header at jav

Re: An alternative to JSP

2001-01-31 Thread Randall Parker
Glenn, Speaking of which: Yes, we need a place where the various templating and tagging approaches that somehow involve Java can be discussed. A thread like this thread needs a logical place for it to take place and right now there doesn't seem to be one as each list or Usenet group seems too

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config PolicyInterceptor.java

2001-01-31 Thread costin
costin 01/01/31 21:18:57 Modified:src/share/org/apache/tomcat/modules/config PolicyInterceptor.java Log: Add permission to write in the temp dir and it's own directory. ( watchdog does that, and it's not bad ) Revision ChangesPath 1.6 +13

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/startup Tomcat.java EmbededTomcat.java

2001-01-31 Thread costin
costin 01/01/31 21:27:36 Modified:src/share/org/apache/tomcat/startup Tomcat.java EmbededTomcat.java Log: Added the path-fixer module before the server.xml reader. Revision ChangesPath 1.49 +4 -1 jakarta-tomcat/src/share/org/apache/tomc

Re: PATCH: tagdependent tags should not parse content

2001-01-31 Thread Jeffrey Bonevich
Another update: I was screwed to begin with - Parser was cutting out even before it got to the relevant section of code because the compiled JSP was sitting in $TOMCAT_HOME/work/localhost8080%2Fmodel2test/! D'oh! Therefore, the patch DOES work. Who do I contact to get this put into production

[VOTE] CVS Commit: Keith Wannamaker

2001-01-31 Thread Jon Stevens
Ok, He has been sending lots of excellent patches as well as the fact that he already has an apache.org account. I think we should give him commit access. We need two more +1's from others with commit access. -jon - To unsubs

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config LogSetter.java

2001-01-31 Thread costin
costin 01/01/31 22:08:48 Modified:src/etc server.xml src/share/org/apache/tomcat/modules/config LogSetter.java Log: Replaced with the LogSetter, now everything works the same way without any special hacks. The comments on logging moved to the LogSetter - I'l

Re: [VOTE] CVS Commit: Keith Wannamaker

2001-01-31 Thread Dan Milstein
+1 Jon Stevens wrote: > > Ok, > > He has been sending lots of excellent patches as well as the fact that he > already has an apache.org account. I think we should give him commit access. > > We need two more +1's from others with commit access. > > -jon > > --

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config LogSetter.java

2001-01-31 Thread costin
costin 01/01/31 22:41:16 Modified:src/share/org/apache/tomcat/modules/config LogSetter.java Log: NPE - path can be null ( for console output ). Note that per/context interceptors are not working right now, I'll have them restored tommorow night. I also have to commit the fix

BugRat Report #657 - Tomcat's webserver doesn't create URLs properly for oddly named files.

2001-01-31 Thread BugRat Mail System
Report #657 Details Project: Tomcat Category: Bug Report SubCategory: New Bug Report Class: swbug State: received Priority: low Severity: non-critical Confidence: public Environment: Release: Tomcat 3.2+ JVM Release: Sun/HotSpot/1.3.0 Operating System: Windows NT 4.0 OS Release: 4.0

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/startup EmbededTomcat.java Tomcat.java

2001-01-31 Thread costin
costin 01/01/31 22:24:35 Modified:src/etc server.xml src/share/org/apache/tomcat/startup EmbededTomcat.java Tomcat.java Log: Use ServerXmlReader and ContextXmlReader. Revision ChangesPath 1.65 +3 -0 jakarta-tomcat/src/et

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config PathSetter.java

2001-01-31 Thread costin
costin 01/01/31 23:00:18 Modified:src/share/org/apache/tomcat/modules/config PathSetter.java Log: Ops, JDK1.1 alert, build was failing. Revision ChangesPath 1.2 +1 -1 jakarta-tomcat/src/share/org/apache/tomcat/modules/config/PathSetter.java Index: PathS

cvs commit: jakarta-tomcat/src/native/mod_jk/apache2.0 mod_jk.dsp

2001-01-31 Thread danmil
danmil 01/01/31 14:41:01 Modified:src/native/mod_jk/apache1.3 mod_jk.dsp src/native/mod_jk/apache2.0 mod_jk.dsp Log: Correcting the MS VC include directory for the new 3.3 directory structure Contributed by Keith Wannamaker ([EMAIL PROTECTED]) Revision Cha

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config LogSetter.java

2001-01-31 Thread costin
costin 01/01/31 21:43:00 Added: src/share/org/apache/tomcat/modules/config LogSetter.java Log: The module will set up the loggers - should replace the hacks in configuration, and maybe allow us to plug a different logger later ( like log4j ). Revision ChangesPath

Re: Problem with mod_jk and ajp13

2001-01-31 Thread Dan Milstein
Peter, There was a bug with POST size > 8K. This has been fixed in the 3.2 and 3.3 branches in cvs. I am almost certain that it was fixed in the 3.2.1 release available at: http://jakarta.apache.org/site/binindex.html If you are using the 3.2.1 release and are still seeing this problem, pleas

Re: [VOTE] Tomcat 3.3 Release Plan

2001-01-31 Thread Jon Stevens
on 1/30/01 8:13 AM, "Larry Isaacs" <[EMAIL PROTECTED]> wrote: After Larry's recent commit on the changes...my vote is now: > [ ] +1 I am in favor of this plan and will help > [x] +0I am in favor of this plan, but am unable to help > [ ] -0I am not in favor of this plan > [ ] -1 I am agai

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/config PathSetter.java

2001-01-31 Thread costin
costin 01/01/31 21:20:24 Added: src/share/org/apache/tomcat/modules/config PathSetter.java Log: Added ( based on DefaultCMSetter ) a "special" module that will be added before ServerXmlInterceptor to set the TOMCAT_HOME - instead of having this code duplicated. This also

Re: REPOST : extracting jsp filename from generated class

2001-01-31 Thread Craig R. McClanahan
Shahed Ali wrote: > Hi all, > > Sorry for this repost. > > >From within a jsp page, I need to know the name of the jsp page. > What do you mean by the "name" of the page? JSP pages have URIs used to access them (which you can get via request.getRequestURI()), but they do not really have a notio

[PATCH] Ajpv13 single read() call

2001-01-31 Thread Keith Wannamaker
This is a patch to ajpv13 in TC 3.3. Only a single read() call is used to read a packet. When the packet is large (i.e. uploading files), depending on the subsystem, it may take multiple read() calls to read the declared packet length. Patch: http://www.apache.org/~keith/jk/read/ajp13.txt Info

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/core Context.java ContextManager.java

2001-01-31 Thread costin
costin 01/01/31 21:06:05 Modified:src/share/org/apache/tomcat/core Context.java ContextManager.java Log: The first significant change in core for this year :-) The startup rules for tomcat were almost undefined in tomcat 3.2 and before, and defining a

cvs commit: jakarta-tomcat/src/admin/test test.jsp watchdog-jsp.jsp watchdog-servlet.jsp

2001-01-31 Thread costin
costin 01/01/31 20:43:48 Modified:src/admin/WEB-INF ant.tld web.xml src/admin/WEB-INF/classes/tadm AntTag.java src/admin/test test.jsp watchdog-jsp.jsp watchdog-servlet.jsp Log: - removed unused attribute from - fixed the

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets DefaultServlet.java

2001-01-31 Thread remm
remm01/01/31 20:29:58 Modified:catalina/src/share/org/apache/catalina/servlets DefaultServlet.java Log: - Fix more i18n issues in the directory browser : output as Unicode. That should fix the names of the files which are displayed. Revision Cha

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

2001-01-31 Thread costin
costin 01/01/31 20:44:57 Modified:src/facade22/org/apache/tomcat/facade JspInterceptor.java Log: Return error code if jsp compilation fails. Revision ChangesPath 1.11 +1 -1 jakarta-tomcat/src/facade22/org/apache/tomcat/facade/JspInterceptor.java Index: J

BugRat Report #402 - JSP include causes IllegalStateException: Cannot forward as OutputStream or Writer has already been obtained

2001-01-31 Thread BugRat Mail System
- Sender's Comment - I hit the same problem so finding solutions to it - End Of Sender's Comment --- Report URL: Report #402 Details Project: Tomcat Category: Bug Report SubCategory: New Bug Report Clas

Re: [VOTE] CVS Commit: Keith Wannamaker

2001-01-31 Thread Remy Maucherat
> Ok, > > He has been sending lots of excellent patches as well as the fact that he > already has an apache.org account. I think we should give him commit access. +1. Remy > We need two more +1's from others with commit access. > > -jon > > >

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets WebdavServlet.java

2001-01-31 Thread remm
remm01/01/31 16:27:11 Modified:catalina/src/share/org/apache/catalina/servlets WebdavServlet.java Log: - Also rewrite display names in PROPFIND responses. Revision ChangesPath 1.12 +8 -9 jakarta-tomcat-4.0/catalina/src/share/org/apa

RE: Problem with mod_jk and ajp13

2001-01-31 Thread Keith Wannamaker
Hi Peter, this may be related to a problem that was fixed recently in CVS. Please try a nightly 3.3 build: http://jakarta.apache.org/builds/jakarta-tomcat/nightly-3.3/ Keith -Original Message- From: Peter Dai [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 6:43 PM To: [EMAI

BugZilla Status...

2001-01-31 Thread Pier Fumagalli
Hey all... there are no components specified in BugZilla for the following: - Ant - WatchDog - Xerces-J - Xerces-C Can you please guys fix those, as it's impossible to file bugs without components for each product... Pier -- Pier Fumagalli

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets DefaultServlet.java

2001-01-31 Thread remm
remm01/01/31 15:05:11 Modified:catalina/src/share/org/apache/catalina/servlets DefaultServlet.java Log: - Change the Unicode encoding name to UTF8, as the UTF-8 name is not present in all Java2 versions (the earlier ones didn't have it). Thanks to

Problem with mod_jk and ajp13

2001-01-31 Thread Peter Dai
Hi There, Has anyone seen this problem. 1) I hava been doing applet-servlet communication with both parameters and object, it has been working nicely for any size(upto ~50K) of the request in my application. 2) Then I tried mod_jk / ajp13. For small requests, it worked fine. But for large

Re: [VOTE] Tomcat 3.3 Release Plan

2001-01-31 Thread Pierre Delisle
> Tomcat 3.3 Release Plan Ballot: > > [ ] +1I am in favor of this plan and will help > [X] +0I am in favor of this plan, but am unable to help > [ ] -0I am not in favor of this plan > [ ] -1I am against this plan being executed, and my > reason is:

RE: Filter Chains slow first time it is called

2001-01-31 Thread Kevin Jones
I've just taken a closer look at this, it's a browser problem. IE 5.5 has really trouble with content types. Even though I'm setting the type to text/html (in a filter) but at some point I've used IE 5.5 to get the data without the filter. The servlet returns text/xml. It seems that IE5.5 is stru

RE: mod_jk.so build problems with SunOS 5.6

2001-01-31 Thread James Courtney
I have to admit that I have no idea. Compiling C code on Unix isn't my forte and I'm pretty new to the whole Apache/Tomcat thing myself. Sorry I can't be of more help:( -Jamey -Original Message- From: keith bishop [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 3:55 PM To: [E

Re: Filter Chains slow first time it is called

2001-01-31 Thread Craig R. McClanahan
Kevin Jones wrote: > Subject says it all really. > > The first time a filter chain is executed for a servlet, it takes about 30 > seconds for the response to get back to the client. > It would be surprising if this is related to initializing the filter chain -- after all, the chain is constructe

Re: Custom ObjectFactory w\ Tomcat 4.0beta1

2001-01-31 Thread Arthur T Smyles
While I understand that J2EE spec has a standard way of getting resources,(including I imagine other JNDI Contexts), I still think that this approach should also be allowed for the following reasons: 1. It follows the JNDI Tutorial nicely (making it easy for new users to use); 2. It is backwards-c

Using Bugzilla to track unfixed bugs in Tomcat 3.3

2001-01-31 Thread Larry Isaacs
Hi All, Assuming the Tomcat 3.3 Release Plan is approved and proceeds to reach a release vote, it would be nice if a simple Bugzilla query would identify which bugs are and aren't fixed in Tomcat 3.3. In order to achieve this, I think we will need to standardize on a procedure to mark old bugs a

Q: Why using introspection and reflection inside a compiled JSP?

2001-01-31 Thread Klemme, Robert, myview
hi all, this might be regarded as a user question but i think this is so much internal that this is the right list to post to. if not, please excuse me. i will then repost on the users list. ok, here's what i'd like to know: looking at the java code generated from a JSP i found this: in the J