Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Peter Rossbach
HI Michael, we have add some Imdicators at the coming mod_jk 1.2.28 release. === JkLocalNameIndicator Name of the Apache environment variable which can be used to overwrite the forwarded local name. Use this only if you need to adjust the data (see the proxy documentation). The default va

DO NOT REPLY [Bug 41263] servletRequest.getRemotePort() returns incorrect value when behind mod_jk

2009-03-21 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=41263 --- Comment #5 from Rainer Jung 2009-03-21 04:47:36 PST --- Just a workaround, not a solution: You can use JkEnvVar to forward arbitrary data, which is available in the form of so called httpd environment variables. The remote port f

Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Rainer Jung
On 21.03.2009 00:10, Michael B Allen wrote: Hi All, What is the status of this issue? https://issues.apache.org/bugzilla/show_bug.cgi?id=41263 I am interested in this because NTLMSSP authentication is basically not possible unless the remote port is accessible and I want people to be able t

Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Mladen Turk
Rainer Jung wrote: I added a comment with a non spec compliant workaround to BZ41263. We'll seee, whether we can make the AJP Tomcat connectors "hack aware", i.e. allow them to get the remotePort from the REMOTE_PORT env var when set. Only if you make sure that the REMOTE_PORT is always m

svn commit: r756926 - in /tomcat/trunk/java/org/apache: coyote/ajp/AjpAprProcessor.java coyote/ajp/AjpProcessor.java jk/common/HandlerRequest.java

2009-03-21 Thread rjung
Author: rjung Date: Sat Mar 21 12:51:39 2009 New Revision: 756926 URL: http://svn.apache.org/viewvc?rev=756926&view=rev Log: AJP13 misses to forward the remotePort. Apache automatically sets the env variable REMOTE_PORT to the remote port. Allow the user to set "JkEnvVar REMOTE_PORT" and let us

Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Rainer Jung
On 21.03.2009 13:23, Mladen Turk wrote: Rainer Jung wrote: I added a comment with a non spec compliant workaround to BZ41263. We'll seee, whether we can make the AJP Tomcat connectors "hack aware", i.e. allow them to get the remotePort from the REMOTE_PORT env var when set. Only if you make

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

2009-03-21 Thread rjung
Author: rjung Date: Sat Mar 21 13:00:18 2009 New Revision: 756932 URL: http://svn.apache.org/viewvc?rev=756932&view=rev Log: Add backport proposal. 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/STAT

Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Mladen Turk
Rainer Jung wrote: On 21.03.2009 13:23, Mladen Turk wrote: Rainer Jung wrote: I added a comment with a non spec compliant workaround to BZ41263. We'll seee, whether we can make the AJP Tomcat connectors "hack aware", i.e. allow them to get the remotePort from the REMOTE_PORT env var when set.

Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Rainer Jung
On 21.03.2009 14:12, Mladen Turk wrote: I should read the entire logic before posting. I missed it's an env var. Sorry for the noise ;) No problem at all. Better safe than sorry. I just committed a change to TC trunk and backport proposals to pick up the REMOTE_PORT env var for request.getRe

svn commit: r756940 - /tomcat/connectors/trunk/jk/xdocs/generic_howto/proxy.xml

2009-03-21 Thread rjung
Author: rjung Date: Sat Mar 21 14:03:20 2009 New Revision: 756940 URL: http://svn.apache.org/viewvc?rev=756940&view=rev Log: Improve english grammar. Thanks to Andre. Modified: tomcat/connectors/trunk/jk/xdocs/generic_howto/proxy.xml Modified: tomcat/connectors/trunk/jk/xdocs/generic_howto/p

svn commit: r756942 - /tomcat/connectors/trunk/jk/xdocs/generic_howto/proxy.xml

2009-03-21 Thread rjung
Author: rjung Date: Sat Mar 21 14:06:04 2009 New Revision: 756942 URL: http://svn.apache.org/viewvc?rev=756942&view=rev Log: Add warning about remote port to proxy docs page. Modified: tomcat/connectors/trunk/jk/xdocs/generic_howto/proxy.xml Modified: tomcat/connectors/trunk/jk/xdocs/generic

DO NOT REPLY [Bug 41263] servletRequest.getRemotePort() returns incorrect value when behind mod_jk

