Re: File "catalina.out" not being created/populated when using Tomcat 9.0.31 + Ubuntu 20.04, and content goes to the Ubuntu syslog instead?

2020-06-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brian, On 6/22/20 12:43, Brian wrote: > > -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 > > Brian, > > On 6/22/20 02:04, Brian wrote: >>  Hello, >> >> I have been using Tomcat for about 18 years. As far as I can >> remember, everything that I

Re: File "catalina.out" not being created/populated when using Tomcat 9.0.31 + Ubuntu 20.04, and content goes to the Ubuntu syslog instead?

2020-06-22 Thread Emmanuel Bourg
Le 22/06/2020 à 18:43, Brian a écrit : > I'm not really an expert with Linux. It would seem to me that the "adm" group > (to which syslog seems to belong) lacks a write permission Indeed, rsyslog in Ubuntu runs as syslog:adm and needs special permissions to write to /var/log/tomcat9. This issue

Re: Strange crash-on-takeoff, Tomcat 7.0.104

2020-06-22 Thread calder
On Mon, Jun 22, 2020, 11:56 James H. H. Lampert wrote: > On 6/20/20 8:41 AM, Mark Thomas wrote: > > > 7.0.105 hasn't been released yet. You can use catalina.sh from 7.0 > > 103 or the latest version from source control. > > Where would I find "the latest version from source control"? >

Re: File "catalina.out" not being created/populated when using Tomcat 9.0.31 + Ubuntu 20.04, and content goes to the Ubuntu syslog instead?

2020-06-22 Thread Emmanuel Bourg
Le 22/06/2020 à 10:44, calder a écrit : > However, this is one reason we do not use "distro-specific" Tomcat > installations (to include implementations of WebSphere and WebLogic). > . > For example, we grab the plain vanilla Tomcat ZIP and extract it to "/opt/" > (as in "/opt/tomcat/") - we now

Tomcat Connector issue

2020-06-22 Thread George Stanchev
We are getting HSE_REQ_SEND_RESPONSE_HEADER failed with error=87 (0x0057) on a 302 redirect proxied by TC connector 1.2.46. I can see the 302 response come over from TC and it looks legit. Trace logs below. Anyone else running into a similar error or perhaps some clue as to why this can be

Re: File "catalina.out" not being created/populated when using Tomcat 9.0.31 + Ubuntu 20.04, and content goes to the Ubuntu syslog instead?

2020-06-22 Thread Emmanuel Bourg
Le 22/06/2020 à 20:03, Christopher Schultz a écrit : > It looks like whoever is responsible for packing Tomcat for Ubuntu has > something missing, there. I suggest you file a bug with Ubuntu. That must be me :) I'll get a look. Emmanuel Bourg

Re: File "catalina.out" not being created/populated when using Tomcat 9.0.31 + Ubuntu 20.04, and content goes to the Ubuntu syslog instead?

2020-06-22 Thread Brian
-Original Message- From: Emmanuel Bourg Reply-To: Tomcat Users List Date: Monday, June 22, 2020 at 15:36 To: "users@tomcat.apache.org" Subject: Re: File "catalina.out" not being created/populated when using Tomcat 9.0.31 + Ubuntu 20.04, and content goes to the Ubuntu syslog instead?

Re: broken pipe error keeps increasing open files

2020-06-22 Thread Ayub Khan
Chris, I am using HikariCP for connection pooling. If the database is leaking connections then I should see connection not available exception. How do I find out which file descriptors are leaking ? these are not files open on disk as there is no explicit disk file I/O in this application. I

RE: Issue found during migration of Tomcat version 6.0.35 to 8.5.5

2020-06-22 Thread Lavitesh Verma
Hi John, We didn't use woodstox previously in our application and after we updated tomcat to version 8.5.5 we are getting this issue. We were able to resolve the issue by adding "wstx-asl-2.9.1.jar" to the application, could you please confirm if this is the recommended fix for this issue.

Re: Connection Closure due to Fatal Stream with HTTP2

2020-06-22 Thread Chirag Dewan
Hi, Update: We found that Tomcat goes OOM when a client closes and opens new connections every second. In the memory dump, we see a lot of RequestInfo objects that are causing the memory spike. After a while, Tomcat goes OOM and start rejecting request(I get a request timed out on my client).

Re: broken pipe error keeps increasing open files

2020-06-22 Thread Felix Schumacher
Am 22.06.20 um 11:41 schrieb Ayub Khan: > Chris, > > I am using HikariCP for connection pooling. If the database is leaking > connections then I should see connection not available exception. > > How do I find out which file descriptors are leaking ?  these are not files > open on disk as there

