Implementing wildcard hostnames or aliases

2008-02-12 Thread Michael Wyraz
Hi, I was searching for a way to use wildcard host names in tomcat (e.g. *.myhost.com). With the current implementation it seems not to be possible. I found some ideas like using a valve at engine level which forwards to the correct hostname. The problem with this is that the servlets wouln'd

Re: tomcat native documentation

2008-02-12 Thread Henri Gomez
> Ok. /usr/local/lib is not so good because it needs root access to install. Good point. A system component (part of Tomcat), should be installed by an admin isn't it ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Cookies are broken in 6.0.16?

2008-02-12 Thread Filip Hanik - Dev Lists
Sven Köhler wrote: The difficulty here is that although '=' is the delimiter between NAME and VALUE there is no need to encode it if it appears in the name or the value. This causes some ambiguities when parsing a header of the form: Set-Cookie: foo=bar=bartoo Is the name 'foo' or 'foo=bar'? Is

Re: tomcat native documentation

2008-02-12 Thread jean-frederic clere
Henri Gomez wrote: Ok. /usr/local/lib is not so good because it needs root access to install. Good point. A system component (part of Tomcat), should be installed by an admin isn't it ? In this case, should it be installed in the directory of the JVM installation? I think MINA uses it too.

svn commit: r620720 - /tomcat/connectors/trunk/jni/xdocs/index.xml

2008-02-12 Thread jfclere
Author: jfclere Date: Mon Feb 11 23:59:36 2008 New Revision: 620720 URL: http://svn.apache.org/viewvc?rev=620720&view=rev Log: Use $CATALINA_HOME and add apt-get and yum install suggestions. Modified: tomcat/connectors/trunk/jni/xdocs/index.xml Modified: tomcat/connectors/trunk/jni/xdocs/ind

DO NOT REPLY [Bug 44397] New: - reloadable="false" being ignored

2008-02-12 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://issues.apache.org/bugzilla/show_bu

Re: tomcat native documentation