2009-03-21 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=41263 --- Comment #6 from Rainer Jung 2009-03-21 07:10:17 PST --- I added a fix to Tomcat trunk to automatically respect the forwarded attribute REMOTE_PORT as the value for getRemotePort(): http://svn.eu.apache.org/viewvc?view=rev&revisio

svn commit: r756954 - in /tomcat/trunk/java/org/apache/catalina/ssi: ExpressionTokenizer.java ResponseIncludeWrapper.java SSIFilter.java SSIServlet.java SSIServletExternalResolver.java SSIStopProcessi

2009-03-21 Thread markt
Author: markt Date: Sat Mar 21 15:07:42 2009 New Revision: 756954 URL: http://svn.apache.org/viewvc?rev=756954&view=rev Log: Fix a handful of Eclipse warnings Modified: tomcat/trunk/java/org/apache/catalina/ssi/ExpressionTokenizer.java tomcat/trunk/java/org/apache/catalina/ssi/ResponseInc

DO NOT REPLY [Bug 41664] ClassLoader does not return directory resources correctly

2009-03-21 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=41664 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

DO NOT REPLY [Bug 46158] SessionID missing when redirect to itself in load balanced environment.

2009-03-21 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46158 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

DO NOT REPLY [Bug 38898] Tomcat service fails without error message

2009-03-21 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=38898 Mark Thomas changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

svn commit: r756983 - /tomcat/connectors/trunk/jk/native/TODO.txt

2009-03-21 Thread rjung
Author: rjung Date: Sat Mar 21 18:27:44 2009 New Revision: 756983 URL: http://svn.apache.org/viewvc?rev=756983&view=rev Log: Add many TODOs. Modified: tomcat/connectors/trunk/jk/native/TODO.txt Modified: tomcat/connectors/trunk/jk/native/TODO.txt URL: http://svn.apache.org/viewvc/tomcat/con

svn commit: r756984 - /tomcat/connectors/trunk/jk/native/TODO.txt

2009-03-21 Thread rjung
Author: rjung Date: Sat Mar 21 18:33:12 2009 New Revision: 756984 URL: http://svn.apache.org/viewvc?rev=756984&view=rev Log: Further TODOs. Modified: tomcat/connectors/trunk/jk/native/TODO.txt Modified: tomcat/connectors/trunk/jk/native/TODO.txt URL: http://svn.apache.org/viewvc/tomcat/conn

svn commit: r756988 - /tomcat/trunk/webapps/docs/config/http.xml

2009-03-21 Thread markt
Author: markt Date: Sat Mar 21 18:51:43 2009 New Revision: 756988 URL: http://svn.apache.org/viewvc?rev=756988&view=rev Log: Add missing attributes tags Modified: tomcat/trunk/webapps/docs/config/http.xml Modified: tomcat/trunk/webapps/docs/config/http.xml URL: http://svn.apache.org/viewvc/

Re: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Michael B Allen
On Sat, Mar 21, 2009 at 9:27 AM, Rainer Jung wrote: > On 21.03.2009 14:12, Mladen Turk wrote: >> >> I should read the entire logic before posting. >> I missed it's an env var. >> >> Sorry for the noise ;) > > No problem at all. Better safe than sorry. > > I just committed a change to TC trunk and

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

2009-03-21 Thread pero
Author: pero Date: Sat Mar 21 20:23:58 2009 New Revision: 757005 URL: http://svn.apache.org/viewvc?rev=757005&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: mod_jk: getRemotePort returns -1 (issue 41263)

2009-03-21 Thread Rainer Jung
On 21.03.2009 20:09, Michael B Allen wrote: On Sat, Mar 21, 2009 at 9:27 AM, Rainer Jung wrote: On 21.03.2009 14:12, Mladen Turk wrote: I should read the entire logic before posting. I missed it's an env var. Sorry for the noise ;) No problem at all. Better safe than sorry. I just committed

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

2009-03-21 Thread pero
Author: pero Date: Sat Mar 21 20:28:36 2009 New Revision: 757007 URL: http://svn.apache.org/viewvc?rev=757007&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: r757021 - /tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml

2009-03-21 Thread rjung
Author: rjung Date: Sat Mar 21 21:17:01 2009 New Revision: 757021 URL: http://svn.apache.org/viewvc?rev=757021&view=rev Log: Reorder changelog entries for 1.2.28. Modified: tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml Modified: tomcat/connectors/trunk/jk/xdocs/miscellaneous/c

