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

2023-09-30 Thread Bruno Melloni
/2023 7:42 AM, Mark Thomas wrote: On 29/09/2023 20:20, Bruno Melloni wrote: 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 T

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: How to have a custom classloader outside Tomcat's own lib-dir?

2023-04-17 Thread BRUNO MELLONI
Perhaps this info will help: - Custom class loaders are supposed to be possible but very poorly documented. I was never able to make them work properly. You might have some luck if you study the source code of Tomcat itself, as it does implement them. - Webapps really expect all custom libra

RE: Is Microsoft's spring-cloud-azure-starter-active-directory for Spring Boot 3 / Spring 6 compatible with Tomcat 10?

2023-04-14 Thread BRUNO MELLONI
Boot 3 / Spring 6 compatible with Tomcat 10? On 13/04/2023 22: 48, BRUNO MELLONI wrote: > After further research let me ask the question in a different way: > > > * Tomcat 10 is configured to do log4j2 logging. > * My log4j2 code works fine. > * Spring-cloud-azure-s

RE: Is Microsoft's spring-cloud-azure-starter-active-directory for Spring Boot 3 / Spring 6 compatible with Tomcat 10?

2023-04-13 Thread BRUNO MELLONI
adding some jars? b. From: Mark Thomas Sent: Tuesday, April 11, 2023 2:41 PM To: users@tomcat.apache.org Subject: Re: Is Microsoft's spring-cloud-azure-starter-active-directory for Spring Boot 3 / Spring 6 compatible with Tomcat 10? On 11/04/2023 20: 28, BRUNO MELLONI wrote: > I was

Is Microsoft's spring-cloud-azure-starter-active-directory for Spring Boot 3 / Spring 6 compatible with Tomcat 10?

2023-04-11 Thread BRUNO MELLONI
I was able to migrate applications to Spring Boot 3 / Spring 6 (standalone or running on Tomcat 10) so long as authentication was NOT through Azure AD. But when I tried to migrate applications that used Microsoft's spring-cloud-azure-starter-active-directory for authentication of 2-step authent

RE: Database connection pooling ..

2023-04-11 Thread BRUNO MELLONI
I used org.apache.commons.dbcp2.BasicDataSource as my default DataSource for over a decade in both Tomcat and standalone apps. Very reliable. I do remember that “permanently running” apps like a custom job scheduler that we run would occasionally require a restart, sometimes once a week or onc