Re: Problems with the most problematic of our Tomcat installations on IBM Midrange (cross-posted to Midrange and Tomcat Lists)

2024-07-24 Thread Christopher Schultz
James, On 7/24/24 18:07, James H. H. Lampert wrote: So what jobs are in the subsystem? You said "the Catalina job and its associated JVM job" but to me those are just a single job/process. Are they separate things in the IBM world? Thanks for your insights, Mr. Schultz. And yours, too, Herr H

Re: Problems with the most problematic of our Tomcat installations on IBM Midrange (cross-posted to Midrange and Tomcat Lists)

2024-07-24 Thread James H. H. Lampert
So what jobs are in the subsystem? You said "the Catalina job and its associated JVM job" but to me those are just a single job/process. Are they separate things in the IBM world? Thanks for your insights, Mr. Schultz. And yours, too, Herr Hoffmann. On an IBM Midrange box (AS/400, iSeries, wha

Re: Problems with the most problematic of our Tomcat installations on IBM Midrange (cross-posted to Midrange and Tomcat Lists)

2024-07-24 Thread Christopher Schultz
James, On 7/23/24 16:54, James H. H. Lampert wrote: On 7/23/24 1:25 PM, Christopher Schultz wrote: Thomas, Uh, "James." Thomas was someone who answered earlier. :| 2. What has to fit into that 7GiB private memory pool? Does it include any OS, or is it just the JVM itself? On an IBM Midr

Re: Problems with the most problematic of our Tomcat installations on IBM Midrange (cross-posted to Midrange and Tomcat Lists)

2024-07-23 Thread James H. H. Lampert
On 7/23/24 1:25 PM, Christopher Schultz wrote: Thomas, Uh, "James." Thomas was someone who answered earlier. 2. What has to fit into that 7GiB private memory pool? Does it include any OS, or is it just the JVM itself? On an IBM Midrange box, a private memory pool simply provides jobs in a

Re: Problems with the most problematic of our Tomcat installations on IBM Midrange (cross-posted to Midrange and Tomcat Lists)

2024-07-23 Thread Christopher Schultz
Thomas, On 7/23/24 13:44, James H. H. Lampert wrote: Ladies and Gentlemen: We still have a chronic Tomcat crashing problem at one of our installations. The weirdest thing about this is that while this is certainly *one* of our heaviest-usage installations, it's not *the* heaviest. We alre

AW: Problems with the most problematic of our Tomcat installations on IBM Midrange (cross-posted to Midrange and Tomcat Lists)

2024-07-23 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello James, > -Ursprüngliche Nachricht- > Von: James H. H. Lampert > Gesendet: Dienstag, 23. Juli 2024 19:44 > An: Midrange Systems Technical Discussion l...@lists.midrange.com>; Tomcat Users List > Betreff: Problems with the most problematic of our Tomcat inst

Problems with the most problematic of our Tomcat installations on IBM Midrange (cross-posted to Midrange and Tomcat Lists)

2024-07-23 Thread James H. H. Lampert
Ladies and Gentlemen: We still have a chronic Tomcat crashing problem at one of our installations. The weirdest thing about this is that while this is certainly *one* of our heaviest-usage installations, it's not *the* heaviest. We already have Tomcat shutting down and restarting itself every

Re: problems with partitioned cookies

2024-03-19 Thread Christopher Schultz
Holger, On 3/19/24 04:46, info@klawitter.de wrote: dang! I missed that while checking the changelog. Thanks for pointing out. I'm curious about CHIPS. It's still considered experimental and, honestly, every web browser on the planet is poised to use the equivalent of "partitioned cookies

Re: problems with partitioned cookies

2024-03-19 Thread info . asf
Hi Mark, dang! I missed that while checking the changelog. Thanks for pointing out. Regards, Holger Mark Thomas wrote (at 2024-03-18 17:03 +): > On 18/03/2024 15:16, info@klawitter.de wrote: > > > What am I doing wrong here? (Tomcat 9.0.82) > > https://tomcat.apache.org/tomcat-9.0-doc/

Re: problems with partitioned cookies

2024-03-18 Thread Mark Thomas
On 18/03/2024 15:16, info@klawitter.de wrote: What am I doing wrong here? (Tomcat 9.0.82) https://tomcat.apache.org/tomcat-9.0-doc/changelog.html Search for "partitioned" The problem is you are using Tomcat 9.0.82. Support for a default partitioned attribute wasn't added until 9.0.85.

problems with partitioned cookies

2024-03-18 Thread info . asf
Hi there, I have to make my webapp complying to CHIPS. For this I am trying to configure the CookieProcessor to allow partitioned cookies. For this I added a CookieProcessor directive to the context.xml like this: However tomcat complains about this with [Catalina-utility-1] org.apache.tomca

Re: Problems with cross app uploads (migrating from 9.0.35 to 9.0.84)

2024-01-16 Thread Christopher Schultz
Aryeh Friedman wrote: After upgrading the machine (brand new VM) from FreeBSD 12.X to 14.0-RELEASE, OpenJDK 8 to OpenJdk 21 and Tomcat 9.0.35 to 9.0.84 (copied the existing server.xml over) I am having problems with a servlet that has worked in the past that uploaded images from one app (which

Re: Problems with cross app uploads (migrating from 9.0.35 to 9.0.84)

2024-01-15 Thread Michael Osipov
Aryeh, a general advice: The current Tomcat ports on FreeBSD are a bit unfortunate since they don't motivate to use separate catalina bases. I do not recommend using it as-is. Leverage the multi-instance options provided by its rc script to split out and the do: > tomcat_{name}_enable="YES" > t

Re: Problems with cross app uploads (migrating from 9.0.35 to 9.0.84)

2024-01-11 Thread Konstantin Kolinko
чт, 11 янв. 2024 г. в 23:08, Aryeh Friedman : > [...] > Original code: > > Decode form > Save file to /tmp/[sessId]/[filename] > Move file from above to images app and rename the file from > /tmp/[sessId][filename] to [webapp dir]/images/[doc]/1.jpg (simelar if > it is org policy or a system wide o

Re: Problems with cross app uploads (migrating from 9.0.35 to 9.0.84)

2024-01-11 Thread Aryeh Friedman
r upgrading the machine (brand new VM) from FreeBSD 12.X to > > 14.0-RELEASE, OpenJDK 8 to OpenJdk 21 and Tomcat 9.0.35 to 9.0.84 > > (copied the existing server.xml over) I am having problems with a > > servlet that has worked in the past that uploaded images from one app > >

Re: Problems with cross app uploads (migrating from 9.0.35 to 9.0.84)

2024-01-11 Thread Christopher Schultz
Aryeh, On 1/10/24 17:48, Aryeh Friedman wrote: After upgrading the machine (brand new VM) from FreeBSD 12.X to 14.0-RELEASE, OpenJDK 8 to OpenJdk 21 and Tomcat 9.0.35 to 9.0.84 (copied the existing server.xml over) I am having problems with a servlet that has worked in the past that uploaded

Problems with cross app uploads (migrating from 9.0.35 to 9.0.84)

2024-01-10 Thread Aryeh Friedman
After upgrading the machine (brand new VM) from FreeBSD 12.X to 14.0-RELEASE, OpenJDK 8 to OpenJdk 21 and Tomcat 9.0.35 to 9.0.84 (copied the existing server.xml over) I am having problems with a servlet that has worked in the past that uploaded images from one app (which is re-installed on each

RE: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-12 Thread Mcalexander, Jon J.
ct: Re: Sharing catalina home among tomcat machines in a load > balanced environment gives problems with log files > > Jon, > > On 10/10/23 14:26, Mcalexander, Jon J. wrote: > > Could you have separate work folders but have the appbase be the in > > the shared f

Re: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-12 Thread Christopher Schultz
10, 2023 5:59 AM To: users@tomcat.apache.org Subject: Re: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files Mark, On 10/10/23 06:38, Mark Thomas wrote: Running multiple instances of Tomcat from the same CATALINA_BASE is totally unsupported.

RE: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread Mcalexander, Jon J.
> Sent: Tuesday, October 10, 2023 5:59 AM > To: users@tomcat.apache.org > Subject: Re: Sharing catalina home among tomcat machines in a load > balanced environment gives problems with log files > > Mark, > > On 10/10/23 06:38, Mark Thomas wrote: > > Running multip

Re: Problems with tomcat-users.xml

2023-10-10 Thread Mark Thomas
On 10/10/2023 13:03, Mark Linton wrote: Hello Tomcat users. Is there a forum (like a webpage that we can search for previous questions?)... lists.apache.org I am experiencing an issue with logging on to the manager and hosts webpage(s). What issue? Please see the tomcat-users.xml attache

Problems with tomcat-users.xml

2023-10-10 Thread Mark Linton
Hello Tomcat users. Is there a forum (like a webpage that we can search for previous questions?)... I am experiencing an issue with logging on to the manager and hosts webpage(s). Please see the tomcat-users.xml attached: *Tomcat-users.xml* http://tomcat.apache.org/xml"; xmlns:xs

Re: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread Giuseppe Sacco
Hello, Il giorno mar, 10/10/2023 alle 06.59 -0400, Christopher Schultz ha scritto: > Mark, > > On 10/10/23 06:38, Mark Thomas wrote: > > Running multiple instances of Tomcat from the same CATALINA_BASE is > > totally unsupported. This isn't one of those "We don't technically > > support that bu

Re: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread Christopher Schultz
Mark, On 10/10/23 06:38, Mark Thomas wrote: Running multiple instances of Tomcat from the same CATALINA_BASE is totally unsupported. This isn't one of those "We don't technically support that but you should be OK situations". This is one of the rare "You do that and it *will* break and you wil

Re: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread Mark Thomas
Running multiple instances of Tomcat from the same CATALINA_BASE is totally unsupported. This isn't one of those "We don't technically support that but you should be OK situations". This is one of the rare "You do that and it *will* break and you will be on your own when it does." situations.

Re: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread Giuseppe Sacco
Hello Peter, Il giorno mar, 10/10/2023 alle 11.21 +0200, l...@kreuser.name ha scritto: > Guiseppe, > > did you consider the separation of CATALINA_HOME and CATALINA_BASE. Look > at the RUNNING.txt file that describes the purpose... > > Plus some symbolic links that have the really common files l

Re: Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread logo
have both tomcat use it. In a test installation I only have some problems with log files, since they are shared and the tomcats write concurrently to the same files, overlapping their text. I set the property java.util.logging.config.file to a per tomcat properties file, and this works for some of

Sharing catalina home among tomcat machines in a load balanced environment gives problems with log files

2023-10-10 Thread Giuseppe Sacco
directory and have both tomcat use it. In a test installation I only have some problems with log files, since they are shared and the tomcats write concurrently to the same files, overlapping their text. I set the property java.util.logging.config.file to a per tomcat properties file, and this works for

Re: I forget: does Tomcat have any problems with *not* having a ROOT context?

2023-09-26 Thread Christopher Schultz
James, On 9/25/23 12:17, James H. H. Lampert wrote: I probably asked the question before, but does Tomcat have any problems with not having a ROOT context? I always run with a ROOT context just to be able to do things like provide custom responses with clients request /no-such-app

Re: I forget: does Tomcat have any problems with *not* having a ROOT context?

2023-09-25 Thread Mark Thomas
On 25/09/2023 17:17, James H. H. Lampert wrote: I probably asked the question before, but does Tomcat have any problems with not having a ROOT context? None I am aware of although there may be some edge cases. Past precedence is that any such edge cases would be treated as bugs and fixed in

Re: I forget: does Tomcat have any problems with *not* having a ROOT context?

2023-09-25 Thread Aryeh Friedman
On Mon, Sep 25, 2023 at 12:20 PM James H. H. Lampert wrote: > > I probably asked the question before, but does Tomcat have any problems > with not having a ROOT context? Not that I can tell and have been running in this mode for about 5 years now. -- Aryeh M. Friedman, Lead Develo

I forget: does Tomcat have any problems with *not* having a ROOT context?

2023-09-25 Thread James H. H. Lampert
I probably asked the question before, but does Tomcat have any problems with not having a ROOT context? -- James H. H. Lampert Touchtone Corporation - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-12 Thread Mark Thomas
On 12/01/2023 10:50, Simon Matter wrote: On 12/01/2023 05:08, Fedor Makarov wrote: lundase and vvsguiden webapps used on different domains My recommendation would be to configure Tomcat for virtual hosting as well. [1] For example, configure the following hosts in the local hosts file: lund

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-12 Thread Simon Matter
> On 12/01/2023 05:08, Fedor Makarov wrote: >> >> lundase and vvsguiden webapps used on different domains > > My recommendation would be to configure Tomcat for virtual hosting as > well. [1] > > For example, configure the following hosts in the local hosts file: > > lundase-local > vvsguiden-local

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-12 Thread Mark Thomas
On 12/01/2023 05:08, Fedor Makarov wrote: lundase and vvsguiden webapps used on different domains My recommendation would be to configure Tomcat for virtual hosting as well. [1] For example, configure the following hosts in the local hosts file: lundase-local vvsguiden-local Then the http

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-11 Thread Fedor Makarov
lundase and vvsguiden webapps used on different domains   <-->ServerName new.vvsguiden-dev.gridnine.com <-->ServerAlias localhost <-->ServerAdmin webmaster@localhost <-->DocumentRoot /var/www/html   <-->RewriteEngine on   <-->ProxyPreserveHost on                       Ord

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-10 Thread Mark Thomas
On 10/01/2023 04:37, Fedor Makarov wrote: Also I tried to write a filter to manually redirect, but tomcat intercepts the request before it gets into the filter. Can I disable this behavior for tomcat and do it manually? That isn't the way to solve this problem. The problem is in the reverse

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-09 Thread Fedor Makarov
Also I tried to write a filter to manually redirect, but tomcat intercepts the request before it gets into the filter. Can I disable this behavior for tomcat and do it manually?   >Понедельник, 9 января 2023, 11:43 +03:00 от Fedor Makarov >: >  > > >We have to webapps lundase and vvsguiden th

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-09 Thread Christopher Schultz
Fedor, On 1/9/23 03:43, Fedor Makarov wrote: We have to webapps lundase and vvsguiden therefore, the options you have suggested do not look applicable Why not? on debug I saw that RequestURI in request looks like lundase/lundase/... Probably because of this: >>> RewriteRule ^(.*)$ http://

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-09 Thread Fedor Makarov
We have to webapps lundase and vvsguiden therefore, the options you have suggested do not look applicable on debug I saw that RequestURI in request looks like lundase/lundase/...   >Вторник, 27 декабря 2022, 22:06 +03:00 от Christopher Schultz >: >  >Fedor, > >On 12/27/22 05:55, Fedor Makarov

RE: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-09 Thread alik alikov
We have to webapps lundase and vvsguiden therefore, the options you have suggested do not look applicable on debug I saw that RequestURI in request looks like lundase/lundase/... 27.12.2022, 22:07, Christopher Schultz < mailto:ch...@christopherschultz.net ch...@christopherschultz.net > Fedor, O

Re: Problems with requests without trailing slash Tomcat 9.0.65

2022-12-27 Thread Christopher Schultz
Fedor, On 12/27/22 05:55, Fedor Makarov wrote: proxy for local environment we use the js conf: proxy: {     '/api/': {       target: 'http://localhost:8080/',       changeOrigin: false,     },     '/': {       target: 'http://localhost:8080/lundase',       changeOrigin: false     }   }

Re: Problems with requests without trailing slash Tomcat 9.0.65

2022-12-27 Thread Fedor Makarov
"         import="com.gridnine.platform.common.lundase.model.content.*" %><% MetaVO meta = SiteMetadataHelper.getStaticMeta(MainSitePage.LUNDA_ONLINE); %>               >Вторник, 27 декабря 2022, 13:42 +03:00 от Mark Thomas : >  > >On 27/12/2022 06:25, Fedo

Re: Problems with requests without trailing slash Tomcat 9.0.65

2022-12-27 Thread Mark Thomas
On 27/12/2022 06:25, Fedor Makarov wrote: Tomcat 9.0.65 Hello I have some problems with redirects by requests without trailing slashes. When I try to get to the page for example: "about/page" tomcat understands that it is necessary to add a slash and adds it, however, he als

Problems with requests without trailing slash Tomcat 9.0.65

2022-12-26 Thread Fedor Makarov
  Tomcat 9.0.65 Hello I have some problems with redirects by requests without trailing slashes.   When I try to get to the page for example: "about/page" tomcat understands that it is necessary to add a slash and adds it, however, he also adds the name of the root folder to this, th

AW: problems with inclusion of jsp files since Tomcat 9.0.67

2022-10-05 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, its already addressed here: https://bz.apache.org/bugzilla/show_bug.cgi?id=66277 > -Ursprüngliche Nachricht- > Von: Sita Geßner > Gesendet: Mittwoch, 5. Oktober 2022 08:57 > An: users@tomcat.apache.org > Betreff: problems with inclusion of jsp files since Tomcat 9.

problems with inclusion of jsp files since Tomcat 9.0.67

2022-10-04 Thread Sita Geßner
Hello, since Tomcat 9.0.67 we have the following problem. With tomcat 9.0.65 everything works fine without a change. most of our jsp-files are placed in a subdirectory and include the following line. <%@ include file="../../includes/taglib.jsp" %> the taglib.jsp contains the following content

Re: native connector, server problems with "No data received", what could be causing it?

2020-12-18 Thread Mladen Adamović
On Thu, Dec 17, 2020 at 7:57 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > jstack isn't working? Hmm. Make sure that your jstack and Java binary > are the same version. If you are a different user you might have to > elevate privileges and/or use "jstack -F". > I have tried all

Re: native connector, server problems with "No data received", what could be causing it?

2020-12-17 Thread Christopher Schultz
Mladen, On 12/16/20 13:32, Mladen Adamović wrote: On Wed, Dec 16, 2020 at 7:07 PM Christopher Schultz mailto:ch...@christopherschultz.net>> wrote: I think your scripts will restart Tomcat even when it's not necessary. Hm, is this https://stackoverflow.com/questions/5816239/how-do-i-forc

Re: native connector, server problems with "No data received", what could be causing it?

2020-12-17 Thread Mladen Adamović
I have just updated to the latest Tomcat 9.0.41 It seems that the problem doesn't appear anymore. If I get it reappeared, I'll post new details to the Tomcat dev mailing list. On Thu, Dec 17, 2020 at 8:56 AM Mladen Adamović wrote: > I have these problems again. To narrow it down I have done th

Re: native connector, server problems with "No data received", what could be causing it?

2020-12-16 Thread Mladen Adamović
I have these problems again. To narrow it down I have done the following: - tested with the latest JDK8 - problem exists - it exists in both Apr connector and Nio2 connector - did log JVM Garbage Collector details - it's not due to Garbage collector Christopher (or anyone else), if we had 1570 req

Re: native connector, server problems with "No data received", what could be causing it?

2020-12-16 Thread Mladen Adamović
On Wed, Dec 16, 2020 at 7:07 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > I think your scripts will restart Tomcat even when it's not necessary. > Hm, is this https://stackoverflow.com/questions/5816239/how-do-i-force-tomcat-to-reload-trusted-certificates the way to reload the

Re: native connector, server problems with "No data received", what could be causing it?

2020-12-16 Thread Christopher Schultz
Mladen, On 12/16/20 10:12, Mladen Adamović wrote: On Wed, Dec 16, 2020 at 3:27 PM Christopher Schultz mailto:ch...@christopherschultz.net>> wrote: > We have a self-monitoring script which runs on server and when the server > is not working properly it does a log save and the serv

Re: native connector, server problems with "No data received", what could be causing it?

2020-12-16 Thread Mladen Adamović
On Wed, Dec 16, 2020 at 3:27 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > > We have a self-monitoring script which runs on server and when the server > > is not working properly it does a log save and the service restart. > > How do you detect this state? Just make a request and

Re: native connector, server problems with "No data received", what could be causing it?

2020-12-16 Thread Christopher Schultz
Mladen, On 12/16/20 04:10, Mladen Adamović wrote: We have experienced a large number of HTTP requests with the problem "No data received". this is the example using curl: --2020-12-15 15:38:13-- https://www.numbeo.com/admin/DownloadLastDbBackupServlet?numbeoPass=xxx Loaded CA certificate '/etc/s

Re: Trying to chase down "too many connection" problems with DB

2018-03-28 Thread Phil Steitz
On 3/28/18 11:29 AM, Christopher Schultz wrote: > Phil, > > On 3/27/18 1:03 PM, Phil Steitz wrote: > > On 3/26/18 10:28 AM, Christopher Schultz wrote: > >> Shawn, > >> > >> On 3/25/18 12:17 AM, Shawn Heisey wrote: > >>> On 3/24/2018 5:04 PM, Mark Thomas wrote: > Regarding your configuration:

Re: Trying to chase down "too many connection" problems with DB

2018-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shawn, On 3/27/18 8:41 PM, Shawn Heisey wrote: > So now I have one person telling me that removeAbandoned DOES > close connections, and another saying that it does NOT close > connections. Is there a conflict here, or are both of these > statements

Re: Trying to chase down "too many connection" problems with DB

2018-03-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Phil, On 3/27/18 1:03 PM, Phil Steitz wrote: > On 3/26/18 10:28 AM, Christopher Schultz wrote: >> Shawn, >> >> On 3/25/18 12:17 AM, Shawn Heisey wrote: >>> On 3/24/2018 5:04 PM, Mark Thomas wrote: Regarding your configuration: >>> auth="Contai

Re: Trying to chase down "too many connection" problems with DB

2018-03-28 Thread Phil Steitz
On 3/27/18 5:41 PM, Shawn Heisey wrote: > On 3/27/2018 11:03 AM, Phil Steitz wrote: >> Not exactly, if what you are using is the DBCP pool.  To see the > The factory in use right now is > "org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory".  Information > gathered previously in this thread told me

Re: Trying to chase down "too many connection" problems with DB

2018-03-27 Thread Shawn Heisey
On 3/27/2018 11:03 AM, Phil Steitz wrote: > Not exactly, if what you are using is the DBCP pool.  To see the The factory in use right now is "org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory".  Information gathered previously in this thread told me that this is DBCP code, repackaged into the tom

Re: Trying to chase down "too many connection" problems with DB

2018-03-27 Thread Phil Steitz
On 3/26/18 10:28 AM, Christopher Schultz wrote: > Shawn, > > On 3/25/18 12:17 AM, Shawn Heisey wrote: > > On 3/24/2018 5:04 PM, Mark Thomas wrote: > >> Regarding your configuration: >> auth="Container" > >> factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" > >> driverClassName="com.mysq

Re: Trying to chase down "too many connection" problems with DB

2018-03-27 Thread tomcat
On 26.03.2018 23:36, Shawn Heisey wrote: On 3/26/2018 2:39 PM, André Warnier (tomcat) wrote: Just a question, more to satisfy my curiosity : when you have these hundreds of "pending" connections, in what state are they, TCP/IP-wise ? Not sure where you got "pending". I don't recall mentioning

Re: Trying to chase down "too many connection" problems with DB

2018-03-26 Thread Shawn Heisey
On 3/26/2018 2:39 PM, André Warnier (tomcat) wrote: > Just a question, more to satisfy my curiosity : when you have these > hundreds of "pending" connections, in what state are they, TCP/IP-wise ? Not sure where you got "pending".  I don't recall mentioning anything like that. The TCP state is ES

Re: Trying to chase down "too many connection" problems with DB

2018-03-26 Thread tomcat
Hi. A question at the end. On 26.03.2018 22:01, Shawn Heisey wrote: On 3/26/2018 11:28 AM, Christopher Schultz wrote: The pool doesn't kill abandoned connections. It simply removes them from the pool. Otherwise, you're right: you'd have torches and pitchforks everywhere. That is a key piece o

Re: Trying to chase down "too many connection" problems with DB

2018-03-26 Thread Shawn Heisey
On 3/26/2018 11:28 AM, Christopher Schultz wrote: > The pool doesn't kill abandoned connections. It simply removes them > from the pool. Otherwise, you're right: you'd have torches and > pitchforks everywhere. That is a key piece of information.  And it should have perhaps been obvious from the de

Re: Trying to chase down "too many connection" problems with DB

2018-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shawn, On 3/25/18 12:17 AM, Shawn Heisey wrote: > On 3/24/2018 5:04 PM, Mark Thomas wrote: >> Regarding your configuration: > auth="Container" >> factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" >> driverClassName="com.mysql.jdbc.Drive

Re: Trying to chase down "too many connection" problems with DB

2018-03-25 Thread Olaf Kock
Hi Shawn, only some aspects answered for now, inline: On 25.03.2018 19:31, Shawn Heisey wrote: On 3/25/2018 3:15 AM, Olaf Kock wrote: * Liferay comes (optionally) bundled with Tomcat to ease installation, however, the tomcat in there will be your own and is up to you to upgrade. Yes, new ver

Re: Trying to chase down "too many connection" problems with DB

2018-03-25 Thread Shawn Heisey
On 3/25/2018 3:15 AM, Olaf Kock wrote: * Liferay comes (optionally) bundled with Tomcat to ease installation, however, the tomcat in there will be your own and is up to you to upgrade. Yes, new versions of Liferay will come with new versions of Tomcat, but new versions of Liferay won't be relea

Re: Trying to chase down "too many connection" problems with DB

2018-03-25 Thread Olaf Kock
On 24.03.2018 05:08, Shawn Heisey wrote: This message is long.  Lots of details, a fair amount of history. The primary Tomcat version we've got is 7.0.42. Specifically, it is the Tomcat that's included with Liferay 6.2. This is why we haven't attempted an upgrade even though the version we'r

Re: Trying to chase down "too many connection" problems with DB

2018-03-24 Thread Shawn Heisey
On 3/24/2018 5:04 PM, Mark Thomas wrote: Regarding your configuration: Generally, that looks OK but I'd strongly recommend that you use "autoReconnect=false" in the URL. autoReconnect is known to be problematic with connection pools. The removeAbandonedTimeout looks low but if all the queries

Re: Trying to chase down "too many connection" problems with DB

2018-03-24 Thread Shawn Heisey
On 3/24/2018 5:04 PM, Mark Thomas wrote: There are two pools available. org.apache.tomcat.jdbc.pool.DataSourceFactory is a different pool developed in the Tomcat project (generally called JDBC pool). OK, so that means that the currently active config is using dbcp.  The *new* config that I'

Re: Trying to chase down "too many connection" problems with DB

2018-03-24 Thread Mark Thomas
On 24/03/18 22:28, Shawn Heisey wrote: > The factory we have now is > "org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory".  The factory in > the documentation, and what I put in the configuration I'm building, is > "org.apache.tomcat.jdbc.pool.DataSourceFactory". These are both in the > tomcat p

Re: Trying to chase down "too many connection" problems with DB

2018-03-24 Thread Shawn Heisey
On 3/24/2018 3:34 PM, Christopher Schultz wrote: Before we go too far, you have said: 1. You have 5 prod servers 2. They have several pools defined 3. The above is an example of a defined pool Just above, that configuration says maxActive=60. 5 * 60 = 300 connections. And that's just for one po

Re: Trying to chase down "too many connection" problems with DB

2018-03-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shawn, On 3/24/18 12:08 AM, Shawn Heisey wrote: > This message is long. Lots of details, a fair amount of history. Thanks for the back-story and the configurations. It really helps explain what is going on. > Here's a redacted configuration that

Re: Trying to chase down "too many connection" problems with DB

2018-03-24 Thread Shawn Heisey
On 3/24/2018 5:36 AM, Filippo Machi wrote: Hello Shawn, about this question, are you sure that none of the webapps running on those tomcats are connecting to the database without using the pools configured in the context.xml? Creating other pools or performing direct connections? That could expla

Re: Trying to chase down "too many connection" problems with DB

2018-03-24 Thread Filippo Machi
*1) I think this is the really burning question in my mind: Why is the server opening NEW connections when there are dozens of them already open? Does this mean that (as I suspect) all those connections are abandoned? If so, why are they not getting cleaned up, when we have removeAbandoned set to

Trying to chase down "too many connection" problems with DB

2018-03-23 Thread Shawn Heisey
This message is long.  Lots of details, a fair amount of history. The primary Tomcat version we've got is 7.0.42. Specifically, it is the Tomcat that's included with Liferay 6.2. This is why we haven't attempted an upgrade even though the version we're running is five years old -- we don't wan

Re: problems with tomcat 8.5.5

2018-02-23 Thread Lou DeGenaro
ok, i rebooted the linux box and no more exceptions. before that, maybe the service stop didn't stop the 8.5.5 tomcat? so when i tried to service start the 8.5.28 tomcat there were problems? i didn't go hunting for processes to see. nevertheless, all seems well now. thx! Lou. On Fri, Feb 23,

Re: problems with tomcat 8.5.5

2018-02-23 Thread logo
Lou, Am 2018-02-23 09:25, schrieb Lou DeGenaro: I've replaced tomcat 8.5.5 with 8.5.28. Now I see these exceptions in catalina.out: 22-Feb-2018 21:45:42.988 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal

Re: problems with tomcat 8.5.5

2018-02-23 Thread Lou DeGenaro
I've replaced tomcat 8.5.5 with 8.5.28. Now I see these exceptions in catalina.out: 22-Feb-2018 21:45:42.988 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not foun

Re: problems with tomcat 8.5.5

2018-02-22 Thread M. Manna
Can you please check the changelog for 8.5.x and see if this was fixed? Regards, On Thu, 22 Feb 2018 at 23:11, Lou DeGenaro wrote: > From catalina.out, NPE seems bad. Other log files have NPEs too. Need a > never version of tomcat? > > Thanks. > > Lou. > > - > > 22-Feb-2018 16:37:28.599 S

problems with tomcat 8.5.5

2018-02-22 Thread Lou DeGenaro
>From catalina.out, NPE seems bad. Other log files have NPEs too. Need a never version of tomcat? Thanks. Lou. - 22-Feb-2018 16:37:28.599 SEVERE [http-nio-8080-exec-29] org.apache.coyote.http11.Http11Processor.endRequest Error finishing response java.lang.NullPointerException 22-Feb-201

RE: urgent problems with tomcat release 8.5.4

2017-12-22 Thread CYAG (Johnny Chao Yang)
oblem:) Gratitude & have a nice weekend. :) Br/Johnny -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: 2017年12月22日 17:43 To: Tomcat Users List Subject: Re: urgent problems with tomcat release 8.5.4 2017-12-22 5:28 GMT+03:00 CYAG (Johnny Chao Yang) : >

RE: urgent problems with tomcat release 8.5.4

2017-12-22 Thread CYAG (Johnny Chao Yang)
Hello Konstantin, This is my first time to ask questions on this site. Thank you so much for your kindly help, it definitely solved my problem:) Gratitude & have a nice weekend. :) -Original Message- > Hello team, > > > Due to the tomcat 8.0 will closed to its support deadline, so we a