svn commit: r757030 - /tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml

2009-03-21 Thread rjung
Author: rjung Date: Sat Mar 21 21:34:19 2009 New Revision: 757030 URL: http://svn.apache.org/viewvc?rev=757030&view=rev Log: Some more reordering and a few additions to changelog. Modified: tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml Modified: tomcat/connectors/trunk/jk/xdoc

svn commit: r757033 - in /tomcat/connectors/trunk/jk: native/common/jk_status.c xdocs/miscellaneous/changelog.xml

2009-03-21 Thread rjung
Author: rjung Date: Sat Mar 21 22:09:09 2009 New Revision: 757033 URL: http://svn.apache.org/viewvc?rev=757033&view=rev Log: Add use_server_errors to status worker map display. Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c tomcat/connectors/trunk/jk/xdocs/miscellaneous/ch

svn commit: r757040 - /tomcat/connectors/trunk/jk/native/common/jk_status.c

2009-03-21 Thread rjung
Author: rjung Date: Sat Mar 21 22:35:46 2009 New Revision: 757040 URL: http://svn.apache.org/viewvc?rev=757040&view=rev Log: Reduce use of "-" as a placeholder for missing values in the status worker display. Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c Modified: tomcat/con

svn commit: r757053 - in /tomcat/connectors/trunk/jk/xdocs: index.xml news/20090301.xml

2009-03-21 Thread rjung
Author: rjung Date: Sat Mar 21 22:50:16 2009 New Revision: 757053 URL: http://svn.apache.org/viewvc?rev=757053&view=rev Log: Update docs front page and news page in preparation of release tag. Modified: tomcat/connectors/trunk/jk/xdocs/index.xml tomcat/connectors/trunk/jk/xdocs/news/20090

svn commit: r757055 - in /tomcat/connectors/trunk/jk/native: STATUS.txt common/jk_version.h

2009-03-21 Thread rjung
Author: rjung Date: Sat Mar 21 22:54:24 2009 New Revision: 757055 URL: http://svn.apache.org/viewvc?rev=757055&view=rev Log: Update STATUS and version file to prepare tagging 1.2.28. Modified: tomcat/connectors/trunk/jk/native/STATUS.txt tomcat/connectors/trunk/jk/native/common/jk_version

svn commit: r757063 - in /tomcat/connectors/trunk/jk/xdocs/generic_howto: proxy.xml timeouts.xml

2009-03-21 Thread rjung
Author: rjung Date: Sat Mar 21 23:11:39 2009 New Revision: 757063 URL: http://svn.apache.org/viewvc?rev=757063&view=rev Log: Optimize a couple of docs formats. Modified: tomcat/connectors/trunk/jk/xdocs/generic_howto/proxy.xml tomcat/connectors/trunk/jk/xdocs/generic_howto/timeouts.xml M

svn commit: r757083 - /tomcat/connectors/trunk/jk/native/TODO.txt

2009-03-21 Thread rjung
Author: rjung Date: Sat Mar 21 23:28:44 2009 New Revision: 757083 URL: http://svn.apache.org/viewvc?rev=757083&view=rev Log: Add another TODO. Modified: tomcat/connectors/trunk/jk/native/TODO.txt Modified: tomcat/connectors/trunk/jk/native/TODO.txt URL: http://svn.apache.org/viewvc/tomcat/c

svn commit: r757084 - /tomcat/connectors/tags/jk1.2.x/JK_1_2_28/

2009-03-21 Thread rjung
Author: rjung Date: Sat Mar 21 23:30:16 2009 New Revision: 757084 URL: http://svn.apache.org/viewvc?rev=757084&view=rev Log: Tagging JK 1.2.28. Added: tomcat/connectors/tags/jk1.2.x/JK_1_2_28/ - copied from r757083, tomcat/connectors/trunk/

[VOTE] Releasing Tomcat Connectors 1.2.28

2009-03-21 Thread Rainer Jung
Hello to the Tomcat team, JK 1.2.28 has been available for testing for two weeks as svn snapshots. Some minor bugs have been found and fixed. So I would like to proceed with the release vote. If you want to take a look, the final source distribution can be downloaded from: http://tomcat.apache.