Re: Tomcat 8 - Manager Deploy

2015-07-13 Thread Theo . Sweeny
##v1.0.0 Is there a reason why the version number is being omitted? From: Theo Sweeny/LGW/MILEAGE To: Tomcat Users List users@tomcat.apache.org, Date: 13/07/2015 08:33 Subject:Re: Tomcat 8 - Manager Deploy Hello Konstantin - thank you for the reply. So your deployment (upload

Re: Tomcat 8 - Manager Deploy

2015-07-13 Thread Theo . Sweeny
/manager/text/listOK - Listed applications for virtual host localhost /manager:running:4:manager /sample-1.0:running:0:sample-1.0##v1.0.0 Is there a reason why the version number is being omitted? From: Theo Sweeny/LGW/MILEAGE To: Tomcat Users List users@tomcat.apache.org, Date

Re: Command line requests for starting/reloading/stoping applications are not working in Tomcat 7.0.57 Manager

2015-07-14 Thread Theo . Sweeny
Hello Yudin - try using the -X GET option with curl E.G. curl --user OurName:OurSecurePasswd -X GET http://our.server.fqdn:8080/manager/text/stop?path=/docs Theo Sweeny Web Support Contractor T: 01293 722211 W: www.avios.com From: Yudin, Ilya yudi...@nytimes.com To: users

Re: Tomcat 8 - Manager Deploy

2015-07-14 Thread Theo . Sweeny
Hi Chris - I did search for the version tag but was unable to identify it in the Tomcat 8 documentation. Would you mind pointing me toward it please? From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org, Date: 13/07/2015 20:04 Subject:

Re: Tomcat 8 - Manager Deploy

2015-07-13 Thread Theo . Sweeny
Hello Konstantin - thank you for the reply. So your deployment (upload) was successful, but the application itself is broken and failed to start. If I take the same application and deploy it using deployOnStartup, it deploys and starts without issue. This removes the possibility of there

RE: /manager/text/list

2015-10-23 Thread Theo Sweeny
Hi Chris, -Original Message- From: Chris Gamache [mailto:cgama...@gmail.com] Sent: 22 October 2015 19:58 To: Tomcat Users List Subject: /manager/text/list Hi all, Using Tomcat 8 ... Has anyone noticed that /manager/text/list doesn't show version numbers when

Re: Tomcat 8 Rewrite Valve

2015-10-16 Thread Theo . Sweeny
After further investigation it was discovered that Tomcat with a Logback implementation is blocking the Rewrite Valve module, yet to decipher why? However - on a different Tomcat prototype running with the standard JULI logging, the rewrites worked as expected. From:

Tomcat 8 Rewrite Valve

2015-10-13 Thread Theo . Sweeny
Hello - I'm having issues implementing a HTTP 301 redirect via the Rewrite Valve module. Ref - https://tomcat.apache.org/tomcat-8.0-doc/rewrite.html Tomcat v8.021 is running on Ubuntu 14.04 x64. The requirement is to run the rewrite config globally for all webapps, for this reason the valve

Tomcat 8 - Manager Deploy

2015-07-10 Thread Theo . Sweeny
Hello - currently I'm running a multi instance Tomcat 8 server and wish to use Manager to deploy war files via its HTTP API command line interface. When attempting to deploy there is a continuous issue with the context path not being recognised. Here is an example of the command - curl -v -X

Tomcat 8 Session Timeout

2015-08-28 Thread Theo . Sweeny
Hello - currently HTTP sessions are configured to timeout after 120 seconds, in $CATALINA_BASE/conf/web.xml session-config session-timeout2/session-timeout /session-config However this is not being honoured by the web services, where many session are lasting longer. From what I

Re: Tomcat 8 Session Timeout

2015-09-01 Thread Theo . Sweeny
Hi Chris, That's pretty much it (except the path for the app's web.xml looks a little odd). We are running multi-instance environment and this is why the path is $CATALINA_BASE/conf/web.xml Are the web services specifying their own session-timeout in the application-specific web.xml? No the

Re: Tomcat 8 Session Timeout