2008-02-12 Thread Henri Gomez
> In this case, should it be installed in the directory of the JVM > installation? I think MINA uses it too. JVM directory may be problematic for those of us who switch between JVM, ie IBM or Sun. - To unsubscribe, e-mail: [EMAIL

DO NOT REPLY [Bug 43925] - org.apache.jasper.runtime.BodyContentImpl causing huge memory allocations

2008-02-12 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://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 33774] - JNDIRealm fails when server disconnects after time

2008-02-12 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://issues.apache.org/bugzilla/show_bu

Re: Cookies are broken in 6.0.16?

2008-02-12 Thread Sven Köhler
Actually, the spec doesn't disagree with chosing any of the = ... But some users have supplied some reasonable arguments (base64 is padding with =, etc.) to rather chose the first = over the other ones. in that case, the user should use v1 cookies :) Yes, right, you're 100% right - but this

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

2008-02-12 Thread jean-frederic clere
Tim Funk wrote: Not sure if I understand the question, the problem is our use of digester. We had 2 listener rules being created and each called addListener. So when an a was found - it was being processed twice. Yes. My idea was to prevent add twice the same rule in Digester additionally

DO NOT REPLY [Bug 44399] New: - Allow ICY response upon receiving icy-metadata header

2008-02-12 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://issues.apache.org/bugzilla/show_bu

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

2008-02-12 Thread Tim Funk
In that case - that would revert the functionality which caused the issue to arrive in the first place. The original bug had a problem because they had the same listener class declared multiple times and it was only being fired once. The fix was to log a duplicate listener message on the user

DO NOT REPLY [Bug 44397] - reloadable="false" being ignored

2008-02-12 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://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 44397] - reloadable="false" being ignored

2008-02-12 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://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 44398] - setclasspath

2008-02-12 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://issues.apache.org/bugzilla/show_bu

svn commit: r627110 - /tomcat/current/tc5.5.x/STATUS.txt

2008-02-12 Thread pero
Author: pero Date: Tue Feb 12 13:07:41 2008 New Revision: 627110 URL: http://svn.apache.org/viewvc?rev=627110&view=rev Log: Backport duplicate listener additions Modified: tomcat/current/tc5.5.x/STATUS.txt Modified: tomcat/current/tc5.5.x/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/

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

2008-02-12 Thread jfclere
Author: jfclere Date: Tue Feb 12 12:24:06 2008 New Revision: 627079 URL: http://svn.apache.org/viewvc?rev=627079&view=rev Log: Cast my vote. Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?

svn commit: r627069 - /tomcat/container/branches/tc4.1.x/build.properties.default

2008-02-12 Thread markt
Author: markt Date: Tue Feb 12 12:05:54 2008 New Revision: 627069 URL: http://svn.apache.org/viewvc?rev=627069&view=rev Log: Update version Modified: tomcat/container/branches/tc4.1.x/build.properties.default Modified: tomcat/container/branches/tc4.1.x/build.properties.default URL: http://s

svn commit: r627068 - /tomcat/servletapi/tags/servlet2.3-jsp1.2-tc4.x/TOMCAT_4_1_37/

2008-02-12 Thread markt
Author: markt Date: Tue Feb 12 12:04:51 2008 New Revision: 627068 URL: http://svn.apache.org/viewvc?rev=627068&view=rev Log: Tagging 4.1.37 Added: tomcat/servletapi/tags/servlet2.3-jsp1.2-tc4.x/TOMCAT_4_1_37/ - copied from r627067, tomcat/servletapi/branches/servlet2.3-jsp1.2-tc4.x/ -

svn commit: r627067 - /tomcat/jasper/tags/tc4.1.x/TOMCAT_4_1_37/

2008-02-12 Thread markt
Author: markt Date: Tue Feb 12 12:04:40 2008 New Revision: 627067 URL: http://svn.apache.org/viewvc?rev=627067&view=rev Log: Tagging 4.1.37 Added: tomcat/jasper/tags/tc4.1.x/TOMCAT_4_1_37/ - copied from r627066, tomcat/jasper/branches/tc4.1.x/ -

svn commit: r627066 - /tomcat/connectors/tags/tc4.1.x/TOMCAT_4_1_37/

2008-02-12 Thread markt
Author: markt Date: Tue Feb 12 12:04:31 2008 New Revision: 627066 URL: http://svn.apache.org/viewvc?rev=627066&view=rev Log: Tagging 4.1.37 Added: tomcat/connectors/tags/tc4.1.x/TOMCAT_4_1_37/ - copied from r627065, tomcat/connectors/trunk/

svn commit: r627065 - /tomcat/container/tags/tc4.1.x/TOMCAT_4_1_37/

2008-02-12 Thread markt
Author: markt Date: Tue Feb 12 12:04:22 2008 New Revision: 627065 URL: http://svn.apache.org/viewvc?rev=627065&view=rev Log: Tagging 4.1.37 Added: tomcat/container/tags/tc4.1.x/TOMCAT_4_1_37/ - copied from r627064, tomcat/container/branches/tc4.1.x/ ---

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

2008-02-12 Thread Peter Rossbach
Hi Tim, +1 WebRuleSet LL 250 digester.addCallMethod(prefix + "web-app/listener/listener- class", "addApplicationListener", 0); digester.addRule(prefix + "web-app/jsp-config", jspConfig); digester.addCallMetho

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

2008-02-12 Thread Tim Funk
Not sure if I understand the question, the problem is our use of digester. We had 2 listener rules being created and each called addListener. So when an a was found - it was being processed twice. (Or was I missing something?) -Tim jean-frederic clere wrote: [EMAIL PROTECTED] wrote: Aut

DO NOT REPLY [Bug 44399] - Allow ICY response upon receiving icy-metadata header

2008-02-12 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://issues.apache.org/bugzilla/show_bu

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

2008-02-12 Thread jean-frederic clere
[EMAIL PROTECTED] wrote: Author: funkman Date: Tue Feb 12 08:27:45 2008 New Revision: 620848 URL: http://svn.apache.org/viewvc?rev=620848&view=rev Log: addition of dupl listener removal and a vote Won't it be possible to prevent the addition in the Digester instead? Cheers Jean-Frederic

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

2008-02-12 Thread pero
Author: pero Date: Tue Feb 12 08:34:06 2008 New Revision: 620853 URL: http://svn.apache.org/viewvc?rev=620853&view=rev Log: Cast my vote Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=

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

2008-02-12 Thread funkman
Author: funkman Date: Tue Feb 12 08:27:45 2008 New Revision: 620848 URL: http://svn.apache.org/viewvc?rev=620848&view=rev Log: addition of dupl listener removal and a vote Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/

Re: Heads up: Bayeux contribution

2008-02-12 Thread Filip Hanik - Dev Lists
status update, we're just waiting for the API update to have a shared/common server side API before we make the proposals Filip Filip Hanik - Dev Lists wrote: Niall Pemberton wrote: On Feb 5, 2008 2:06 PM, jean-frederic clere <[EMAIL PROTECTED]> wrote: Yoav Shapira wrote: On Feb 5, 20

svn commit: r620847 - /tomcat/trunk/PROPOSALS.txt

2008-02-12 Thread fhanik
Author: fhanik Date: Tue Feb 12 08:25:49 2008 New Revision: 620847 URL: http://svn.apache.org/viewvc?rev=620847&view=rev Log: some more ideas Modified: tomcat/trunk/PROPOSALS.txt Modified: tomcat/trunk/PROPOSALS.txt URL: http://svn.apache.org/viewvc/tomcat/trunk/PROPOSALS.txt?rev=620847&r1=

svn commit: r620844 - /tomcat/trunk/java/org/apache/catalina/startup/WebRuleSet.java

2008-02-12 Thread funkman
Author: funkman Date: Tue Feb 12 08:22:19 2008 New Revision: 620844 URL: http://svn.apache.org/viewvc?rev=620844&view=rev Log: Only add the listener once (to prevent the dup message from accidently appearing) related to http://issues.apache.org/bugzilla/show_bug.cgi?id=44268 Modified: tomc

DO NOT REPLY [Bug 44337] - Dir listing crashes if no readme-file present

2008-02-12 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://issues.apache.org/bugzilla/show_bu

Re: Cookies are broken in 6.0.16?

2008-02-12 Thread George Sexton
Sven Köhler wrote: And it seems to be the case, that people don't use names containg the = character but rather use values that do which was possible with the old behaviour - and indeed seems to me to be the use-case used much more often then the "name contains =" use-case. I got bit on this

svn commit: r620835 - /tomcat/trunk/PROPOSALS.txt

2008-02-12 Thread fhanik
Author: fhanik Date: Tue Feb 12 08:02:28 2008 New Revision: 620835 URL: http://svn.apache.org/viewvc?rev=620835&view=rev Log: improvements to tribes Modified: tomcat/trunk/PROPOSALS.txt Modified: tomcat/trunk/PROPOSALS.txt URL: http://svn.apache.org/viewvc/tomcat/trunk/PROPOSALS.txt?rev=620

DO NOT REPLY [Bug 44398] New: - setclasspath

2008-02-12 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://issues.apache.org/bugzilla/show_bu

Re: Implementing wildcard hostnames or aliases

2008-02-12 Thread Michael Wyraz
Hi Pid, Is there a reason why you can't exploit the defaultHost attribute of the Engine element in server.xml? Using the default host would result in that I can do that wildcard mapping only for one host. Additionally also any other host that maps to any if der server's IPs and even the IPs i

Measures against Session Fixation

2008-02-12 Thread Christoph Lenggenhager
Hi, I was discussing the problem of session fixation [1] on the tomcat-users list [2] and thought that it would be interesting to hear an opinion of a developer on that subject. Basically, I'd like to know what you think about a feature request/bug report that the tomcat container should take car

svn commit: r620821 - /tomcat/trunk/java/org/apache/catalina/tribes/io/XByteBuffer.java

2008-02-12 Thread fhanik
Author: fhanik Date: Tue Feb 12 07:03:29 2008 New Revision: 620821 URL: http://svn.apache.org/viewvc?rev=620821&view=rev Log: remove not needed synchronization Modified: tomcat/trunk/java/org/apache/catalina/tribes/io/XByteBuffer.java Modified: tomcat/trunk/java/org/apache/catalina/tribes/io

svn commit: r620845 - in /tomcat/trunk/java/org/apache/catalina: Server.java core/StandardServer.java startup/Catalina.java

2008-02-12 Thread jfclere
Author: jfclere Date: Tue Feb 12 08:22:58 2008 New Revision: 620845 URL: http://svn.apache.org/viewvc?rev=620845&view=rev Log: Allow to run the shutdown on another IP that localhost. Modified: tomcat/trunk/java/org/apache/catalina/Server.java tomcat/trunk/java/org/apache/catalina/core/Sta

svn commit: r620842 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/catalina/servlets/DefaultServlet.java webapps/docs/changelog.xml

2008-02-12 Thread funkman
Author: funkman Date: Tue Feb 12 08:13:54 2008 New Revision: 620842 URL: http://svn.apache.org/viewvc?rev=620842&view=rev Log: Fix http://issues.apache.org/bugzilla/show_bug.cgi?id=44337 Dir listing crashes if no readme-file present Modified: tomcat/tc6.0.x/trunk/STATUS.txt tomcat/tc6.

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

2008-02-12 Thread pero
Author: pero Date: Tue Feb 12 05:49:45 2008 New Revision: 620800 URL: http://svn.apache.org/viewvc?rev=620800&view=rev Log: Cast my vote Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=

Re: Implementing wildcard hostnames or aliases

2008-02-12 Thread Pid
Michael Wyraz wrote: Hi, I have done further research for this topic and I found a solution for tomcat 5.5: http://www.mhsoftware.com/~gsexton/Mapper.java Should this also work on Tomcat 6 (simply to change the Mapper implementation)? Can the mapper class be replaced via configuration (I don't

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

2008-02-12 Thread pero
Author: pero Date: Tue Feb 12 04:42:03 2008 New Revision: 620781 URL: http://svn.apache.org/viewvc?rev=620781&view=rev Log: Add small fix at ExtendedAccessLogValve Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc

svn commit: r620778 - in /tomcat/trunk: java/org/apache/catalina/valves/ExtendedAccessLogValve.java webapps/docs/changelog.xml

2008-02-12 Thread pero
Author: pero Date: Tue Feb 12 04:36:00 2008 New Revision: 620778 URL: http://svn.apache.org/viewvc?rev=620778&view=rev Log: ExtendedAccessLogValve cs-uri not print empty querystring Modified: tomcat/trunk/java/org/apache/catalina/valves/ExtendedAccessLogValve.java tomcat/trunk/webapps/doc

Re: Implementing wildcard hostnames or aliases

2008-02-12 Thread Michael Wyraz
Hi, I have done further research for this topic and I found a solution for tomcat 5.5: http://www.mhsoftware.com/~gsexton/Mapper.java Should this also work on Tomcat 6 (simply to change the Mapper implementation)? Can the mapper class be replaced via configuration (I don't think so beause it's