RE: urgent problems with tomcat release 8.5.4

2017-12-22 Thread CYAG (Johnny Chao Yang)
gent problems with tomcat release 8.5.4 2017-12-22 5:28 GMT+03:00 CYAG (Johnny Chao Yang) : > Hello team, > > > Due to the tomcat 8.0 will closed to its support deadline, so we are going to > upgrade our tomcat version from 8.0 to 8.5.4, as Apache tomcat official > website announc

Re: urgent problems with tomcat release 8.5.4

2017-12-22 Thread Konstantin Kolinko
2017-12-22 5:28 GMT+03:00 CYAG (Johnny Chao Yang) : > Hello team, > > > Due to the tomcat 8.0 will closed to its support deadline, so we are going to > upgrade our tomcat version from 8.0 to 8.5.4, as Apache tomcat official > website announced 8.5.x will not stop support so far, but the support t

urgent problems with tomcat release 8.5.4

2017-12-21 Thread CYAG (Johnny Chao Yang)
Hello team, Due to the tomcat 8.0 will closed to its support deadline, so we are going to upgrade our tomcat version from 8.0 to 8.5.4, as Apache tomcat official website announced 8.5.x will not stop support so far, but the support time decides which tomcat version is better for us to choose a

Re: Problems with tomcat 9 http/2 configuration

