DO NOT REPLY [Bug 6604] New: - Request.getRemoteUser() throwing NullPointerException

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: [Daemon] New commons component

2002-02-20 Thread costinm
On Thu, 21 Feb 2002, Pier Fumagalli wrote: > > There are only two "native daemon" configurations I'm interested in: > > - embedded in Apache 2 with a JNI connector > > That's feasible, but requires major changes in Tomcat 4.0 It should work fine with jk2, no change is needed in tomcat ( it's th

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

2002-02-20 Thread remm
remm02/02/20 22:09:51 Modified:catalina/src/share/org/apache/catalina/connector Tag: tomcat_40_branch ResponseBase.java Log: - Port patch. - Implement a more dynamic behavior for setting the charset. - Patch submitted by Hans Bergsten. Revision

DO NOT REPLY [Bug 6569] - setLocale() doesn't set the Content-Type charset attribute

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

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

2002-02-20 Thread remm
remm02/02/20 22:06:35 Modified:catalina/src/share/org/apache/catalina/connector ResponseBase.java Log: - Implement a more dynamic behavior for setting the charset. - Patch submitted by Hans Bergsten. Revision ChangesPath 1.23 +14 -7

cvs commit: jakarta-tomcat-4.0/catalina build.xml

2002-02-20 Thread remm
remm02/02/20 21:54:21 Modified:catalina build.xml Log: - Fix the build after the addition of commons-logging to JK2. Revision ChangesPath 1.106 +1 -0 jakarta-tomcat-4.0/catalina/build.xml Index: build.xml ==

DO NOT REPLY [Bug 6594] - Caching behavior after re-deploying a WAR with the manager

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 6600] - enodeURL adds 'jsession' when 'isRequestedSessionIdFromURL' returns false

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/ajp Ajp13Packet.java

2002-02-20 Thread billbarker
billbarker02/02/20 19:13:27 Modified:jk/java/org/apache/ajp Ajp13Packet.java Log: Port fix for 6579 from the 3.3 branch. Revision ChangesPath 1.10 +5 -2 jakarta-tomcat-connectors/jk/java/org/apache/ajp/Ajp13Packet.java Index: Ajp13Packet.java ==

cvs commit: jakarta-tomcat RELEASE-NOTES-3.3.1.txt

2002-02-20 Thread billbarker
billbarker02/02/20 19:06:51 Modified:.RELEASE-NOTES-3.3.1.txt Log: Document fix to 6579 Revision ChangesPath 1.37 +4 -1 jakarta-tomcat/RELEASE-NOTES-3.3.1.txt Index: RELEASE-NOTES-3.3.1.txt

DO NOT REPLY [Bug 6579] - ArrayIndexOutOfBoundsException: AJP13Connector debug="1"

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/server Ajp13Packet.java

2002-02-20 Thread billbarker
billbarker02/02/20 19:04:20 Modified:src/share/org/apache/tomcat/modules/server Ajp13Packet.java Log: Sanity check the output dump when debugging Ajp13. The problem is that on read, 'len' includes the header, and on write it doesn't. Now it won't try and dump past the end of

DO NOT REPLY [Bug 5735] - HTTP connector running out of processors under heavy load

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: [Daemon] New commons component

