Re: Migrating Tomcat 8/9 and a single webapp to Java 17 disconfigures Tomcat logs

2023-09-29 Thread Alcides Moraes
Forgot to expand the webapps/WEB-INF/lib jars as well… root@8ad4f1dcd125:/usr/local/tomcat# find ./ -type f -name logging.properties ./conf/logging.properties ./webapps/corporativo-comum/WEB-INF/lib/org/springframework/boot/logging/java/logging.properties So there’s springboot's logging.propertie

Best way to *programmatically* detect that all webapps are fully deployed and running?

2023-09-29 Thread Bruno Melloni
On a tomcat server I have a number of REST services deployed as WARs. There are interdependencies and even applications on other servers that call them, so I really don't want to start calling services after starting Tomcat until every single webapp is fully up and running. Ideally, I would like

Re: Migrating Tomcat 8/9 and a single webapp to Java 17 disconfigures Tomcat logs

2023-09-29 Thread Alcides Moraes
Hi Christopher, Thanks for the suggestion, we do add some jars to Tomcat lib (mainly Prometheus, Hazelcast) I expanded every jar inside tomcat/lib and ran a find command. root@05ae85e03d7d:/# find ./ -type f -name logging.properties ./usr/local/tomcat/conf/logging.properties ./opt/java/openjdk/c

Re: stack traces from Tomcat 10.1.12

2023-09-29 Thread Tomás García
Hi Christopher, thank you for answering. Checking the thread id of the logs, all I can tell is that it looks these errors weren't coming from application-managed threads since they're in the shape of "http-nio-#port-exec-#number". There are application-managed threads but for doing async some sp

Re: stack traces from Tomcat 10.1.12

2023-09-29 Thread Christopher Schultz
Thomás, On 9/29/23 03:03, Tomás García wrote: I've noticed these stack traces happening in the same row with Tomcat 10.1.12, Java 17 and Spring Boot 3.1.3. I don't have a way to reproduce them unfortunately. I thought that it could be related to https://bz.apache.org/bugzilla/show_bug.cgi?id=672

Re: Migrating Tomcat 8/9 and a single webapp to Java 17 disconfigures Tomcat logs

2023-09-29 Thread Christopher Schultz
Alcides, On 9/28/23 14:55, Alcides Moraes wrote: Hello everyone, I’m new to the list even though I’ve been a Java web developer for many years, I’ve never had the need to post here, but this time I think I may have stumbled upon a bug, and nothing turns up online on this issue. We’re migrati

stack traces from Tomcat 10.1.12

2023-09-29 Thread Tomás García
Hi all, I've noticed these stack traces happening in the same row with Tomcat 10.1.12, Java 17 and Spring Boot 3.1.3. I don't have a way to reproduce them unfortunately. I thought that it could be related to https://bz.apache.org/bugzilla/show_bug.cgi?id=67235 but not sure. Sharing them here in ca