2017-01-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/25/17 5:14 PM, Mark Thomas wrote: > On 25/01/2017 22:11, Zigarelli, Michael wrote: >> Hi, >> >> >> I am unable to configure tomcat 9.0.0.M17 for http/2 support. My >> connector for port 8443 has been uncommented and the necessary >> cer

Re: Problems with tomcat 9 http/2 configuration

2017-01-25 Thread Mark Thomas
On 25/01/2017 22:11, Zigarelli, Michael wrote: > Hi, > > > I am unable to configure tomcat 9.0.0.M17 for http/2 support. My connector > for port 8443 has been uncommented and the necessary certificates were added > to it. I am receiving this error when I start my tomcat: Jan 25, 2017 4:28:21 >

Problems with tomcat 9 http/2 configuration

2017-01-25 Thread Zigarelli, Michael
Hi, I am unable to configure tomcat 9.0.0.M17 for http/2 support. My connector for port 8443 has been uncommented and the necessary certificates were added to it. I am receiving this error when I start my tomcat: Jan 25, 2017 4:28:21 PM org.apache.catalina.util.LifecycleBase handleSubClassExce

Re: Problems with SSL configuration

2016-11-15 Thread Mark Thomas
On 16/11/2016 00:47, Steve Willett wrote: > I am trying to set up a stand-alone Tomcat server (apparently 7.0.53). > When I set up a simple Connector on port 8443 (no specified ciphers, and > a simple sslProtocol="TLS") using a DigiCert Certificate I can connect. > > However, if I test it with Qu