2002-02-20 Thread Patrick Luby
Pier, Pier Fumagalli wrote: > > IMO, it's a waste of time... You shouldn't call setuid from Java, but the > native code launching the VM should call appropriate methods at appropriate > moments of the lifecycle... As I said before: > > 1) CreateJavaVM > 2) call Tomcat->initialize() (bind to por

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http HttpProcessor.java

2002-02-20 Thread remm
remm02/02/20 17:57:30 Modified:catalina/src/share/org/apache/catalina/connector/http Tag: tomcat_40_branch HttpProcessor.java Log: - Port the addition of try/catch to make the main processing code more robust. Unexpected exceptions will be logged.

Re: [Daemon] New commons component

2002-02-20 Thread Pier Fumagalli
Remy Maucherat <[EMAIL PROTECTED]> wrote: > There are only two "native daemon" configurations I'm interested in: > - embedded in Apache 2 with a JNI connector That's feasible, but requires major changes in Tomcat 4.0 > - used through jsvc on Unix, and some similar wrapper on Win NT (or jsvc.exe

Re: [Daemon] New commons component

2002-02-20 Thread Pier Fumagalli
Remy Maucherat <[EMAIL PROTECTED]> wrote: >> All the code is already in place... Just need to be tied together... > > Damn, wait a bit before posting, I was about to say the exact same thing ;-) > Now I have to go back and edit my message :-P Rounding up all mail before going to bed... Had enou

Re: [Daemon] New commons component

2002-02-20 Thread Remy Maucherat
> Pier, > > I took a quick look at the code and found the RegisterNative function. This > looks like an interesting feature. I also found the same function in your > daemons code. The picture is becoming much clearer. > > Let me try to get it working in the next few days with the callback function

Re: [Daemon] New commons component

2002-02-20 Thread Remy Maucherat
> Patrick Luby <[EMAIL PROTECTED]> wrote: > > > Pier, > > > > I took a quick look at the code and found the RegisterNative function. This > > looks like an interesting feature. I also found the same function in your > > daemons code. The picture is becoming much clearer. > > Well, RegisterNative i

Re: [Daemon] New commons component

2002-02-20 Thread Pier Fumagalli
Patrick Luby <[EMAIL PROTECTED]> wrote: > Pier, > > I took a quick look at the code and found the RegisterNative function. This > looks like an interesting feature. I also found the same function in your > daemons code. The picture is becoming much clearer. Well, RegisterNative is there since a

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http HttpResponseStream.java

2002-02-20 Thread remm
remm02/02/20 17:27:34 Modified:catalina/src/share/org/apache/catalina/connector/http Tag: tomcat_40_branch HttpResponseStream.java Log: - Port NPE fix from HEAD branch. Revision ChangesPath No revision No

cvs commit: jakarta-tomcat-connectors/jk build.xml

2002-02-20 Thread costin
costin 02/02/20 16:13:45 Modified:jk build.xml Log: Build update Revision ChangesPath 1.29 +6 -2 jakarta-tomcat-connectors/jk/build.xml Index: build.xml === RCS file: /home/cvs/jaka

Re: [Daemon] New commons component

2002-02-20 Thread Patrick Luby
Pier, I took a quick look at the code and found the RegisterNative function. This looks like an interesting feature. I also found the same function in your daemons code. The picture is becoming much clearer. Let me try to get it working in the next few days with the callback function set to invo

cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/server/tomcat33/config ApacheConfig.java BaseJkConfig.java IISConfig.java NSConfig.java

2002-02-20 Thread costin
costin 02/02/20 15:45:04 Added: jk/java/org/apache/jk/server/tomcat33/config ApacheConfig.java BaseJkConfig.java IISConfig.java NSConfig.java Log: Importing the config generators from tomcat3.3 Jk2 should be functionally equiva

cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/server/tomcat33/config - New directory

2002-02-20 Thread costin
costin 02/02/20 15:43:51 jakarta-tomcat-connectors/jk/java/org/apache/jk/server/tomcat33/config - New directory -- To unsubscribe, e-mail: For additional commands, e-mail:

cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/server JkMain.java

2002-02-20 Thread costin
costin 02/02/20 15:43:43 Modified:jk/java/org/apache/jk/server JkMain.java Log: Use commons-logging. Revision ChangesPath 1.12 +23 -24 jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkMain.java Index: JkMain.java =

DO NOT REPLY [Bug 6600] New: - enodeURL adds 'jsession' when 'isRequestedSessionIdFromURL' returns false

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/common ChannelSocket.java HandlerDispatch.java HandlerRequest.java JkInputStream.java

2002-02-20 Thread costin
costin 02/02/20 15:39:58 Modified:jk/java/org/apache/jk/common ChannelSocket.java HandlerDispatch.java HandlerRequest.java JkInputStream.java Log: Replace our println log with commons-logging Revision ChangesPath 1.6

cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/core Channel.java JkHandler.java WorkerEnv.java

2002-02-20 Thread costin
costin 02/02/20 15:39:03 Modified:jk/java/org/apache/jk/core Channel.java JkHandler.java WorkerEnv.java Log: Use commons-logging for log instead of println Revision ChangesPath 1.5 +7 -4 jakarta-tomcat-connectors/jk/java/org/apache/jk

cvs commit: jakarta-tomcat-connectors/lib commons-logging.jar

2002-02-20 Thread costin
costin 02/02/20 15:29:52 Added: lib commons-logging.jar Log: Binary checkin for commons-logging. Again, there are 2 styles of building - download ( or build ) all deps, or checking the binaries in cvs. Most jakarta projects support both. Revision ChangesPath

cvs commit: jakarta-tomcat-connectors/lib - New directory

2002-02-20 Thread costin
costin 02/02/20 15:28:46 jakarta-tomcat-connectors/lib - New directory -- To unsubscribe, e-mail: For additional commands, e-mail:

cvs commit: jakarta-tomcat-connectors/jk/conf jk2.manifest

2002-02-20 Thread costin
costin 02/02/20 15:28:33 Modified:jk/conf jk2.manifest Log: Add logging stuff to the manifest's classpath. Revision ChangesPath 1.3 +1 -1 jakarta-tomcat-connectors/jk/conf/jk2.manifest Index: jk2.manifest ==

DO NOT REPLY [Bug 1450] - Incorrect encode URL with session ID

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http HttpResponseStream.java

2002-02-20 Thread remm
remm02/02/20 15:00:18 Modified:catalina/src/share/org/apache/catalina/connector/http HttpResponseStream.java Log: - Code cleanup, submitted by Paul Speed. Revision ChangesPath 1.13 +4 -5 jakarta-tomcat-4.0/catalina/src/share/org/apa

DO NOT REPLY [Bug 6400] - Tag Libraries not deploying in 4.0.2 final

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 6598] - The Implicate mapping of TLDs in packaged libraries no longer works

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http HttpProcessor.java

