Re: ApacheMeetupsNa11 tomcat one?

2011-10-20 Thread Christopher Schultz
All, On 10/19/2011 3:52 PM, Rainer Jung wrote: > On 18.10.2011 10:15, Keiichi Fujino wrote: >> I am going to stay in Vancouver from Monday to Friday. > > I'll be there too, including the weekends before and after. I'm arriving at 12:47 local time on Tuesday and I've got nothing to do until the n

Re: ApacheMeetupsNa11 tomcat one?

2011-10-21 Thread Christopher Schultz
All, On 10/20/2011 4:32 PM, Christopher Schultz wrote: > I'm arriving at 12:47 local time on Tuesday and I've got nothing to do > until the next morning besides check-into the hotel. > > If anyone is interested in getting together for some drinks or exploring > the

Re: svn commit: r1187916 - in /tomcat/jk/trunk: native/iis/jk_isapi_plugin.c xdocs/miscellaneous/changelog.xml

2011-10-25 Thread Christopher Schultz
Rainer, On 10/23/2011 12:19 PM, rj...@apache.org wrote: > +/* > + * Find the first occurrence of path in uri tokenized by "/". > + * The comparison is done case insensitive. > + */ > +static const char *find_path_in_uri(const char *uri, const char *path) > +{ > +size_t len = strlen(path); > +

Re: svn commit: r1187916 - in /tomcat/jk/trunk: native/iis/jk_isapi_plugin.c xdocs/miscellaneous/changelog.xml

2011-10-25 Thread Christopher Schultz
Rainer, On 10/23/2011 12:19 PM, rj...@apache.org wrote: > +static const char *find_path_in_uri(const char *uri, const char *path) > +{ > +size_t len = strlen(path); > +while (uri = strchr(uri, '/')) { > +uri++; > +if (!strncmp(uri, path, len) && > +(*(uri + len)

Re: svn commit: r1187916 - in /tomcat/jk/trunk: native/iis/jk_isapi_plugin.c xdocs/miscellaneous/changelog.xml

2011-10-25 Thread Christopher Schultz
All, On 10/25/2011 2:03 PM, Christopher Schultz wrote: > On 10/23/2011 12:19 PM, rj...@apache.org wrote: >> >> +if (!strncmp(uri, path, len) && > > strncmp doesn't use case-insensitive compare: will this ever match if > you use "web-inf"

Re: svn commit: r1187916 - in /tomcat/jk/trunk: native/iis/jk_isapi_plugin.c xdocs/miscellaneous/changelog.xml

2011-10-25 Thread Christopher Schultz
Rainer, On 10/25/2011 3:37 PM, Rainer Jung wrote: > On 25.10.2011 20:07, Christopher Schultz wrote: >> Rainer, >> >> On 10/23/2011 12:19 PM, rj...@apache.org wrote: >>> +static const char *find_path_in_uri(const char *uri, const char >>> *path) +{ +siz

Re: svn commit: r1199996 - /tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java

2011-11-09 Thread Christopher Schultz
Konstantin, On 11/9/11 2:02 PM, kkoli...@apache.org wrote: > Fix broken checkstyle validation (imports order) > Format new code > Cache result of i18n message lookup > Add getter for the new FIPSMode property Thanks. > Documentation in listeners.xml still needs updating. I will update this imme

Re: svn commit: r1199980 - in /tomcat/trunk/java/org/apache: catalina/core/AprLifecycleListener.java catalina/core/LocalStrings.properties tomcat/jni/SSL.java

2011-11-09 Thread Christopher Schultz
Mark, On 11/9/11 2:06 PM, Mark Thomas wrote: > On 09/11/2011 21:34, schu...@apache.org wrote: >> Author: schultz >> Date: Wed Nov 9 21:34:31 2011 >> New Revision: 1199980 >> >> URL: http://svn.apache.org/viewvc?rev=1199980&view=rev >> Log: >> Fixed bug #50570 - Allow explicit use of FIPS mode in

Re: svn commit: r1199980 - in /tomcat/trunk/java/org/apache: catalina/core/AprLifecycleListener.java catalina/core/LocalStrings.properties tomcat/jni/SSL.java

2011-11-09 Thread Christopher Schultz
Konstantin, On 11/9/11 2:24 PM, Konstantin Kolinko wrote: > 2011/11/10 Mark Thomas : On 09/11/2011 21:34, schu...@apache.org wrote: > Author: schultz Date: Wed Nov 9 21:34:31 2011 New Revision: > 1199980 > > URL: http://svn.apache.org/viewvc?rev=1199980&view=rev Log: > Fi

Re: svn commit: r1199980 - in /tomcat/trunk/java/org/apache: catalina/core/AprLifecycleListener.java catalina/core/LocalStrings.properties tomcat/jni/SSL.java

2011-11-09 Thread Christopher Schultz
Mark, On 11/9/11 2:12 PM, Mark Thomas wrote: > What happens if I try this with 1.1.22? Here is the behavior under various circumstances: 1.1.23, openssl-fips, FIPSMode!="on" : regular startup 1.1.23, openssl-fips, FIPSMode="on" : enter FIPS mode 1.1.23, openssl, FIPSMode!="on" : regular startup

Re: svn commit: r1199980 - in /tomcat/trunk/java/org/apache: catalina/core/AprLifecycleListener.java catalina/core/LocalStrings.properties tomcat/jni/SSL.java

2011-11-09 Thread Christopher Schultz
All, On 11/9/11 4:32 PM, Christopher Schultz wrote: > I see several ways to move forward, here, not necessarily mutually > exclusive: > > 1. terminate SSL on FIPS error > 2. set sslInitialized after initialization is complete (including >FIPS), not before > 3. set error

Re: svn commit: r1199980 - in /tomcat/trunk/java/org/apache: catalina/core/AprLifecycleListener.java catalina/core/LocalStrings.properties tomcat/jni/SSL.java

2011-11-09 Thread Christopher Schultz
Konstantin, On 11/9/11 3:39 PM, Konstantin Kolinko wrote: > 2011/11/10 Christopher Schultz : >>> >>> There is java.lang.UnsatisfiedLinkError (and not the >>> IllegalStateException that the code throws). >>> >>> Despite this error, Tomcat startup se

Re: svn commit: r1199980 - in /tomcat/trunk/java/org/apache: catalina/core/AprLifecycleListener.java catalina/core/LocalStrings.properties tomcat/jni/SSL.java

2011-11-10 Thread Christopher Schultz
Mark, On 11/10/11 6:28 AM, Mark Thomas wrote: > On 09/11/2011 23:39, Konstantin Kolinko wrote: >> Maybe add explicit FIPS mode status check below the above error >> handling? Something like: >> >> if ("on".equalsIgnoreCase(FIPSMode) && !fipsModeActive) { >> fail fatally; >> } > > +1 Sounds goo

Proposal: use tomcat-version-number in server.xml element?

2011-12-02 Thread Christopher Schultz
All, This may be a waste of time, but it's worth suggesting IMO. We have lots of users who try to upgrade between major versions of Tomcat by simply installing the new Tomcat somewhere, copying their configuration over (primarily server.xml), dumping their webapps into webapps/, starting the serv

Re: DO NOT REPLY [Bug 52259] synchonization issues and dead lock if no realm is presented in configuration

2011-12-02 Thread Christopher Schultz
Mark, On 12/1/11 2:02 PM, Mark Thomas wrote: > On 01/12/2011 17:54, Zampani, Michael wrote: >> Should this mentioned somewhere on the changelog as a known bug with a >> workaround? > > It already is. Yes and no: it's in the changelog, but the changelog currently published on the website doesn't

Re: Proposal: use tomcat-version-number in server.xml element?

2011-12-02 Thread Christopher Schultz
Tim, On 12/2/11 11:19 AM, Tim Funk wrote: > Sounds like a job for a LifeCycleListener. (and therefore easy to backport) I'm concerned about back-porting because anyone starting with Tomcat 7.0.x will not likely have such a version number, and we don't want to complain that the version number is m

Re: Proposal: use tomcat-version-number in server.xml element?

2011-12-02 Thread Christopher Schultz
Konstantin, On 12/2/11 12:11 PM, Konstantin Kolinko wrote: > 2011/12/2 Christopher Schultz : >> >> I was thinking that we could add a "version" attribute to server.xml's >> element that could allow Tomcat to bomb on startup if the >> version wasn&

Re: Proposal: use tomcat-version-number in server.xml element?

2011-12-02 Thread Christopher Schultz
Filip, On 12/2/11 12:26 PM, Filip Hanik - Dev Lists wrote: > Chris, this would be your [cue] to rethink the solution one step further > down the line. > Not too long ago, I add in a property validator. Tomcat used to silently > ignored invalid attributes, so misspellings such as > > > > This us

Re: Move to Maven? (WAS: Re: Publishing process for JARs for Maven Central)

2011-12-22 Thread Christopher Schultz
David, On 12/19/11 1:47 PM, David Jencks wrote: > As I have said before in previous iterations of this topic, IMO many > of the advantages of maven are not for direct development of the project > itself (although they certainly exist) but in encouraging interactions > with other projects and commu

Re: [SECURITY] Apache Tomcat and the hashtable collision DoS vulnerability

2011-12-29 Thread Christopher Schultz
Mark, On 12/28/11 5:28 PM, Mark Thomas wrote: > Tomcat has implemented a work-around for this issue by providing a new > option (maxParameterCount) to limit the number of parameters processed > for a single request. This default limit is 1: high enough to be > unlikely to affect any applicatio

Re: [SECURITY] Apache Tomcat and the hashtable collision DoS vulnerability

2011-12-29 Thread Christopher Schultz
Luke, On 12/29/11 12:35 PM, Luke Meyer wrote: >> From: Mark Thomas >>> While both POST-size-limiting and parameter-count-limiting are >>> both reasonable mitigating procedures, would the use of a >>> randomized-hash be something worth doing? >> >> I don't know. My instinct is that it wouldn't but

Re: More Caching for WebappClassLoader?

2012-01-10 Thread Christopher Schultz
Rainer, On 1/10/12 5:43 AM, Rainer Jung wrote: > Now loadClass() in the WebappClasLoader does: > > - check own class cache > - check super class cache > - try loading from system loader > - call Class.forName with parent loader (which calls loadClass() there) > [only if "delegated", which is *n

Re: More Caching for WebappClassLoader?

2012-01-10 Thread Christopher Schultz
Rainer, On 1/10/12 5:37 PM, Rainer Jung wrote: > It would matter if they take the reedom to return something new if > loadClass() is called for a class that was already loaded - and > something changed for the CL. For example a custom CL could check every > now and then whether the classes have dy

Re: More Caching for WebappClassLoader?

2012-01-11 Thread Christopher Schultz
Konstantin, On 1/10/12 9:16 PM, Konstantin Kolinko wrote: > I think that instead of caching the class instance itself it would be > safe to cache the fact that the class was loaded from the parent > classloader. It separates responsibilities and solves the issue with > dynamic classloading. The di

Re: [SECURITY] Apache Tomcat and the hashtable collision DoS vulnerability

2012-01-14 Thread Christopher Schultz
All, On 12/29/11 3:25 PM, Christopher Schultz wrote: > On 12/29/11 12:35 PM, Luke Meyer wrote: >> Worth noting that TreeMap makes all storage O(log n), so the normal >> case takes a hit in order to mitigate the worst case (i.e. malicious >> case). > > When n is sma

Re: [VOTE] Release Apache Tomcat 7.0.25

2012-01-18 Thread Christopher Schultz
On 1/17/12 5:16 AM, Mark Thomas wrote: > The proposed Apache Tomcat 7.0.25 release is now available for voting. > > It can be obtained from: > http://people.apache.org/~markt/dev/tomcat-7/v7.0.25/ > The Maven staging repo is: > https://repository.apache.org/content/repositories/orgapachetomcat-0

Detecting failures of unit tests

2012-01-18 Thread Christopher Schultz
All, I was testing 7.0.25 and "ant test" reports BUILD SUCCESSFUL but I started looking at the TEST-*.txt files that are emitted and I was wondering about a few things. First, I should probably be look at the bottom of the file for the junit summary that looks like this: Testsuite: org.apache.to

Re: Tomcat web site UI update (was:WebSocket progress report)

2012-02-13 Thread Christopher Schultz
Mark, On 2/9/12 11:04 AM, Mark Thomas wrote: > On 09/02/2012 15:07, Jeremy brown wrote: >> Hi Jonathan and Petr, >> >> I'm an Application Development Graduate Student at Illinois Institute of >> Technology and I'd like to get started contributing to Tomcat. If you have >> any tasks I can help out

Re: WebSocket progress report

2012-02-13 Thread Christopher Schultz
Mark, On 2/10/12 11:49 AM, Mark Thomas wrote: > > I prefer the work pid did on the Tomcat 7 index page for the ROOT webapp. +1 -chris signature.asc Description: OpenPGP digital signature

Re: WebSocket progress report

2012-02-13 Thread Christopher Schultz
Jeremy, On 2/10/12 12:08 PM, Jeremy Brown wrote: >> I suspect it will need more than that. The XLST will almost certainly >> need some tweaks too. > > How timely, I'm doing xml transformations in my SOA class right now. If you have any questions about XSLT, I'd be happy to answer them. It's defi

Custom rules for commons-digester

2012-02-13 Thread Christopher Schultz
All, There are 15 or so custom rule classes in the Tomcat sources for handling various commons-digester events. I've only taken a brief glance at their content, but I'm wondering if we can't replace these classes with an XML-based configuration that the Digester itself can handle for us. Such a

Re: Custom rules for commons-digester

2012-02-13 Thread Christopher Schultz
Konstantin, On 2/13/12 4:32 PM, Konstantin Kolinko wrote: > 2012/2/14 Christopher Schultz : >> All, >> >> There are 15 or so custom rule classes in the Tomcat sources for >> handling various commons-digester events. >> >> I've only taken a brief glan

Re: Tomcat web site UI update

2012-02-14 Thread Christopher Schultz
Mark, On 2/13/12 5:28 PM, Mark Thomas wrote: > On 13/02/2012 20:11, Christopher Schultz wrote: >> >> IIRC, Pid did a bunch of work toward that end and it was >> ultimately vetoed > > Reference please. That is not my recollection at all. Markmail remembers:

Re: Custom rules for commons-digester

2012-02-14 Thread Christopher Schultz
Mark, On 2/13/12 5:35 PM, Mark Thomas wrote: > On 13/02/2012 22:01, Christopher Schultz wrote: >> Fair enough, but server.xml is processed only once on startup. > > They also process context.xml files and web.xml files. These are the classes I was looking at, which all seem t

Re: svn commit: r1243508 - in /tomcat/site/trunk: docs/tools.html xdocs/tools.xml

2012-02-14 Thread Christopher Schultz
Sebb, On 2/14/12 6:56 AM, sebb wrote: > However, the US seems to use license for both noun and verb. License, defense, etc. We're lazy that way. One of the first things we did was to write a new dictionary and remove the "u"s from words like colour. -chris signature.asc Description: OpenPGP d

Re: JNDIRealm performance

2012-02-17 Thread Christopher Schultz
Konstantin, On 2/14/12 6:55 PM, Konstantin Kolinko wrote: > I wonder whether anyone experienced problems with performance of JNDIRealm. > > In essence it opens a single connection (this.context) which is not > thread-safe. Thus it has to synchronize itself whenever it performs an > LDAP query.

Re: AccessLogValve enhancement

2012-02-19 Thread Christopher Schultz
Mark, On 2/15/12 4:33 PM, Mark Thomas wrote: > I also be +1 to considering making this the sole way AccessLogValve > logging may be output. The only possible reason why we wouldn't want to do this is that lots of users simply cannot figure out how to configure the loggers. Yes, it's really not al

Re: AccessLogValve enhancement

2012-02-21 Thread Christopher Schultz
Mark, On 2/19/12 12:49 PM, Mark Thomas wrote: > On 19/02/2012 17:20, Christopher Schultz wrote: >> Philosophically, I'm not really sure why the flexibility of a >> full-featured logging system (JULI, log4j, etc.) is required for >> access logging: there's not

Re: Release Tomcat Native 1.1.23

2012-02-21 Thread Christopher Schultz
Mladen, On 2/21/12 11:30 AM, Mladen Turk wrote: > We have couple of bugs fixed and its been quite a while since 1.1.22. > There is also few trivial bugs and patches in BZ which I plan to solve. > I volunteer as RM for 1.1.23. > > Objections, comments? I'd certainly like a release: the first rele

Re: Removing html to txt conversion for changelog and news in JK (1.2.33+)

2012-03-07 Thread Christopher Schultz
Mladen, On 3/6/12 12:40 PM, Mladen Turk wrote: > Converted html files (no mater which tool used) > just look ugly. I see no point of having trash-like content > distributed, so can we just axe those conversion? FWIW, I always hate having to drag-out an HTML viewer for something when I'm at the co

Re: svn commit: r1298485 - /tomcat/tc6.0.x/trunk/STATUS.txt

2012-03-08 Thread Christopher Schultz
Konstantin, On 3/8/12 2:16 PM, Konstantin Kolinko wrote: > 1. TC 7.0 backport fails to compile: > http://ci.apache.org/builders/tomcat-7-trunk/builds/435/steps/compile/logs/stdio Bad merge :( Fixed. > 2. svn:eol-style on new files. Stupid question: how do I do that? I'm happy to adjust on CLI

Re: svn commit: r1298590 - in /tomcat/trunk/java/org/apache/catalina/realm: RealmBase.java X509SubjectDnRetriever.java

2012-03-09 Thread Christopher Schultz
Mark, On 3/8/12 4:25 PM, ma...@apache.org wrote: > Author: markt > Date: Thu Mar 8 21:25:31 2012 > New Revision: 1298590 > > URL: http://svn.apache.org/viewvc?rev=1298590&view=rev > Log: > Fix various Checkstyle / Eclipse warnings and failures This built cleanly for me, and all (expected) tests

Re: svn commit: r1298809 - /tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

2012-03-09 Thread Christopher Schultz
Mark, On 3/9/12 7:29 AM, ma...@apache.org wrote: > Author: markt > Date: Fri Mar 9 12:29:20 2012 > New Revision: 1298809 > > URL: http://svn.apache.org/viewvc?rev=1298809&view=rev > Log: > Clean-up I pretty much boned that whole commit, eh? I'm very sorry for the noise. -chris signature.as

Re: svn commit: r1301123 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/tomcat/util/buf/UDecoder.java webapps/docs/changelog.xml

2012-03-15 Thread Christopher Schultz
Konstantin, On 3/15/12 2:14 PM, kkoli...@apache.org wrote: > Author: kkolinko > Date: Thu Mar 15 18:14:44 2012 > New Revision: 1301123 > > URL: http://svn.apache.org/viewvc?rev=1301123&view=rev > Log: > Slightly improve performance of UDecoder > Backports r1203054 from 7.0.x. [Snip] > +/**

Re: Release JK 1.2.34

2012-03-19 Thread Christopher Schultz
Mladen, On 3/19/12 10:48 AM, Mladen Turk wrote: > I'd appreciate if you can check the httpd builds from trunk > since I concentrated mainly on IIS. As mentioned in BZ, trunk from today builds and works remarkably better than 1.2.33 in my environment: no crashes, warnings, etc. I've got it running

Re: svn commit: r1302649 - /tomcat/trunk/java/org/apache/catalina/startup/Catalina.java

2012-03-19 Thread Christopher Schultz
Mark, On 3/19/12 4:46 PM, ma...@apache.org wrote: > Author: markt > Date: Mon Mar 19 20:46:15 2012 > New Revision: 1302649 > > URL: http://svn.apache.org/viewvc?rev=1302649&view=rev > Log: > Make implementation of getParentClassLoader() consistent with the other > implementations across the code

Re: svn commit: r1302649 - /tomcat/trunk/java/org/apache/catalina/startup/Catalina.java

2012-03-22 Thread Christopher Schultz
Chuck, On 3/19/12 9:53 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: svn commit: r1302649 - >> /tomcat/trunk/java/org/apache/catalina/startup/Catalina.java > >> There seems to be a difference betw

Re: [VOTE] Release Apache Tomcat Connectors 1.2.35

2012-03-22 Thread Christopher Schultz
Mladen, On 3/22/12 9:46 AM, Mladen Turk wrote: > The Apache Tomcat Connectors 1.2.35 is > [X] Stable, go ahead and release Works remarkably better than 1.2.33 ;) Smoke test on Linux x64 seems all is well. -chris signature.asc Description: OpenPGP digital signature

Re: Refresh JK httpd-2.4.x binaries [VOTE] ?

2012-03-26 Thread Christopher Schultz
Mladen, On 3/26/12 1:54 AM, Mladen Turk wrote: > Hi, > > I build our courtesy windows binaries against httpd-2.4.1-dev > which has a different MMN then 2.4.1 thus refusing to load. > (other binaries are file) > > I have removed the tomcat-connectors-1.2.35-windows-i386-http-2.4.x.* > file from d

Re: Improving Ant Task for JSP Compilation

2012-04-02 Thread Christopher Schultz
Nick, On 3/31/12 4:34 PM, Nick Williams wrote: > This morning I filed issues 53011 and 53012, about general improvements to > the Ant task used for compiling JSPs. These two issues are rather important > to our team, and are making using the compiler rather difficult. In the > interest of both imp

Re: Who wants my Cassandra session manager for Tomcat?

2012-04-03 Thread Christopher Schultz
Pid, On 4/3/12 12:52 PM, Pid wrote: > I can't speak for the committers/project, but one option would be to > file an enhancement request and attach a patch in diff format. +1 To get such a thing into Tomcat, it would probably have to have the following features: 1. Be relatively self-contained

Re: Who wants my Cassandra session manager for Tomcat?

2012-04-03 Thread Christopher Schultz
Morten, On 4/3/12 5:18 PM, Morten Jorgensen wrote: > I also have an implementation of the Map interface that stores the > values of each entry as a session attribute. The way many developers > write web applications is to have a "session bean" (a session attribute) > that contains a Map that maint

Re: [VOTE] Release Apache Tomcat 7.0.27

2012-04-03 Thread Christopher Schultz
Mark, On 3/31/12 1:07 PM, Mark Thomas wrote: > The proposed Apache Tomcat 7.0.27 release is now available for voting. > > It can be obtained from: > https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.27/ > The Maven staging repo is: > https://repository.apache.org/content/repositories/or

Re: Who wants my Cassandra session manager for Tomcat?

2012-04-04 Thread Christopher Schultz
Pid, On 4/4/12 6:46 AM, Pid wrote: > On 03/04/2012 22:18, Morten Jorgensen wrote: >> Thanks to all for your feedback. I am providing some additional >> information as requested: >>> That's interesting. Can you share some details about how it works? >> Sure. It is quite simple. Cassandra is effect

Re: Who wants my Cassandra session manager for Tomcat?

2012-04-04 Thread Christopher Schultz
Morten, On 4/4/12 12:18 PM, Morten Jorgensen wrote: > For the cache? The main reason why I use a filter is to be able to > tie a cache object to a thread-local variable for the period for > which the request is being processed. As soon as the response is > streamed to the client the cache is relea

Re: Tomcat 6 org.apache.catalina.session.ManagerBase issue

2012-04-09 Thread Christopher Schultz
Andras, On 4/8/12 10:04 PM, Andras Rozsa wrote: > Tomcat Developers, > > I am a UCCS student and the project I have been working on is related > to session ID generation. > > I have checked the source code of Tomcat 6 (6.0.24) and I think I > have found a mistake. > > Line 567: long update = ((b

Re: Tomcat 6 org.apache.catalina.session.ManagerBase issue

2012-04-09 Thread Christopher Schultz
All, On 4/9/12 1:18 PM, Christopher Schultz wrote: > In trunk (pre-6.0.36), the line of code is o.a.c.session.ManagerBase:583. Excuse me, I meant to say "6.0.x/trunk", not "trunk". This code doesn't exist at all in current "trunk". -chris signature.asc Description: OpenPGP digital signature

Re: Tomcat 6 org.apache.catalina.session.ManagerBase issue

2012-04-09 Thread Christopher Schultz
Chuck, On 4/9/12 1:23 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Tomcat 6 org.apache.catalina.session.ManagerBase issue > >> Line 567: long update = ((byte) entropy[i]) << ((i % 8) * 8); >

Re: Who wants my Cassandra session manager for Tomcat?

2012-04-10 Thread Christopher Schultz
Morten, On 4/10/12 2:18 PM, Morten Jorgensen wrote: > I cannot simply replace all > session data management (currently using HttpSession) across my entire > applications, as the time/resources required to do this is massive. I > need to be able to replace the foundation for my applications, while

Re: Who wants my Cassandra session manager for Tomcat?

2012-04-10 Thread Christopher Schultz
Mark, On 4/10/12 2:55 PM, Mark Thomas wrote: > e) hosted at www.apacheextras.org (or for small amounts of code on the > Tomcat wiki) Aah, I had forgotten about apacheextras.org. IMHO, this is where Morten's code probably belongs due to its dependencies on Cassandra. Honestly, I think this can b

Re: svn commit: r1312006 - in /tomcat/trunk/java/org/apache/catalina/core: AprLifecycleListener.java LocalStrings.properties LocalStrings_es.properties

2012-04-11 Thread Christopher Schultz
Konstantin, On 4/10/12 7:27 PM, Konstantin Kolinko wrote: > 2012/4/11 : >> Author: schultz >> Date: Tue Apr 10 21:38:35 2012 >> New Revision: 1312006 >> >> URL: http://svn.apache.org/viewvc?rev=1312006&view=rev >> Log: >> Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53057 >> Add OpenSSL

Re: Welcome file list in web.xml treats index.jsp different from other filenames

2012-04-20 Thread Christopher Schultz
To whom it may concern, On 4/14/12 3:37 PM, Net Dawg wrote: > To your question as to "what point merging algorithms are not > followed", please try this inside your application context and you will > probably see the same: > > > > > > This seems to tell Tomcat 7, in plain English

Re: asp file and session creation

2012-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gunay, On 4/21/12 2:58 AM, gunay arslan wrote: > Seems like I could not explain what exactly I was trying to show. > A reference implementation of the PageContextImpl is attached, and > I tested this with one of our in-house web application. The point

Problem back-porting r1298479

2012-04-25 Thread Christopher Schultz
All, I'm trying to back-port r1298479 (and several other clean-up patches) to tc6.0.x but there seems to be some impedence in RealmBase. In 7.0.x and trunk, RealmBase implements LifecycleMBeanBase which has an "initInternal" method while in 6.0.x, RealmBase has no superclass (well, java.lang.Obje

Re: Problem back-porting r1298479

2012-04-25 Thread Christopher Schultz
All, On 4/25/12 4:43 PM, Christopher Schultz wrote: > It looks like RealmBase in 6.0.x implements Lifecycle's interface > manually and there *is* an init() method called from Lifecycle.start(). > That seems to be to be the natural place to put this in the absence of > the in

Re: asp file and session creation

2012-04-26 Thread Christopher Schultz
Gunay, On 4/24/12 2:50 AM, gunay arslan wrote: > As a web application developer, I needed to stop creation vast amount > of "dummy" sessions, that is why I proposed this. I understand what you want. > I understand that specs are important and there are vast amount of > software that requires t

Duplicate String values

2012-04-26 Thread Christopher Schultz
All, I've been doing some memory profiling on my webapp to see where I can reduce our memory footprint a bit by combining equivalent objects. YourKit has some nice utilities to look for duplicate objects -- especially Strings. I can see that the string "java.lang.String" has lots of duplicates. M

Re: Duplicate String values

2012-05-01 Thread Christopher Schultz
Konstantin, On 4/28/12 8:58 PM, Konstantin Kolinko wrote: > 2012/4/27 Christopher Schultz : >> All, >> >> I've been doing some memory profiling on my webapp to see where I can >> reduce our memory footprint a bit by combining equivalent objects. >> YourK

Re: svn commit: r1333218 - in /tomcat/trunk: java/org/apache/tomcat/util/net/NioEndpoint.java webapps/docs/changelog.xml webapps/docs/config/http.xml

2012-05-02 Thread Christopher Schultz
Filip, On 5/2/12 5:33 PM, fha...@apache.org wrote: > Very hard for applications to see a performance benefit of more than 2 pollers [...] > -protected int pollerThreadCount = > Runtime.getRuntime().availableProcessors(); > +protected int pollerThreadCount = > Math.min(2,Runtime.getRunt

Re: Duplicate String values

2012-05-03 Thread Christopher Schultz
Konstantin, On 5/1/12 11:04 AM, Christopher Schultz wrote: > On 4/28/12 8:58 PM, Konstantin Kolinko wrote: >> >> I am OK with your proposal, but I do not expect much savings from >> getting rid of those duplicates. Does YouKit show some estimates? > > It did, but I

Re: Tomcat 7. MX4J

2012-05-22 Thread Christopher Schultz
Vadim, On 5/22/12 10:49 AM, Vadzim Mikhalenak wrote: > We are going to migrate our application from tomcat 6 to tomcat 7. But > during migration we've faced with the following issue: > we have the following configuration to have possbility to manage JMX Bean > using browser (through http): > ... >

mod_jk trying to connect to 0.0.0.0

2012-05-24 Thread Christopher Schultz
All, I've recently seen two questions on the users' list and a bunch of questions over on StackExchange/ServerFault about mod_jk trying to connect to 0.0.0.0 instead of some sane IP address. Many have comments saying that reverting to mod_jk 1.2.35 seems to fix the issue. I saw that Mladen recent

Re: mod_jk trying to connect to 0.0.0.0

2012-05-24 Thread Christopher Schultz
Konstantin, On 5/24/12 12:14 PM, Konstantin Kolinko wrote: > 2012/5/24 Christopher Schultz : >> >> There also might be something weird with the lookup of "localhost": on >> one of the SE questions, the OP did "nslookup localhost" and the request >>

Re: mod_jk trying to connect to 0.0.0.0

2012-05-25 Thread Christopher Schultz
All, On 5/24/12 12:09 PM, Christopher Schultz wrote: > I've recently seen two questions on the users' list and a bunch of > questions over on StackExchange/ServerFault about mod_jk trying to > connect to 0.0.0.0 instead of some sane IP address. Many have comments > saying th

Re: [VOTE] Release Apache Tomcat Connectors 1.2.37

2012-05-30 Thread Christopher Schultz
Mladen, On 5/29/12 5:23 AM, Mladen Turk wrote: > The Apache Tomcat Connectors 1.2.37 is > [X] Stable, go ahead and release > [ ] Broken because of ... All seems to be running well in my development environment. -chris signature.asc Description: OpenPGP digital signature

Re: svn commit: r1346596 - /tomcat/tc6.0.x/trunk/STATUS.txt

2012-06-05 Thread Christopher Schultz
Konstantin, On 6/5/12 6:28 PM, Konstantin Kolinko wrote: > 2012/6/6 : >> Author: schultz >> Date: Tue Jun 5 21:19:05 2012 >> New Revision: 1346596 >> >> URL: http://svn.apache.org/viewvc?rev=1346596&view=rev >> Log: >> Votes >> >> Modified: >>tomcat/tc6.0.x/trunk/STATUS.txt >> > > >> * Fi

Problem updating TC site

2012-06-06 Thread Christopher Schultz
All, I just made an update to the Tomcat site project and was trying to publish it live following the instructions in README.txt. As such, I ssh'd to people.apache.org, cd /www/tomcat.apache.org and tried to do an 'svn up'. I got an invalid certificate error from svn.apache.org: schultz@minotaur

Re: svn commit: r1346864 - /tomcat/tc7.0.x/trunk/webapps/examples/WEB-INF/classes/websocket/echo/EchoMessage.java

2012-06-06 Thread Christopher Schultz
Konstantin, On 6/6/12 8:52 AM, kkoli...@apache.org wrote: > Author: kkolinko > Date: Wed Jun 6 12:52:20 2012 > New Revision: 1346864 > > URL: http://svn.apache.org/viewvc?rev=1346864&view=rev > Log: > Remove svn:merge-info property on EchoMessage.java, that was added in r1346684 > > Note: Merge

Re: svn commit: r1346864 - /tomcat/tc7.0.x/trunk/webapps/examples/WEB-INF/classes/websocket/echo/EchoMessage.java

2012-06-06 Thread Christopher Schultz
Konstantin, On 6/6/12 2:45 PM, Konstantin Kolinko wrote: > # Merging: > > 1. Run "update" before merge. Of course :) > 2. Invoke merge from the root of the project, so that svn:merge-info > on the project root directory is updated. I think this is what I failed to do with the EchoServlet: sinc

tcnative documentation is broken on tomcat.apache.org

2012-06-07 Thread Christopher Schultz
All, http://tomcat.apache.org/native-doc/ It says that tcnative 2.0.0 has been released, has no date, and links to non-existent files. Same thing with http://tomcat.apache.org/native-doc/news/2010.html Can someone take a look? -chris signature.asc Description: OpenPGP digital signature

Re: tcnative documentation is broken on tomcat.apache.org

2012-06-11 Thread Christopher Schultz
Konstantin, On 6/7/12 5:49 PM, Konstantin Kolinko wrote: > 2012/6/8 Konstantin Kolinko : >> 2012/6/8 Christopher Schultz : >>> All, >>> >>> http://tomcat.apache.org/native-doc/ >>> >>> It says that tcnative 2.0.0 has been released, has no d

Re: svn commit: r1348762 - in /tomcat/trunk: java/org/apache/catalina/valves/ErrorReportValve.java test/org/apache/catalina/valves/TestErrorReportValve.java

2012-06-11 Thread Christopher Schultz
Mark, On 6/11/12 5:24 AM, ma...@apache.org wrote: > Author: markt > Date: Mon Jun 11 09:24:53 2012 > New Revision: 1348762 > > URL: http://svn.apache.org/viewvc?rev=1348762&view=rev > Log: > Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53071 > Stepping through the code, light dawns as t

[OT] Subversion and recording bugzilla bug ids

2012-06-14 Thread Christopher Schultz
All, Since I know we've got some infra folks on this list but I'm not on the infra mailing list, I hope nobody minds if I ask here: When I do an svn commit to the ASF repository, one of the options (in Eclipse) is to provide a Bugzilla bug id. Can anyone tell me what svn plug-in (or whatever) is

Re: [Proposal] Preparatory refactoring for Resource handling refactoring

2012-06-18 Thread Christopher Schultz
Mark, On 6/15/12 1:00 PM, Mark Thomas wrote: > Since this is fairly major work, any objections before I start? I like the unification of all these things. Would this be a good time to consider making Tomcat 7 RTC with such a significant change to the core of the trunk? -chris signature.asc De

[OT] Moving entire directory structures in svn

2012-06-25 Thread Christopher Schultz
All, I apologize for another OT post to the dev list, but I know there are svn experts here and it's somewhat relevant. I have a project, recently migrated from CVS to SVN, and one of the things I'd like to be able to do that I couldn't do in CVS is to re-name files and do it all in one Big Commi

Re: [OT] Moving entire directory structures in svn

2012-06-25 Thread Christopher Schultz
Mark, On 6/25/12 12:45 PM, Mark Thomas wrote: > On 25/06/2012 17:42, Christopher Schultz wrote: >> $ mkdir src/newpackage >> $ svn add src/newpackage > > Skip the above 2 lines I'm actually introducing a new directory into the mix -- not just renaming but also putting

Get-and-set with JMXProxyServlet

2012-07-03 Thread Christopher Schultz
All, I have a slight interest in implementing either a get-and-set or get-and-invoke (or both) in JMXProxyServlet. While it is easy to script get-then-set (or get-then-invoke), I'd like to be able to, with a single URL, get one value and (for example) reset the value to zero (or call something lik

Missing classes in stock 5.5.35 JARs?

2012-07-11 Thread Christopher Schultz
All, http://stackoverflow.com/questions/11427522/ssl-configuration-getting-classpuretlsimplementation-jsse15factory-not-foun The SO poster is using 5.5.30 but the problem appears to still exist in 5.5.35 (latest). I downloaded the "core" Tomcat 5.5.35 tarball and none of the .jar files in there

Re: svn commit: r1371678 - in /tomcat/tc6.0.x/trunk: 53531.diff java/org/apache/catalina/startup/LocalStrings.properties src/

2012-08-10 Thread Christopher Schultz
Konstantin, On 8/10/12 8:07 AM, kkoli...@apache.org wrote: > Author: kkolinko > Date: Fri Aug 10 12:07:37 2012 > New Revision: 1371678 > > URL: http://svn.apache.org/viewvc?rev=1371678&view=rev > Log: > https://issues.apache.org/bugzilla/show_bug.cgi?id=53531 > Followup to r1371355. > Add missing

Re: svn commit: r1372002 - /tomcat/tc5.5.x/trunk/STATUS.txt

2012-08-12 Thread Christopher Schultz
Konstantin, On 8/11/12 3:26 PM, kkoli...@apache.org wrote: > Author: kkolinko > Date: Sat Aug 11 19:26:30 2012 > New Revision: 1372002 > > URL: http://svn.apache.org/viewvc?rev=1372002&view=rev > Log: > Update Christopher Schultz' proposal with an actual patch. >

Back-porting versus brand-new patch

2012-08-13 Thread Christopher Schultz
All, Recently, I have made a proposal or to to back-port changes into Tomcat 6. In one case, Konstantin has (helpfully!) provided a new patch based upon several changes to trunk/TC7. In this case, is it more appropriate to apply the single patch to TC6 and ignore those patches made to trunk, or s

Re: svn commit: r1372415 - /tomcat/tc6.0.x/trunk/STATUS.txt

2012-08-13 Thread Christopher Schultz
Konstantin, On 8/13/12 9:06 AM, kkoli...@apache.org wrote: > Author: kkolinko > @@ -178,12 +161,14 @@ PATCHES PROPOSED TO BACKPORT: >Patch from 7.0.x should apply relatively cleanly, as it is very small: >http://svn.apache.org/viewvc?view=revision&revision=1041892 >+1: schultz > - -1:

Re: Back-porting versus brand-new patch

2012-08-13 Thread Christopher Schultz
Konstantin, On 8/13/12 3:26 PM, Konstantin Kolinko wrote: > Regarding size of a patch: > > It is up to you. You do it in your own name. The lesser the patch the > lesser are chances to screw it. But if you feel that something needs > to be included as well, feel free to include it.

Re: error while shutting down tomcat

2012-08-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ijlal, On 8/14/12 6:18 PM, Ijlal EL HAZITI wrote: > I installed a wab application (sakai precisely) on a distant > server remotely, but it doesn't start, and when I shutdown tomcat, > I get that error: This is a question better targeted at the Tomcat

Re-factoring TLD parsing

2012-08-16 Thread Christopher Schultz
All, The first item in the TOMCAT-NEXT.txt is this: 1. Refactor the TLD parsing. TLDs are currently parsed twice. Once by Catalina looking for listeners and once by Jasper. I had a conversation in Vancouver with David Blevins about the scourge of JAR-scanning in general (in that case, we we

Re: Re-factoring TLD parsing

2012-08-16 Thread Christopher Schultz
Sebb, On 8/16/12 7:11 PM, sebb wrote: > On 16 August 2012 23:44, Christopher Schultz > wrote: >> >> I had a conversation in Vancouver with David Blevins about the scourge >> of JAR-scanning in general (in that case, we were discussing >> annotation-processing) and

Re: Tomcat + j_security_check (JDBCRealm) + salt / jBCrypt

2012-08-27 Thread Christopher Schultz
Salek, On 8/20/12 3:31 PM, Salek Talangi wrote: > Hi all, > > I just started using Tomcat+j_security_check (JDBCRealm) for Form-based > Webapp-Login. > I read [1] that only a few standard (MD5, SHA-1, MD2?) > java.security.MessageDigest methods are supported, which isn't enough in > times of (

Re: pooledconnection & tccl?

2012-08-27 Thread Christopher Schultz
Filip, On 8/22/12 9:12 AM, Filip Hanik (mailing lists) wrote: > I've thought about this, you see if it is using TCCL it will cause a memory > leak on app reload as the app wont be unloaded due to the pool holding it. > But I think we should make it an option It's always been my position that Data

Re: [Bug 53531] ExpandWar.expand does not check the return value of File.mkdir and File.mkdirs

2012-08-27 Thread Christopher Schultz
Mark, On 8/27/12 5:36 PM, bugzi...@apache.org wrote: > https://issues.apache.org/bugzilla/show_bug.cgi?id=53531 > > Mark Thomas changed: > >What|Removed |Added > > Componen

Re: [Bug 53531] ExpandWar.expand does not check the return value of File.mkdir and File.mkdirs

2012-08-28 Thread Christopher Schultz
Mark, On 8/27/12 7:57 PM, Mark Thomas wrote: > On 28/08/2012 00:53, Christopher Schultz wrote: >> Mark, > >> On 8/27/12 5:36 PM, bugzi...@apache.org wrote: >>> https://issues.apache.org/bugzilla/show_bug.cgi?id=53531 >>> >>> M

  1   2   3   4   5   6   7   8   9   10   >