RE: Problems with SSL configuration

2016-11-15 Thread John.E.Gregg
...@yoursportsleague.com<mailto:st...@yoursportsleague.com>] Sent: Tuesday, November 15, 2016 05:48 PM Central Standard Time To: users@tomcat.apache.org Subject: Problems with SSL configuration I am trying to set up a stand-alone Tomcat server (apparently 7.0.53). When I set up a simple Connector o

Problems with SSL configuration

2016-11-15 Thread Steve Willett
I am trying to set up a stand-alone Tomcat server (apparently 7.0.53). When I set up a simple Connector on port 8443 (no specified ciphers, and a simple sslProtocol="TLS") using a DigiCert Certificate I can connect. However, if I test it with QualSys, I get an F rating because of the accepted

Re: SSL problems with Tomcat 7.0.69

2016-06-22 Thread James Wiley
Mark, Thanks for the hint! I added the following line to my connector and it did the trick! ciphers="TLS_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CB

Re: SSL problems with Tomcat 7.0.69

2016-06-22 Thread Mark Thomas
On 22/06/2016 16:47, James Wiley wrote: > Hi Tomcat Users, > > Has anyone run into any issues supporting SSL using the JSSE Connector when > upgrading from 7.0.68 to 7.0.69? > > I help maintain a web application that uses tomcat7. A recent upgrade from > 7.0.68 to 7.0.69 has caused the tomcat7