2002-02-20 Thread remm
remm02/02/20 14:56:05 Modified:catalina/src/share/org/apache/catalina/connector/http HttpProcessor.java Log: - Experimental change: add a try/catch to make sure the processor is always recycled. Revision ChangesPath 1.43 +9 -5 j

DO NOT REPLY [Bug 6569] - setLocale() doesn't set the Content-Type charset attribute

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 6598] New: - The Implicate mapping of TLDs in packaged libraries no longer works

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: [Daemon] New commons component

2002-02-20 Thread Pier Fumagalli
Patrick Luby <[EMAIL PROTECTED]> wrote: > Remy, > > Remy Maucherat wrote: >> >> At the moment, it is only a NT service, I think. The exe wrapper can (and >> probably should) do both. > > I will admit that I am no Windows expert, but can't you just have a main() > function that invokes start se

Re: [Daemon] New commons component

2002-02-20 Thread Pier Fumagalli
Pier Fumagalli <[EMAIL PROTECTED]> wrote: > Few hours... Yeah, whatever... Trivial... Pier test.c Description: application/applefile test.c Description: Binary data Test.java Description: application/applefile Test.java Description: Binary data make.sh Description: Binary data

Re: o.a.c.mbeans.*

2002-02-20 Thread Christopher K. St. John
"Craig R. McClanahan" wrote: > > > It looks like the current mbeans code is mostly boilerplate. > > In what respect? > Well, taking StandardHostMBean as an example, many of the methods take a String argument, convert it to an ObjectName, get the underlying object using getAttribute(), and th

DO NOT REPLY [Bug 5735] - HTTP connector running out of processors under heavy load

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: Difference between Valve and javax.servlet.Filter?

2002-02-20 Thread Craig R. McClanahan
On Wed, 20 Feb 2002, GuruPrasad wrote: > Date: Wed, 20 Feb 2002 10:59:55 -0800 (PST) > From: GuruPrasad <[EMAIL PROTECTED]> > Reply-To: Tomcat Developers List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Difference between Valve and javax.servlet.Filter? > > What are the difference be

Re: o.a.c.mbeans.*