2015-09-01 Thread Theo . Sweeny
Hi Mark Tomcat version? v8.0.21 The usual causes are: - something unexpected accessing the session - the background processing thread is crashed / busy doing something else Is there a command line mechanism to gracefully terminate sessions? Theo From: Mark Thomas

Re: Tomcat 8 Session Timeout

2015-09-01 Thread Theo . Sweeny
Mark - I took a look at the Manager How To Guide as seen here - https://tomcat.apache.org/tomcat-8.0-doc/manager-howto.html#Expire_Sessions It mentions that it's possible to expire sessions for each individual app using a command similar to - curl -X GET

Re: Tomcat 8 Session Timeout

2015-09-04 Thread Theo . Sweeny
Hi Chris - the servlet spec states "If the time out is 0 or less, the container ensures the default behavior of sessions is never to time out." Currently the timeout value is set to 2 minutes. However the problem is persisting - the environment is using Jersery Servlet 1.3 for REST. If we

Re: Tomcat 8 Session Timeout

2015-09-08 Thread Theo . Sweeny
Hi Chris - I added this value to the Engine container - backgroundProcessorDelay="20" This has made a big improvement - there is much more frequent clear down of the sessions. Is there a config setting for maximum session age? The reason for asking is that in a REST stateless environment

Re: Tomcat 8 Session Timeout

2015-09-03 Thread Theo . Sweeny
Thanks Chris - that pointer is very helpful. Can you clarify by setting session-timeout to 0, implies after 60 seconds the session will expire or does it imply the same as -1, that sessions will not timeout? 0 Theo From: Christopher Schultz To:

RE: Can tomcat serve MPI (parallel) applications?

2015-11-27 Thread Theo Sweeny
Hi Konstantin, -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: 27 November 2015 09:15 To: Tomcat Users List Subject: Re: Can tomcat serve MPI (parallel) applications? 2015-11-26 23:18 GMT+03:00 Martijn Slouter

Tomcat 8 Application dispatcherServlet Stats

2016-01-13 Thread Theo Sweeny
Hello - at the moment stats can be found for Tomcat 8 web services using the manager UI /manager/status/all Is the "Processing time" metric found under dispatcherServlet [ / ] subsection, the total time take to serve all requests, including the response time for each request? Regards, Theo

RE: Tomcat 8 Application dispatcherServlet Stats

