Hi,
we have following setup
apache 2.4 on a ubuntu host, in front of docker-container with tomcat9 (on
same host).
Connection is via apache mod_http/proxy.
Internal IP of the host is 10.138.0.3 (where httpd and docker are running).
In localhost_access log we see always 10.138.0.3 address. If
Maybe try commenting out the RemoteIpValve in Tomcat and retest so you
can see exactly what headers Tomcat is seeing. Alternatively, since this
is over http, Wireshark or similar could help.
Mark
On 24/03/2023 10:29, Leon Rosenberg wrote:
Hi,
we have following setup
apache 2.4 on a ubuntu
Hi,
I'm using the Redis Session Manager
(https://jitpack.io/p/ran-jit/TomcatClusterRedisSessionManager)
to replicate sessions in a Tomcat cluster.
When the Redis database is down, a 500 response is returned in every request.
In this case I would rather like to switch back to local session
пт, 24 мар. 2023 г. в 13:30, Leon Rosenberg :
>
> Hi,
>
> we have following setup
> apache 2.4 on a ubuntu host, in front of docker-container with tomcat9 (on
> same host).
> Connection is via apache mod_http/proxy.
>
> Internal IP of the host is 10.138.0.3 (where httpd and docker are running).
>
Full log output (dumping out headers, without the valve):
6049752 2023-03-24 14:07:59,749 [http-apr-8080-exec-13] INFO
n.a.c.extapi.ping.PingResource:38 - key: host; value: api.myhost.net
6049752 2023-03-24 14:07:59,749 [http-apr-8080-exec-13] INFO
n.a.c.extapi.ping.PingResource:38 - key:
yeah, interestingly enough removing ipvalve and adding access log magic,
puts the X-Forwarded-For in the localhost_access.log ... but strange
nevertheless.
On Fri, Mar 24, 2023 at 11:44 AM Mark Thomas wrote:
> Maybe try commenting out the RemoteIpValve in Tomcat and retest so you
> can see
Hi Konstantin,
Server version: Apache Tomcat/9.0.64
Server built: Jun 2 2022 19:08:46 UTC
Server number: 9.0.64.0
OS Name:Linux
OS Version: 5.4.0-1092-gcp
Architecture: amd64
JVM Version:1.8.0_332-b09
JVM Vendor: Temurin
kr
Leon
On Fri, Mar 24, 2023 at 1:17 PM
Greetings,
I am getting an unsatisfied link error when I start up tomcat. Here are
some of the specifics:
System: Ubuntu 20.04
Tomcat: 9.0.73
APR: 1.7.2
OpenSSL: 3.1.0
Any help you can offer is greatly appreciated!
Blake McBride
Here is catalina.out:
NOTE: Picked up JDK_JAVA_OPTIONS:
And if you dump out the headers and the value of
ServletRequest.getRemoteAddr() with (and without for completeness) the
RemoteIpValve ?
Mark
On 24/03/2023 14:09, Leon Rosenberg wrote:
Full log output (dumping out headers, without the valve):
6049752 2023-03-24 14:07:59,749