2002-02-20 Thread Craig R. McClanahan
On Wed, 20 Feb 2002, Christopher K. St. John wrote: > Date: Wed, 20 Feb 2002 13:05:34 -0600 > From: Christopher K. St. John <[EMAIL PROTECTED]> > Reply-To: Tomcat Developers List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: o.a.c.mbeans.* > > > It looks like the current mbeans code i

Re: [Daemon] New commons component

2002-02-20 Thread Pier Fumagalli
Patrick Luby <[EMAIL PROTECTED]> wrote: > This is very true and was the reason I was pursuing the "public native" method > approach. But Pier mentioned and passing a callback function to the JVM when > he > starts it. Maybe Pier could elaborate on this process? Basically, for Pier's > callback ap

Re: [Daemon] New commons component

2002-02-20 Thread Pier Fumagalli
Patrick Luby <[EMAIL PROTECTED]> wrote: > I admit it: I was trying to implement a hack. I am definitely warming up to > the idea of jumping straight into Pier's scripts. After all of this > discussion, it doesn't seem to be so much work to switch to a native launcher > to implement the setuid() s

Re: [Daemon] New commons component

2002-02-20 Thread Pier Fumagalli
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > On Wed, 20 Feb 2002, Pier Fumagalli wrote: > >> The only code working is within Tomcat, and it's there already... Look at >> the API changes in the Connector I pointed out yesterday, and at the >> different Embedded solutions (like the one Remy did

Re: [Daemon] New commons component

2002-02-20 Thread Pier Fumagalli
Remy Maucherat <[EMAIL PROTECTED]> wrote: > I agree with Pier here. I think we should only try to implement daemon > fnctionality using the appropriate wrapper. Implmenting it with standard > Tomcat using scripts is a nasty hack. > Somehow, Patrick doesn't seem to like my BootstrapService (which

DO NOT REPLY [Bug 1450] - Incorrect encode URL with session ID

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http HttpResponseStream.java

2002-02-20 Thread Paul Speed
Sorry to comment, but I see this one again and again on all kinds of projects. :) > -if (servletRequest.getMethod().equals("HEAD")) > +if ((servletRequest.getMethod() != null) > +&& (servletRequest.getMethod().equals("HEAD"))) { Almost always better to go ahead

DO NOT REPLY [Bug 1450] - Incorrect encode URL with session ID

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 6594] New: - Caching behavior after re-deploying a WAR with the manager

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

[PATCH] Bug 6592: hostjdoc.patch

2002-02-20 Thread Christopher K. St. John
-- Christopher St. John [EMAIL PROTECTED] DistribuTopia http://www.distributopia.com hostjdoc.patch Description: Binary data -- To unsubscribe, e-mail: For additional commands, e-mail:

DO NOT REPLY [Bug 6592] New: - o.a.c.Host javadocs have mistakes

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http HttpResponseStream.java

2002-02-20 Thread remm
remm02/02/20 11:24:38 Modified:catalina/src/share/org/apache/catalina/connector/http HttpResponseStream.java Log: - Fix a NPE which could happen with an invalid request. Revision ChangesPath 1.12 +7 -5 jakarta-tomcat-4.0/catalina/sr

DO NOT REPLY [Bug 5735] - HTTP connector running out of processors under heavy load

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http HttpProcessor.java

