RE: Apache failed to initialize connector

2018-10-04 Thread Berneburg, Cris J. - US
Hi Gael >> >> >> On 03/10/18 12:28, Gael REYNOARD wrote: >> >> >>> Hello everybody, >> >> >>> >> >> >>> OS : Windows 7 Pro x64 >> >> >>> Tomcat : 8.5.31 >> >> >>> >> >> >>> On a test bench, I reboot Windows to test one of our C# >> applications. >> >> >>> Sometimes after starting the OS, my

Re: [EXTERNAL] Re: Tomcat custom location for configuration

2018-10-04 Thread Amit Pande
Thanks! I will take a detailed relook at using CATALINA_BASE and keep you posted. Also, since the "-config" option is there since 4.0.x time till now, would it be safe to assume that this option won't be deprecated since some users (admittedly not too many) might actually be using it? If it's

Re: TC 8.5 cachingAllowed=false ramifications?

2018-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Cris, On 10/4/18 09:54, Mark Thomas wrote: > On 04/10/18 14:41, Berneburg, Cris J. - US wrote: >> Hi Folks >> >> Anyone have advice on, experience with, or info about setting >> cachingAllowed=false? >> >> BACKGROUND: >> >> Our customer is

Re: Tomcat with half open tcp sockets

2018-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alex, On 10/3/18 20:25, Alex O'Ree wrote: > Thanks Chris. I ended up using aggressive read timeout values on > the Web service clients by adding properties to the binding > provider. Thing is, every jre version and soap attacks use > different

Re: [EXTERNAL] Re: Tomcat custom location for configuration

2018-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Amit, On 10/4/18 12:17, Amit Pande wrote: > Thanks! I will take a detailed relook at using CATALINA_BASE and > keep you posted. > > > Also, since the "-config" option is there since 4.0.x time till > now, would it be safe to assume that this

Re: Use existing CGI response for HTTP errors

2018-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 10/3/18 19:16, Daniel Becroft wrote: > Hi, > > We are setting up Tomcat 8 to use a CGI program (.exe, proprietary) > to generate and return various JSON responses. This all works fine > when the response is a HTTP 200. But, when an HTTP

RE: JasperException in production

2018-10-04 Thread Berneburg, Cris J. - US
Mark cjb> getting the dreaded JasperException in production. cjb> Don't know what changed to start causing this. Same cjb> thing happened in the test environment 9/4/18. We cjb> got around the problem in test by upgrading to Java cjb> 8u181 and Tomcat 8.5.30. cjb> cjb> JRE 8u171, 32 bit cjb>

Re: Tomcat with half open tcp sockets

2018-10-04 Thread Alex O'Ree
Sorry, mobile typo. Soap stack, as in cxf, axis, sun jaxws ri On Thu, Oct 4, 2018, 12:57 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Alex, > > On 10/3/18 20:25, Alex O'Ree wrote: > > Thanks Chris. I ended up using

Re: TC 8.5 cachingAllowed=false ramifications?

2018-10-04 Thread Mark Thomas
On 04/10/18 20:29, Berneburg, Cris J. - US wrote: > RAMBLE: The thing is, it worked in TC 6.0 but not 8.5. Is it possible a > major change in TC threading occurred, so the servlet returns the JSP > response before the Excel file is finished being generated by POI? No, > that's not it -

Re: Use existing CGI response for HTTP errors

2018-10-04 Thread Daniel Becroft
On Fri, Oct 5, 2018 at 3:12 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Daniel, > > On 10/3/18 19:16, Daniel Becroft wrote: > > Hi, > > > > We are setting up Tomcat 8 to use a CGI program (.exe, proprietary) > > to generate

RE: TC 8.5 cachingAllowed=false ramifications?

2018-10-04 Thread Berneburg, Cris J. - US
Thanks Mark cjb> Anyone have advice on, experience with, or cjb> info about setting cachingAllowed=false? cjb> [...] cjb> In our testing of TC 8.5.32 on Java 8u181, cjb> report output Excel files won't load cjb> (immediately). An error is displayed to cjb> the user. These Stack Overflow topics

Re: Load Balancing to Tomcat Workers