Re: broken pipe error keeps increasing open files

2020-06-22 Thread Ayub Khan
Felix, I executed ls -l /proc/$(cat /var/run/tomcat8.pid)/fd/ and from the output I see majority of them are related to sockets as shown below, some of them point to the jar file of tomcat and others to the log file which is created. socket:[2084570754] socket:[2084579487]

Re: File "catalina.out" not being created/populated when using Tomcat 9.0.31 + Ubuntu 20.04, and content goes to the Ubuntu syslog instead?

2020-06-22 Thread calder
On Mon, Jun 22, 2020, 01:04 Brian wrote [ snip ] - For some reason, the people at Ubuntu/Debian/Linux decided that Tomcat's > log should be found inside syslog, instead of staying independent inside > "catalina.out". Why is that? I don't know and I don't like it! [ snip ] . Sorry - don't have

File "catalina.out" not being created/populated when using Tomcat 9.0.31 + Ubuntu 20.04, and content goes to the Ubuntu syslog instead?

2020-06-22 Thread Brian
 Hello, I have been using Tomcat for about 18 years. As far as I can remember, everything that I leave on the log with System.out.println() has been found inside the file "catalina.out" which has been nice. However, this seems to have changed. I just migrated to Ubuntu 20.04 + Tomcat 9.0.31,

Re: broken pipe error keeps increasing open files

2020-06-22 Thread Felix Schumacher
Am 22.06.20 um 13:22 schrieb Ayub Khan: > Felix, > > I executed ls -l /proc/$(cat /var/run/tomcat8.pid)/fd/ and from the output > I see majority of them are related to sockets as shown below, some of them > point to the jar file of tomcat and others to the log file which is created. > >

Re: File "catalina.out" not being created/populated when using Tomcat 9.0.31 + Ubuntu 20.04, and content goes to the Ubuntu syslog instead?

2020-06-22 Thread Chris Cheshire
> On Jun 22, 2020, at 4:44 AM, calder wrote: > > On Mon, Jun 22, 2020, 01:04 Brian wrote > > [ snip ] > > - For some reason, the people at Ubuntu/Debian/Linux decided that Tomcat's >> log should be found inside syslog, instead of staying independent inside >> "catalina.out". Why is that?

Re: users Digest 22 Jun 2020 10:06:54 -0000 Issue 13885

2020-06-22 Thread Richard Huntrods
Brian & Calder, On 6/22/2020 3:06 AM, users-digest-h...@tomcat.apache.org wrote: On Mon, Jun 22, 2020, 01:04 Brian wrote [ snip ] - For some reason, the people at Ubuntu/Debian/Linux decided that Tomcat's log

Re: File "catalina.out" not being created/populated when using Tomcat 9.0.31 + Ubuntu 20.04, and content goes to the Ubuntu syslog instead?

2020-06-22 Thread Brian
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brian, On 6/22/20 02:04, Brian wrote: >  Hello, > > I have been using Tomcat for about 18 years. As far as I can > remember, everything that I leave on the log with > System.out.println() has been found inside

Re: Strange crash-on-takeoff, Tomcat 7.0.104

2020-06-22 Thread James H. H. Lampert
On 6/20/20 8:41 AM, Mark Thomas wrote: 7.0.105 hasn't been released yet. You can use catalina.sh from 7.0 103 or the latest version from source control. Where would I find "the latest version from source control"? -- JHHL -

Re: Issue found during migration of Tomcat version 6.0.35 to 8.5.5

2020-06-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Lavitesh, On 6/22/20 07:12, Lavitesh Verma wrote: > We didn’t use woodstox previously in our application and after we > updated tomcat to version 8.5.5 we are getting this issue. > > We were able to resolve the issue by adding “wstx-asl-2.9.1.jar”

Re: broken pipe error keeps increasing open files

2020-06-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ayub, On 6/22/20 05:41, Ayub Khan wrote: > I am using HikariCP for connection pooling. If the database is > leaking connections then I should see connection not available > exception. That probably depends upon your connection pool configuration.

Re: File "catalina.out" not being created/populated when using Tomcat 9.0.31 + Ubuntu 20.04, and content goes to the Ubuntu syslog instead?

2020-06-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Brian, On 6/22/20 02:04, Brian wrote: >  Hello, > > I have been using Tomcat for about 18 years. As far as I can > remember, everything that I leave on the log with > System.out.println() has been found inside the file "catalina.out" > which has