2002-02-20 Thread remm
remm02/02/20 11:21:21 Modified:catalina/src/share/org/apache/catalina/connector/http HttpProcessor.java Log: - Fix a case (found by accident when doing a bad cut & paste to a telnet) were an incorrect request could kill a processor (which wouldn't get

Re: [Daemon] New commons component

2002-02-20 Thread Patrick Luby
Costin, [EMAIL PROTECTED] wrote: > > 1. I think combining the wrappers ( any of them ) with the > platform-specific native code used inside tomcat is _bad_. > One of the good things about tomcat is that it can be started/mebedded > in many different ways. Creating a small jni library is quite

Re: [Daemon] New commons component

2002-02-20 Thread costinm
On Wed, 20 Feb 2002, Patrick Luby wrote: > > The uid must be changed after it start listening, like any unix program > > does. And the wrapper/invocator is just one way to start tomcat - I like > > the flexibility on startup. > > > > This is very true and was the reason I was pursuing the "publ

Difference between Valve and javax.servlet.Filter?

2002-02-20 Thread GuruPrasad
What are the difference between Valve and Filter? - Thanks, prasad __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail

DO NOT REPLY [Bug 6281] - JDBCRealm+Form Login+URL re-writing session=broken

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

how to post?

2002-02-20 Thread GuruPrasad
__ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail:

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

2002-02-20 Thread remm
remm02/02/20 10:40:17 Modified:catalina/src/share/org/apache/catalina/connector Tag: tomcat_40_branch ResponseBase.java Log: - Port fix the fix for 6569. - Now, setLocale can be called before setContentType, and either way the charset will be set ap

Re: [Daemon] New commons component

2002-02-20 Thread Patrick Luby
Remy, Remy Maucherat wrote: > > At the moment, it is only a NT service, I think. The exe wrapper can (and > probably should) do both. I will admit that I am no Windows expert, but can't you just have a main() function that invokes start service code. Shutdown would be a little trickier as you n

Re: /servlets/ URL path...

2002-02-20 Thread Craig R. McClanahan
On Wed, 20 Feb 2002, Pier Fumagalli wrote: > Date: Wed, 20 Feb 2002 17:23:11 + > From: Pier Fumagalli <[EMAIL PROTECTED]> > Reply-To: Tomcat Developers List <[EMAIL PROTECTED]> > To: Tomcat Developers List <[EMAIL PROTECTED]> > Subject: /servlets/ URL path... > > When I invoke a servlet suc

Re: SessionListener sessionDestroyed() - session already invalidated- Tomcat 4.0.2

2002-02-20 Thread Craig R. McClanahan
On Wed, 20 Feb 2002, Bigwood, David wrote: > > My question is this: > > Is there a specific reason why the session is invalidated BEFORE expire > calls the session listeners, or could we move the setValid(false) call > down? > This ordering is based on what the JavaDocs say for the HttpSession

Re: [Daemon] New commons component

2002-02-20 Thread Patrick Luby
Costin, [EMAIL PROTECTED] wrote: > > > That wouldn't work - if the UID is changed before starting tomcat, then > it can't listen on port 80. > > The uid must be changed after it start listening, like any unix program > does. And the wrapper/invocator is just one way to start tomcat - I like > t

Re: [Daemon] New commons component

2002-02-20 Thread Remy Maucherat
> Remy, > > Remy Maucherat wrote: > > > > I agree with Pier here. I think we should only try to implement daemon > > fnctionality using the appropriate wrapper. Implmenting it with standard > > Tomcat using scripts is a nasty hack. > > Somehow, Patrick doesn't seem to like my BootstrapService (whi

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

2002-02-20 Thread remm
remm02/02/20 10:33:26 Modified:catalina/src/share/org/apache/catalina/connector ResponseBase.java Log: - Fix the fix for 6569. - Now, setLocale can be called before setContentType, and either way the charset will be set appropriately. Revision

Re: [Daemon] New commons component

2002-02-20 Thread costinm
On Wed, 20 Feb 2002, Paul Speed wrote: > particular concern to paranoid sysadmins (redundant?). If I run > tomcat with a security manager I should be able to turn off native > code completely in the policy file. Then I only need to audit the > source code for the launcher to verify that my sy

Re: [Daemon] New commons component

2002-02-20 Thread Patrick Luby
Remy, Remy Maucherat wrote: > > I agree with Pier here. I think we should only try to implement daemon > fnctionality using the appropriate wrapper. Implmenting it with standard > Tomcat using scripts is a nasty hack. > Somehow, Patrick doesn't seem to like my BootstrapService (which works > per

Re: [Daemon] New commons component

2002-02-20 Thread costinm
On Wed, 20 Feb 2002, Pier Fumagalli wrote: > The only code working is within Tomcat, and it's there already... Look at > the API changes in the Connector I pointed out yesterday, and at the > different Embedded solutions (like the one Remy did for Win32 services)... > The java code is there, the

Re: [Daemon] New commons component

2002-02-20 Thread Remy Maucherat
> "Patrick Luby" <[EMAIL PROTECTED]> wrote: > > > Maybe I should clarify what I am trying to do. I am trying to enable the use > > of setuid() within the existing Tomcat startup process (i.e. shell scripts). I > > definitely like your native launcher and the more I look at it, the more I > > like

Re: cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector ResponseBase.java

2002-02-20 Thread Remy Maucherat
> On 20 Feb 2002 [EMAIL PROTECTED] wrote: > > > Date: 20 Feb 2002 08:29:00 - > > From: [EMAIL PROTECTED] > > Reply-To: Tomcat Developers List <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Subject: cvs commit: > > jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector > >

o.a.c.mbeans.*

2002-02-20 Thread Christopher K. St. John
It looks like the current mbeans code is mostly boilerplate. Is there a technical problem with using the information from mbeans-descriptors.xml to create dynamic mbeans that don't require hand-coded mbeans wrappers? -- Christopher St. John [EMAIL PROTECTED] DistribuTopia http://www.distribut

DO NOT REPLY [Bug 6586] - Automatically set JAVA, JAVAHOME enviroment variables at startup

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 6586] New: - Automatically set JAVA, JAVAHOME enviroment variables at startup

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Seeking Paid Expert Tomcat Developer Support