SSL problems with Tomcat 7.0.69

2016-06-22 Thread James Wiley
Hi Tomcat Users, Has anyone run into any issues supporting SSL using the JSSE Connector when upgrading from 7.0.68 to 7.0.69? I help maintain a web application that uses tomcat7. A recent upgrade from 7.0.68 to 7.0.69 has caused the tomcat7 instance to throw an “Error during SSL Handshake” wi

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-28 Thread Christopher Schultz
Amit, On 10/28/15 1:18 PM, Amit Lonkar wrote: > Sorry for the delayed response. Here is the full stack trace. I was assuming > that my webapp would look in WEB-INF/lib for the ant jar and not in the > Tomcat/lib. Am I incorrect ?? There must be some component that is sure it wants to use the se

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-28 Thread Amit Lonkar
Sorry for the delayed response. Here is the full stack trace. I was assuming that my webapp would look in WEB-INF/lib for the ant jar and not in the Tomcat/lib. Am I incorrect ?? Thx Amit HTTP Status 500 - Servlet execution threw an exception type Exception report message Servlet execution thr

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-22 Thread Jins Abraham
M Sent from my iPhone > On Oct 15, 2015, at 10:15 AM, Amit Lonkar > wrote: > > Any ideas on this one? > > >> On Oct 5, 2015, at 5:11 PM, Amit Lonkar wrote: >> >> Hi Chris >> >> Any ideas why the Ant Task might be failing in Tomcat 8? >> Yes the application works on a clean fresh tomcat

Re: Class Loader Problems with Tomcat 8 + Ant Task

2015-10-22 Thread Christopher Schultz
Amit, On 10/16/15 3:44 PM, Amit Lonkar wrote: > Thanks Chris > > Tried two scenarios > > 1. Removed any tomcat-*.jar files from webapp/WEB-INF/lib folder. Also moved > ant-1.9.6.jar from webapp/WEB-INF/lib to catalina/lib. All works fine now. > > 2. Removed any tomcat-*.jar files from webapp/W

  1   2   3   4   5   6   7   8   9   >