Re: [PROPOSAL] Add Post to the clear list for protected pages

2003-07-21 Thread Michael Smith
Costin Manolache wrote: Bill Barker wrote: At the moment (with the default settings), Tomcat 4.1.x and higher add HTTP headers to non-SSL protected pages to prevent intermediate proxies from caching them. According to the HTTP/1.1 RFC (and even the HTTP/1.0 RFC), POSTed pages are not allowed to

Re: JK2 module for AOLserver

2003-03-27 Thread Michael Smith
Alexander Leyke wrote: Hi, A question about enhancement adoption process - how long does it typically take for new code to show up in CVS, in nightly builds? What is the verification process for new code? I have posted enhancement request to the mailing list and to Bugzilla

Re: Shutdown.sh does not work when long lasting operations, suchas SQL Queries, are still active!

2003-02-11 Thread Michael Smith
Tim Funk wrote: Why is a kill done instead of a System.exit()? System.exit() is a cleaner solution, but there are plenty of cases where tomcat won't shut down at all with this solution, so a kill is needed (either as suggested, or manually/externally). For example, I had a bug in a webapp a

Re: MOVE method processing of WebdavServlet

2002-12-19 Thread Michael Smith
Yokota Takehiko wrote: Hi, all. There is a question about WebdavServlet in Tomcat4.1.12. I tried to send MOVE request to WebdavServlet and I expected that a file was moved, but it was copied and deleted. I think org.apache.catalina.servlets.WebdavServlet#doMove() should move resource instead

Re: Thread priority

2002-12-16 Thread Michael Smith
Remy Maucherat wrote: Hi, I was wondering about how expensive the Thread.setPriority method is, and to which extent it does what it advetises. Remy, Thread.setPriority will (in a native threading implementation, rather than something like the old green-threads JVM) be a system call, so it's

Re: Tomcat memory management

2002-11-11 Thread Michael Smith
Scott Johnson wrote: Hello, We've got an application that is replicated for clients, each replication runs in its own context. We're running jdk1.4.1, RH7.2, Tomcat 4.0.6 Even though the application itself can run fine on 10mb RAM, as each context initializes, EVERY thread allocates

Re: Bug 13736

2002-10-20 Thread Michael Smith
Remy Maucherat wrote: Bill Barker wrote: I don't remember anything like that for 3.3.x (and nothing even close is open in BZ). But, then again, I don't imagine that very many people try and use the Http10Connector in production, and Coyote is only available in the nightly for 3.3

Re: Tomcat 4.1.12 and Servlet Access 404 Errors: BUG?

2002-10-02 Thread Michael Smith
micael wrote: I cannot see any difference relative to the invoker filter, ExampleFilter, in the web.xml for Tomcat 4.1.10 versus 4.1.12. Nothing seems to be commented out. I must be missing some point here. What is it? The invoker servlet, whilst still defined in 4.1.12, has no

Re: Tomcat 4.1.12 and Servlet Access 404 Errors: BUG?

2002-10-01 Thread Michael Smith
micael wrote: I cannot access a webapp with the normal http://localhost:8080/myapp/servlet/mydirectory.MyServlet with Tomcat 4.1.12. (Also, the embedded Tomcat 4.1.12 in JBoss 3.0.3 runs fine except that it won't access the examples servlets.) The error shown is a 404 The requested

PATCH: DbcpDataSourceFactory

2002-05-09 Thread Michael Smith
The DataSource factory wasn't setting maxIdle, and was incorrectly setting maxActive on the connection pool. This fixes it: Michael Index: DbcpDataSourceFactory.java === RCS file:

PATCH: jakarta-tomcat-connectors build on MSVC6

2001-11-19 Thread Michael Smith
Here's a patch for clean builds on MSVC6 - includes a couple of missing headers, and adds JK_METHOD attributes to the neccesary functions (otherwise calling conventions are declared differently, and you get compilation-fatal errors). Michael Smith Index: jk_channel_socket.c

PATCH: more fixes for jakarta-tomcat-connectors

2001-11-19 Thread Michael Smith
for those. Everything builds nicely under MSVC6 now. Michael Smith Index: jk_env.c === RCS file: /home/cvspublic/jakarta-tomcat-connectors/jk/native/common/jk_env.c,v retrieving revision 1.3 diff -u -r1.3 jk_env.c --- jk_env.c2001/11

Re: cvs commit: jakarta-tomcat-connectors/jk/native/common jk_registry.c jk_env.c jk_channel_socket.c

2001-11-19 Thread Michael Smith
[EMAIL PROTECTED] wrote: costin 01/11/19 10:14:38 Modified:jk/native/common jk_registry.c jk_env.c jk_channel_socket.c Log: Patch from Michael Smith. One change I didn't apply is the signature change in jk_env_objectFactory_t. The problem with the worker_factory

Re: cvs commit: jakarta-tomcat-connectors/jk/native/common jk_registry.cjk_env.c jk_channel_socket.c

2001-11-19 Thread Michael Smith
[EMAIL PROTECTED] wrote: On Tue, 20 Nov 2001, Michael Smith wrote: Ah. That'd be my misunderstanding of how things work... _without_ that signature change, though, things still won't compile (well, they probably will. With _really_ nasty warnings). I suppose the right thing to do

tomcat4, webdav, and IIS

2001-08-09 Thread Michael Smith
Hi all, I'm trying to set up tomcat4.0 (cvs, few days old), talking through mod_jk (java bits compiled today from cvs, native bits the most recent compiled version I could find - I don't have a copy of devstudio here) to IIS (5.0, on win2k), using isapi_redirect.dll . That bit works fine. Then

chunked input bugfix

2001-05-31 Thread Michael Smith
Yesterday I saw a bunch of 500 errors come up from a servlet we're running. Fortunately, it turned out that there was a full stacktrace in the log file. I think the error itself was due to transient network faults (or client bugs)at the client end of things, so it's not a problem that tomcat

RE: String/StringBuffer (was Re: An alternative to JSP)

2001-01-26 Thread Michael . Smith
Last paragraph in the java.lang.String javadoc says: The Java language provides special support for the string concatentation operator ( + ), and for conversion of other objects to strings. String concatenation is implemented through the StringBuffer class and its append method.

RE: Jakarta PMC Meeting Agenda / Info

2001-01-15 Thread Michael . Smith
Since you've posted the URL again, I went back and read the initial proposal again. Each time I read the proposal, I'm left with the same thoughts. First, let me quote part Craig's message that started the thread and the voting: "To facilitate development of Tomcat 4.0, without compromising