2016-01-14 Thread Theo Sweeny
t controller(like Spring's DispatcherServlet), then this value is the total execution time of all request that the context receive. 2016-01-13 20:19 GMT+09:00 Theo Sweeny <theo.swe...@avios.com>: > Hello - at the moment stats can be found for Tomcat 8 web services > using the manager UI /manager/

RE: Tomcat 8 Application dispatcherServlet Stats

2016-01-14 Thread Theo Sweeny
"Processing time" include a time that is from the end of service method of servlet instance until the end of StandardWrapperValve#invoke(). 2016-01-14 17:27 GMT+09:00 Theo Sweeny <theo.swe...@avios.com>: > Hello Kyohei, > > -Original Message- > From: Kyohei Na

Tomcat 8 Chunked Encoding

2016-02-08 Thread Theo Sweeny
Hello All - I'm running Tomcat 8.0.21 on Linux 64x and there is a recent issue where clients making requests and declaring the header - Transfer-Encoding:chunked, have their connections hang, with no obvious leads in the logs. I'm aware that up to version 8.0.9 there was a Tomcat vulnerability

RE: Tomcat 8 Application dispatcherServlet Stats

2016-01-25 Thread Theo Sweeny
/25/16 4:12 AM, Theo Sweeny wrote: > Hi Chris - > > On 1/14/16 5:53 AM, Theo Sweeny wrote: >> Hello Kyohei, >> >> -Original Message- From: Kyohei Nakamura >> [mailto:nakamura.kyohei@gmail.com] Sent: 14 January 2016 >> 09:59 To: Tomcat Users List <

RE: Debugging Apache Tomcat

2016-02-25 Thread Theo Sweeny
Hi Chiranga, -Original Message- From: Chiranga Alwis [mailto:chirangaal...@gmail.com] Sent: 25 February 2016 07:03 To: Tomcat Users List Subject: Debugging Apache Tomcat Hi, please refer this post regarding Tomcat debugging issue:

RE: Tomcat 8 Application dispatcherServlet Stats

2016-01-25 Thread Theo Sweeny
Hi Chris - On 1/14/16 5:53 AM, Theo Sweeny wrote: > Hello Kyohei, > > -Original Message- > From: Kyohei Nakamura [mailto:nakamura.kyohei@gmail.com] > Sent: 14 January 2016 09:59 > To: Tomcat Users List <users@tomcat.apache.org> > Subject: Re: Tomcat 8 Ap

Tomcat 8 Shared cCassloader

2016-03-10 Thread Theo Sweeny
Hello - I've recently noticed that there is no reference to shared.loader in this Tomcat How To guide seen here - https://tomcat.apache.org/tomcat-8.0-doc/class-loader-howto.html Has the shared.loader property from within catalina.properties been deprecated? If so - should shared.loader

Re: Tomcat 8 Shared Classloader

2016-03-10 Thread Theo Sweeny
Hi Mark, From: Mark Thomas <ma...@apache.org> Sent: 10 March 2016 10:22 To: Tomcat Users List Subject: Re: Tomcat 8 Shared cCassloader On 10/03/2016 10:19, Theo Sweeny wrote: > Hello - I've recently noticed that there is no reference to shar

Re: Starting and stopping contexts programmatically

2016-03-15 Thread Theo Sweeny
Hi James, From: Mark Thomas Sent: 15 March 2016 09:21 To: Tomcat Users List Subject: Re: Starting and stopping contexts programmatically On 15/03/2016 00:25, James H. H. Lampert wrote: > The only ways I know of to start and stop

Re: Tomcat 8 Hung State

2016-03-19 Thread Theo Sweeny
Hi Mark, From: Mark Thomas <ma...@apache.org> Sent: 17 March 2016 17:36 To: Tomcat Users List Subject: Re: Tomcat 8 Hung State On 17 March 2016 16:13:28 GMT+00:00, Theo Sweeny <theo.swe...@avios.com> wrote: >Hello - yesterday Tomcat 8 w

Tomcat 8 Hung State

2016-03-19 Thread Theo Sweeny
Hello - yesterday Tomcat 8 went into a hung state, because an external API went offline. Eventually the external service was restored but Tomcat was unable to recovery from it. When a new connection is sent to Tomcat the connection hangs as no additional thread can be allocated to the new

Tomcat 8 Connection Reset Issue

2016-03-24 Thread Theo Sweeny
Hello - we are running Tomcat v8.0.21 on RH7 with Java7. Recently we changed the datasource's to use connection pooling but as a result we are seeing connection timeouts in the logs as seen here - 2016-03-24 16:27:36,638 14321113 [http-nio-20180-exec-3] INFO

Re: Information about incident ID 2205106170494020972

2016-04-05 Thread Theo Sweeny
Hello Ivan, From: John D. Ament Sent: 05 April 2016 03:11 To: Tomcat Users List Subject: Re: Information about incident ID 2205106170494020972 Is it at all possible that you have some network level security that's blocking your

Re: Tomcat 8 Connection Reset Issue

2016-03-29 Thread Theo Sweeny
Hi Chris, From: Christopher Schultz <ch...@christopherschultz.net> Sent: 24 March 2016 19:42 To: Tomcat Users List Subject: Re: Tomcat 8 Connection Reset Issue -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Theo, On 3/24/16 1:19 PM, Theo Sweeny

Re: Tomcat 8 Connection Reset Issue

2016-03-30 Thread Theo Sweeny
Hi Chris, From: Christopher Schultz <ch...@christopherschultz.net> Sent: 29 March 2016 16:48 To: Tomcat Users List Subject: Re: Tomcat 8 Connection Reset Issue -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Theo, On 3/29/16 2:55 AM, Theo Sweeny