DO NOT REPLY [Bug 48925] ((ServletRequest) request).getLocalAddr() returns null

2010-11-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48925

Rainer Jung rainer.j...@kippdata.de changed:

   What|Removed |Added

 Status|NEW |RESOLVED
Version|unspecified |6.0.29
  Component|mod_jk  |Connectors
   Platform|PC  |All
 Resolution||FIXED
   Target Milestone|--- |default
Product|Tomcat Connectors   |Tomcat 6
 OS/Version|Linux   |All

--- Comment #6 from Rainer Jung rainer.j...@kippdata.de 2010-11-10 14:05:03 
EST ---
Patch applied in r1033643, will be part of Tomcat 6.0.30.
No fix needed and no workaround available for mod_jk.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 48925] ((ServletRequest) request).getLocalAddr() returns null

2010-11-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48925

--- Comment #4 from andrea dal farra ada...@gmail.com 2010-11-06 09:57:03 EDT 
---
I've tested mod_jk 1.2.30 with Jetty 7.2 and tomcat 7.0.4 and the problem does
not occur anymore.
in tomcat-6.0.29 i still have the issue

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 48925] ((ServletRequest) request).getLocalAddr() returns null

2010-11-06 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48925

--- Comment #5 from Rainer Jung rainer.j...@kippdata.de 2010-11-06 11:44:38 
EDT ---
I proposed a fix for Tomcat 6. It is available at

http://people.apache.org/~rjung/patches/bz48925-tc6-ajp-localaddr.patch

It only happens for the default implementation of the AJP connector. If you
switch to protocol=org.apache.coyote.ajp.AjpProtocol in the connector
configuration, it should be fine. That's the implementation used by Tomcat 7.

Note also, that our implementation of localAddr() will simply return the same
as localName(), so you can also switch to that method.

Regards,

Rainer

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 48925] ((ServletRequest) request).getLocalAddr() returns null

2010-11-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48925

--- Comment #2 from andrea dal farra ada...@gmail.com 2010-11-05 16:24:07 EDT 
---
Created an attachment (id=26262)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=26262)
simple servlet to test getLocalAddr()

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 48925] ((ServletRequest) request).getLocalAddr() returns null

2010-11-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48925

andrea dal farra ada...@gmail.com changed:

   What|Removed |Added

 Status|NEEDINFO|NEW

--- Comment #3 from andrea dal farra ada...@gmail.com 2010-11-05 16:27:43 EDT 
---
Hi Steven,

I've encountered the same problem on iis 7.0 with isapi_Redirect 1.2.31 and i
was able to reproduce the issue with mod_jk 1.2.30 with apache 2.2 both in
tomcata 5.5 and 6.0.
I'm not familiar with the test case used with mod_jk so i write a simple
servlet that echoes the getLocalAddr value.
Is that enough or you need more?

thanks


andrea

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 48925] ((ServletRequest) request).getLocalAddr() returns null

2010-11-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48925

andrea dal farra ada...@gmail.com changed:

   What|Removed |Added

 CC||ada...@gmail.com

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 48925] ((ServletRequest) request).getLocalAddr() returns null

2010-09-22 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48925

Tim Whittington t...@apache.org changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 48925] ((ServletRequest) request).getLocalAddr() returns null

2010-05-21 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48925

--- Comment #1 from Steven Yates syates...@stevendyates.com 2010-05-21 
02:13:27 EDT ---
Paul, can you reproduce this with a test case? If so please attach and I will
be happy to take a look at it for you.

RGS SY

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 48925] ((ServletRequest) request).getLocalAddr() returns null

2010-03-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48925

Paul Sipot p...@unnservice.com changed:

   What|Removed |Added

 CC||p...@unnservice.com

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org