2002-02-20 Thread cam
Please excuse my posting, I am developer working on a site for commercial deployment using (currently) TC 4.0.xx We really could use someone who is a real-expert in the use (and possibly internals) of TC 4.x (or even TC 3.3.x). Certainly there are lots of developers who have more experience th

Re: cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connectorResponseBase.java

2002-02-20 Thread Craig R. McClanahan
On 20 Feb 2002 [EMAIL PROTECTED] wrote: > Date: 20 Feb 2002 08:29:00 - > From: [EMAIL PROTECTED] > Reply-To: Tomcat Developers List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: cvs commit: > jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector > ResponseBase

What decides that a thread is idle?

2002-02-20 Thread Thom Park
Hello, I'm currently having to use tomcat 3.2 in a production environment. Moving to 3.3 or 4.0 is not an option (for at least 6 months). I'm wrestling with the ThreadPool exhausted issue and am trying to understand how a thread becomes idle. I don't see the thread become available as soon as

Re: [Daemon] New commons component

2002-02-20 Thread Paul Speed
Comments below... Pier Fumagalli wrote: > > "Patrick Luby" <[EMAIL PROTECTED]> wrote: > > > Maybe I should clarify what I am trying to do. I am trying to enable the use > > of setuid() within the existing Tomcat startup process (i.e. shell scripts). I > > definitely like your native launcher an

RE: /servlets/ URL path...

2002-02-20 Thread Filip Hanik
It is not in the spec if I remember correctly. It is a feature of tomcat so that you don't have to register servlets in web.xml Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net >-Original Message- >From: Pier Fumagalli [mailto

/servlets/ URL path...

2002-02-20 Thread Pier Fumagalli
When I invoke a servlet such as http://localhost/application/servlets/HelloWorld WHO actually defines that /servlets/ is associated with my classes? Is it defined somewhere in the spec or is it a feature of Tomcat (in 4.0 it's the InvokerServlet, IIRC) Cheerios! Pier -- To unsubscribe, e

Re: [Daemon] New commons component

2002-02-20 Thread Pier Fumagalli
"Patrick Luby" <[EMAIL PROTECTED]> wrote: > Maybe I should clarify what I am trying to do. I am trying to enable the use > of setuid() within the existing Tomcat startup process (i.e. shell scripts). I > definitely like your native launcher and the more I look at it, the more I > like its sophist

Re: [Daemon] New commons component

2002-02-20 Thread Patrick Luby
Pier, Pier Fumagalli wrote: > > Patrick... System.loadlibrary (or however is called), does the exact > opposite of what we need... We ship a binary that will load the JVM library, > we don't rely on the JVM binary to load a library... Maybe I should clarify what I am trying to do. I am trying t

cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/ajp/tomcat4 Ajp13Connector.java Ajp13Processor.java

2002-02-20 Thread seguin
seguin 02/02/20 08:12:42 Modified:jk/java/org/apache/ajp Ajp13.java RequestHandler.java jk/java/org/apache/ajp/tomcat4 Ajp13Connector.java Ajp13Processor.java Added: jk/java/org/apache/ajp Logger.java Log: logging improvements: *) h

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/logger FileLogger.java

