Re: Using tomcat manager to deploy to several services

2018-12-05 Thread tomcat
On 05.12.2018 16:54, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Guido, On 12/5/18 10:46, Jäkel, Guido wrote: Does it really ? If some tomcat code is at that time processing a client POST request, which potentially modifies data on the server (or a back-end

Re: Using tomcat manager to deploy to several services

2018-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Guido, On 12/5/18 10:46, Jäkel, Guido wrote: >> Does it really ? If some tomcat code is at that time processing >> a client POST request, which potentially modifies data on the >> server (or a back-end database), is ditto tomcat code "informed" >>

RE: Using tomcat manager to deploy to several services

2018-12-05 Thread Jäkel , Guido
>Does it really ? If some tomcat code is at that time processing a client POST >request, >which potentially modifies data on the server (or a back-end database), is >ditto tomcat >code "informed" of the JVM shutdown, and does it have time to interrupt the >processing in >some

Re: Using tomcat manager to deploy to several services

2018-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frank, On 12/4/18 11:55, Frank Schullerer wrote: > After searching the web many many times and reading all this here, > it seems that there is no real good solution for this. What exactly is "this"? What problem are you having that needs a

Re: Using tomcat manager to deploy to several services

2018-12-05 Thread Mark Thomas
of coffee nearby. > >> >>> -Original Message----- >>> From: Frank Schullerer [mailto:schulle...@googlemail.com.INVALID] >>> Sent: Tuesday, December 04, 2018 4:06 PM >>> To: users@tomcat.apache.org >>> Subject: Re: Using tomcat manager to depl

Re: Using tomcat manager to deploy to several services

2018-12-05 Thread tomcat
ginal Message- From: Frank Schullerer [mailto:schulle...@googlemail.com.INVALID] Sent: Tuesday, December 04, 2018 4:06 PM To: users@tomcat.apache.org Subject: Re: Using tomcat manager to deploy to several services Hello, thanks for the answer. That is exactly the way how we do this today (all via

Re: Using tomcat manager to deploy to several services

2018-12-05 Thread Frank Schullerer
cember 04, 2018 4:06 PM > >To: users@tomcat.apache.org > >Subject: Re: Using tomcat manager to deploy to several services > > > >Hello, > > > >thanks for the answer. That is exactly the way how we do this today (all > >via a shell script and via Jenkins). Bu

RE: Using tomcat manager to deploy to several services

2018-12-05 Thread Jäkel , Guido
fail, one even need to SIGKILL the JVM. >-Original Message- >From: Frank Schullerer [mailto:schulle...@googlemail.com.INVALID] >Sent: Tuesday, December 04, 2018 4:06 PM >To: users@tomcat.apache.org >Subject: Re: Using tomcat manager to deploy to several services

Re: Using tomcat manager to deploy to several services

2018-12-04 Thread tomcat
On 04.12.2018 17:55, Frank Schullerer wrote: Hello @all, After searching the web many many times and reading all this here, it seems that there is no real good solution for this. In my example server.xml are 4 services but we have 25 and more to come. So we need maybe a management solution like

Re: Using tomcat manager to deploy to several services

2018-12-04 Thread Frank Schullerer
Hello @all, After searching the web many many times and reading all this here, it seems that there is no real good solution for this. In my example server.xml are 4 services but we have 25 and more to come. So we need maybe a management solution like the Tcat server or I don't know . That's a

Re: Using tomcat manager to deploy to several services

2018-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frank, On 12/4/18 06:09, Frank Schullerer wrote: > Thanks! > > Ok let me know if I can achive things in a better way. Now I have > a server.xml like this: > > name="Catalina"> defaultHost="localhost"> > > > keyAlias="" />

Re: Using tomcat manager to deploy to several services

2018-12-04 Thread Frank Schullerer
Hello, thanks for the answer. That is exactly the way how we do this today (all via a shell script and via Jenkins). But I thought the "official" way to start/stop/deploy/reload applications via e.g. "curl http://localhost:8080/manager/text/reload?... " is better Greetings Am Di., 4. Dez.

RE: Using tomcat manager to deploy to several services

2018-12-04 Thread Jäkel , Guido
Dear Frank, I guess you have configured autodeployment of the WARs. And it seems to me that you want to use a tree in a filesystem to place your deployments. Given that, you may use an arbitrary way to place the WARs to that location, because it's not the Tomcat Manager application that

Re: Using tomcat manager to deploy to several services

2018-12-04 Thread Frank Schullerer
Thanks! Ok let me know if I can achive things in a better way. Now I have a server.xml like this: Please note that we need different ports and different configurations (like clientAuth or keyAlias) for the applications. If there is a better way and

Re: Using tomcat manager to deploy to several services

2018-12-04 Thread Mark Thomas
On 04/12/2018 10:19, Frank Schullerer wrote: > Hello, > > I think this question is independent from the tomcat version but I tried it > with Tomcat 9.0.13 on Windows. > We have several "service" tags in our server.xml because we have several > applications > running in one tomcat with several

Re: Using tomcat manager to deploy to several services

2018-12-04 Thread tomcat
On 04.12.2018 11:19, Frank Schullerer wrote: Hello, I think this question is independent from the tomcat version but I tried it with Tomcat 9.0.13 on Windows. We have several "service" tags in our server.xml because we have several applications running in one tomcat with several ports and

Using tomcat manager to deploy to several services

2018-12-04 Thread Frank Schullerer
Hello, I think this question is independent from the tomcat version but I tried it with Tomcat 9.0.13 on Windows. We have several "service" tags in our server.xml because we have several applications running in one tomcat with several ports and different configuration (clientAuth etc). I tried to