Re: How can I extend AceessLogValue

2023-02-02 Thread Mark Thomas
On 02/02/2023 07:57, shallowinggg wrote: I want to print skywalking traceId in tomcat access log, how to extend AceessLogValue class or any other solutions?? Might be easier to put the traceId into a session or request attribute and then use the standard AccessLogValve functionality to log

Re: changes in Tomcat 10 break Spring Boot 3 executable JARs

2023-02-02 Thread Rémy Maucherat
On Tue, Jan 31, 2023 at 5:14 PM Garret Wilson wrote: > > I'm passing on an issue discussed on Spring Boot GitHub which may not > have been passed on to you. The main ticket is > https://github.com/spring-projects/spring-boot/issues/33633 . > > Spring Boot 3 executable JARs with Java 17 will break

Re: Message from a security scan

2023-02-02 Thread Mark Thomas
On 01/02/2023 21:51, James H. H. Lampert wrote: On 2/1/23 12:06 PM, Mark Thomas wrote: The pen tester requested "/app/..;/manager" The proxy passed that as is to Tomcat since it starts with "/app" Thanks. As it happens, this particular customer was the first one in which I tried putting

Re: How can I extend AceessLogValue

2023-02-02 Thread shallowinggg
traceId has in request header, but it is encrypted, I need to parse it. %{xxx}i can get header, but encrypted value > > 在 2023年2月2日,16:33,Mark Thomas 写道: > > On 02/02/2023 07:57, shallowinggg wrote: >> I want to print skywalking traceId in tomcat access log, how to extend >>

Re: Please help me install Tomcat

2023-02-02 Thread TRS-80
Amn Ojee Uw writes: > I've tried to install Tomcat, different version, like so : > /# Download the latest release of tomcat 10.1.5// > //wget > https://downloads.apache.org/tomcat/tomcat-8/v8.5.85/bin/apache-tomcat-8.5.85.tar.gz// > // > //# Create tomcat directory// > //sudo mkdir /opt/tomcat//

Re: Message from a security scan

2023-02-02 Thread James H. H. Lampert
That I was "shot down in flames" when I tried to get in from my Chromebook, through the hotspot on my cell phone, makes it unlikely that Tomcat is seeing a proxy IP, especially given that (as I understand it) I would have had to authorize the proxy IP to get in from my office IP, and I have no

Sending access logs to the syslog server

2023-02-02 Thread Devatha Naga Puneeth
Apache Tomcat Version : 9.0.65 How to send the access logs of tomcat to the syslog server through log4j.xml ? I have a root logger which is pointing to a syslog appender. But I was not able to see the access logs in the syslog server and was not able to see the logs related to server startup.