2002-02-20 Thread seguin
seguin 02/02/20 07:58:04 Modified:catalina/src/share/org/apache/catalina/logger FileLogger.java Log: keep timestamps and log messages from different threads from getting mixed up in the log file. went with the string concatentation approach instead of

DO NOT REPLY [Bug 6582] New: - Sample code does not match behavior

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/logger FileLogger.java

2002-02-20 Thread seguin
seguin 02/02/20 07:55:44 Modified:catalina/src/share/org/apache/catalina/logger Tag: tomcat_40_branch FileLogger.java Log: keep timestamps and log messages from different threads from getting mixed up in the log file. went with the string concatentati

Re: [Daemon] New commons component

2002-02-20 Thread Pier Fumagalli
"Patrick Luby" <[EMAIL PROTECTED]> wrote: > Pier, > > Pier Fumagalli wrote: >> >> "unique process"??? It's a DYLD "NSAddModule" call to the JVM library, and >> CreateJavaVM is called CreateJavaVMImpl... Doesn't look that "unique"... > > It is unique if you want Java code to invoke a C function

RE: isapi.log

2002-02-20 Thread Kevin Seguin
> > isapi.log: > [Wed Feb 20 12:28:19 2002] [jk_connect.c (143)]: > jk_open_socket, connect() failed errno = 61 > [Wed Feb 20 12:28:19 2002] [jk_ajp12_worker.c (152)]: In > jk_endpoint_t::service, Error sd = -1 > [Wed Feb 20 12:28:19 2002] [jk_isapi_plugin.c (716)]: > HttpExtensionProc erro

DO NOT REPLY [Bug 6579] New: - ArrayIndexOutOfBoundsException: AJP13Connector debug="1"

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

SessionListener sessionDestroyed() - session already invalidated - Tomcat 4.0.2

2002-02-20 Thread Bigwood, David
I am having issues getting useful functionality with code that implements Servlet 2.3 HttpSessionListener. The code was intended to provide some enhancements to a logging suite to carry out some tasks BEFORE a session is actually destroyed. My intention is to gather some interesting data about a

Re: [Daemon] New commons component

2002-02-20 Thread Patrick Luby
Pier, Pier Fumagalli wrote: > > "unique process"??? It's a DYLD "NSAddModule" call to the JVM library, and > CreateJavaVM is called CreateJavaVMImpl... Doesn't look that "unique"... It is unique if you want Java code to invoke a C function via JNI. On Mac OS X, you need to name the shared libra

RE: [PATCH] log output can get messed up with org.apache.catalina.logger.FileLogger

2002-02-20 Thread Kevin Seguin
> > Another way to fix this would be to use String concatenation. > The question > is, which is more expensive, the synchronization or the > String concatenation? > yeah, that occurred to me too... anybody have an answer? > This is how the code would be with String concatenation: > >

isapi.log

2002-02-20 Thread Moises . Gonzalez
Somebody knows what causes these error: isapi.log: [Wed Feb 20 12:28:19 2002] [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 [Wed Feb 20 12:28:19 2002] [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [Wed Feb 20 12:28:19 2002] [jk_isapi_plugin.c (716

Re: [Daemon] New commons component

2002-02-20 Thread jean-frederic clere
Pier Fumagalli wrote: > > "jean-frederic clere" <[EMAIL PROTECTED]> wrote: > > > Remy Maucherat wrote: > >> > >>> "Patrick Luby" <[EMAIL PROTECTED]> wrote: > >>> > Remy, > > This is great news! > > I scanned through the Unix code and noticed that it uses the chmod'ing >

DO NOT REPLY [Bug 6570] New: - The init method in JSP page is called more than once

2002-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: [Daemon] New commons component

2002-02-20 Thread Pier Fumagalli
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Tue, 19 Feb 2002, Patrick Luby wrote: > >> focus my efforts on finding a good place in Tomcat 4.x to setuid to a >> non-root >> user like Apache does instead of pursuing this probably platform specific use >> of setuid. > > That would be after

  1   2   >