Re: Managing Tomcat Webapps Traffic Access

2021-05-18 Thread Mar Sil
Hi Mark, I was away and that's why I did not provide an outcome. For whatever reason, despite following the steps you have provided, the foo.xml file was removed after the deployment. However, I did some work around it and added a piece of code on Puppet. So, this makes sure the file is always at

Re: Managing Tomcat Webapps Traffic Access

2021-05-12 Thread Mark Thomas
On 12/05/2021 10:06, Mar Sil wrote: Hi Mark, We use both methods, file system (as part of deployment via Jenkins) and Manager app when testing an application. In both cases, the foo.xml is deleted once an app is deployed. In regards to the settings for unpackWARs, we have the following.

Re: Managing Tomcat Webapps Traffic Access

2021-05-12 Thread Mar Sil
Hi Mark, We use both methods, file system (as part of deployment via Jenkins) and Manager app when testing an application. In both cases, the foo.xml is deleted once an app is deployed. In regards to the settings for unpackWARs, we have the following. Kind Regards, On Tue, 11 May 2021 at

Re: Managing Tomcat Webapps Traffic Access

2021-05-11 Thread Mark Thomas
On 11/05/2021 17:09, Mar Sil wrote: Hi Mark, We replace the war file while tomcat is running. We can't stop tomcat service while we deploy as there are multiple applications running in the same server. Just to be clear, you replace the WAR directly on the file system? You don't use the

Re: Managing Tomcat Webapps Traffic Access

2021-05-11 Thread Mar Sil
Hi Mark, We replace the war file while tomcat is running. We can't stop tomcat service while we deploy as there are multiple applications running in the same server. Thanks On Tue, 11 May 2021 at 16:50, Mark Thomas wrote: > How do you do the redploy? Do you simply replace the WAR? While Tomcat

Re: Managing Tomcat Webapps Traffic Access

2021-05-11 Thread Mark Thomas
How do you do the redploy? Do you simply replace the WAR? While Tomcat is running or while it is shutdown? Mark On 11/05/2021 16:40, Mar Sil wrote: Hello Mark, Thanks for your email. I have tried the option mentioned and the restriction to the application worked. However, when I tried to

Re: Managing Tomcat Webapps Traffic Access

2021-05-11 Thread Mar Sil
Hello Mark, Thanks for your email. I have tried the option mentioned and the restriction to the application worked. However, when I tried to redeploy the war file, the 'foo.xml' was removed. So, this leads me to the conclusion a foo.xml file will need to be added every time there is a new

Re: Managing Tomcat Webapps Traffic Access

2021-05-10 Thread Mark Thomas
On 10/05/2021 17:32, Christopher Schultz wrote: CidinhaDev, On 5/10/21 09:46, Mar Sil wrote: Hello, I am using Apache Tomcat 9.0.45, running on CentOS 7 server. On this server I have a couple of applications (apis mostly) that need to have the access restricted to 2 specific servers. SERVER A 

Re: Managing Tomcat Webapps Traffic Access

2021-05-10 Thread Christopher Schultz
CidinhaDev, On 5/10/21 09:46, Mar Sil wrote: Hello, I am using Apache Tomcat 9.0.45, running on CentOS 7 server. On this server I have a couple of applications (apis mostly) that need to have the access restricted to 2 specific servers. SERVER A<--> api call <-->TOMCAT SERVER

Managing Tomcat Webapps Traffic Access

2021-05-10 Thread Mar Sil
Hello, I am using Apache Tomcat 9.0.45, running on CentOS 7 server. On this server I have a couple of applications (apis mostly) that need to have the access restricted to 2 specific servers. SERVER A<--> api call <-->TOMCAT SERVER - OK 200 SERVER B <--> api call