2018-10-04 Thread Rainer Jung
Just adding a bit below ... Am 03.10.2018 um 22:40 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Loai, On 10/3/18 16:07, Loai Abdallatif wrote: Hello, I have configures web server with jk load balancer to tomcat server (192.168.237.11) with two containers

Re: Load Balancing to Tomcat Workers

2018-10-04 Thread loai.abdallatif
Thanks very much Rainer . I will check deeply what you said . Thanks again  Sent from my Samsung Galaxy smartphone. Original message From: Rainer Jung Date: 10/4/18 10:35 AM (GMT+02:00) To: Tomcat Users List Subject: Re: Load Balancing to Tomcat Workers Just adding a bit

Customizable parallel deployment

2018-10-04 Thread Tomáš Bleša
As I understand tomcat documentation, parallel deployment is intended to be used to smoothly rollout new versions of webapp. I've looked in source code and it's written such that there is probably no way to custimize selection of proper context version. If session is invalid then newest version

Re: TC 8.5 cachingAllowed=false ramifications?

2018-10-04 Thread Mark Thomas
On 04/10/18 14:41, Berneburg, Cris J. - US wrote: > Hi Folks > > Anyone have advice on, experience with, or info about setting > cachingAllowed=false? > > BACKGROUND: > > Our customer is suddenly getting a JasperException in production. To solve, > we're planning to upgrade Tomcat to 8.5.x.

Re: Use existing CGI response for HTTP errors

2018-10-04 Thread Mark Thomas
On 04/10/18 00:16, Daniel Becroft wrote: > Hi, > > We are setting up Tomcat 8 to use a CGI program (.exe, proprietary) to > generate and return various JSON responses. This all works fine when the > response is a HTTP 200. But, when an HTTP error is returned (HTTP 4xx), > Tomcat is generating the

Re: StuckThreadDetectionValve with threads on IO

2018-10-04 Thread Mark Thomas
On 04/10/18 01:08, Behrooz Nobakht wrote: > [1] uses a time based threshold to mark a request thread as "stuck" above > the configured threshold. > > This is definitely useful, but maybe a thread is busy transferring a large > request (IO). This could become > a wrong conclusion for the thread to

Re: Apache failed to initialize connector

2018-10-04 Thread Gael REYNOARD
Thank you so much, I disabled the automatic start of Tomcat service, it is launched a little later by my program in C #. After 314 startups of the OS, I did not have any exceptions. I did not look well enough on the internet because I found this morning a post (

Re: JasperException in production

2018-10-04 Thread Mark Thomas
On 04/10/18 14:21, Berneburg, Cris J. - US wrote: > OK, now we're getting the dreaded JasperException in production. Don't know > what changed to start causing this. Same thing happened in the test > environment 9/4/18. We got around the problem in test by upgrading to Java > 8u181 and

TC 8.5 cachingAllowed=false ramifications?

2018-10-04 Thread Berneburg, Cris J. - US
Hi Folks Anyone have advice on, experience with, or info about setting cachingAllowed=false? BACKGROUND: Our customer is suddenly getting a JasperException in production. To solve, we're planning to upgrade Tomcat to 8.5.x. In our testing of TC 8.5.32 on Java 8u181, report output Excel

JasperException in production

2018-10-04 Thread Berneburg, Cris J. - US
OK, now we're getting the dreaded JasperException in production. Don't know what changed to start causing this. Same thing happened in the test environment 9/4/18. We got around the problem in test by upgrading to Java 8u181 and Tomcat 8.5.30. JRE 8u171, 32 bit Tomcat 6.0.32, 32 bit

Re: Customizable parallel deployment

2018-10-04 Thread Mark Thomas
On 04/10/18 13:24, Tomáš Bleša wrote: > As I understand tomcat documentation, parallel deployment is intended to be > used to smoothly rollout new versions of webapp. I've looked in source code > and it's written such that there is probably no way to custimize selection of > proper context

Re: [EXTERNAL] Re: Tomcat custom location for configuration

2018-10-04 Thread Mark Thomas
On 03/10/18 17:18, Amit Pande wrote: > Thank you so much, Mark! > > In our case, the server.xml contains some information which is generated run > time (pre-config before Tomcat is started) like the paths to key store and > trust store, cipher suites, etc. > > Also, we have an active-passive