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-23 Thread Brian
-Original Message- From: Emmanuel Bourg Reply-To: Tomcat Users List Date: Tuesday, June 23, 2020 at 20:01 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

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-23 Thread Emmanuel Bourg
Le 24/06/2020 à 02:35, Brian a écrit : > Good news: I updated "/etc/tmpfiles.d/tomcat9.conf" (the file I created) with > the new value of 2770. Deleted all the logs inside "/val/log/tomcat9" and > restarted Ubuntu. "catalina.out" got created and populated. > Bad news: Then I deleted all the

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-23 Thread Brian
-Original Message- From: Emmanuel Bourg Reply-To: Tomcat Users List Date: Tuesday, June 23, 2020 at 19:02 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

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-23 Thread Emmanuel Bourg
Le 23/06/2020 à 19:48, Brian a écrit : > It seems that rsyslogd is still unable to deal with > "/var/log/tomcat9/catalina.out". > What could be wrong now? Do you have any ideas? I got the permissions wrong, the adm group is now allowed to write to /var/log/tomcat9 but not to enter it. Try

Re: broken pipe error keeps increasing open files

2020-06-23 Thread Ayub Khan
Chris, Yes we have nginx as reverse proxy, below is the nginx config. We notice this issue only when there is high number of requests, during non peak hours we do not see this issue. location /myapp/myservice{ #local machine proxy_pass http://localhost:8080;

Re: broken pipe error keeps increasing open files

2020-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ayub, On 6/23/20 16:23, Ayub Khan wrote: > I executed *sudo lsof -p $(cat /var/run/tomcat8.pid) *and I saw > the below output, some in CLOSE_WAIT and others in ESTABLISHED. If > there are 200 open file descriptors 160 are in CLOSE_WAIT state. >

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-23 Thread calder
I did this on my 18.04 [temporary test] system and it now works (catalina.out is written to) (the "ls" commands were for visual inspection on progress) calder@ren: ~$ sudo service tomcat9 stop calder@ren: ~$ sudo -u tomcat -g adm touch /var/log/tomcat9/catalina.out calder@ren: ~$ ls -l

Re: broken pipe error keeps increasing open files

2020-06-23 Thread Ayub Khan
Felix, I executed *sudo lsof -p $(cat /var/run/tomcat8.pid) *and I saw the below output, some in CLOSE_WAIT and others in ESTABLISHED. If there are 200 open file descriptors 160 are in CLOSE_WAIT state. When the count for CLOSE_WAIT increases I just have to restart tomcat. java65189

Re: Reason for failed POST to .../api/tokens in Tomcat 8 and 9?

2020-06-23 Thread Konstantin Kolinko
вт, 23 июн. 2020 г. в 20:08, Victor Norman : > > Cookie: > JSESSIONID=F61EBB3764D21F4A6161304BB9D820EF; > JSESSIONID=BA81E2D37D390F411711FAB57F5B8DBF 1) Having two session cookies is not a crime, but why? (It is not a cause of this issue. Just an odd configuration.) I see that when I go to

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-23 Thread Brian
-Original Message- From: Emmanuel Bourg Date: Monday, June 22, 2020 at 18:14 To: Tomcat Users List , Brian 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? Le 22/06/2020 à 18:43,

Re: Reason for failed POST to .../api/tokens in Tomcat 8 and 9?

2020-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Victor, On 6/23/20 13:08, Victor Norman wrote: > We are trying to upgrade a server that uses Guacamole / Tomcat7 on > Ubuntu 16.04 to Ubuntu 18.04 or 20.04 with Tomcat 8 or 9. > > You can try out the server yourself, by going to >

Reason for failed POST to .../api/tokens in Tomcat 8 and 9?

2020-06-23 Thread Victor Norman
Friends, We are trying to upgrade a server that uses Guacamole / Tomcat7 on Ubuntu 16.04 to Ubuntu 18.04 or 20.04 with Tomcat 8 or 9. You can try out the server yourself, by going to http://agora.cs.calvin.edu:8080/. Each time we get close to having it work, we see this error show up in the

RE: Tomcat Connector issue

2020-06-23 Thread George Stanchev
Is it possible something is wrong with the header values [Thu Jun 18 09:37:28.229 2020] [6060:2544] [debug] ajp_unmarshal_response::jk_ajp_common.c (799): (worker-local) Header[0] [Expires] = [19-Mar-1971 08:23:00 GMT] [Thu Jun 18 09:37:28.229 2020] [6060:2544] [debug]

RE: Tomcat Connector issue

2020-06-23 Thread George Stanchev
Thanks all for the responses. It is on AWS VM machine that I don't have access to. I've googed the crap of x57 but besides some Bugzilla report from Adobe that seemed unrelated nothing good comes out of Google. x57 as Mark said is bad parameter and it is a generic error meaning either the

Re: Tomcat Connector issue

2020-06-23 Thread Mark Thomas
On 23/06/2020 16:35, Christopher Schultz wrote: > > > On 6/23/20 11:32, Mark Thomas wrote: >> On 23/06/2020 16:20, Christopher Schultz wrote: >>> George, >>> >>> On 6/22/20 17:13, George Stanchev wrote: We are getting HSE_REQ_SEND_RESPONSE_HEADER failed with error=87 (0x0057) on a

Re: Tomcat Connector issue

2020-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 6/23/20 11:32, Mark Thomas wrote: > On 23/06/2020 16:20, Christopher Schultz wrote: >> George, >> >> On 6/22/20 17:13, George Stanchev wrote: >>> We are getting HSE_REQ_SEND_RESPONSE_HEADER failed with >>> error=87 (0x0057) on a 302

Re: Configuring external CGI script in Tomcat 8.5

2020-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jean-Jierre, On 6/23/20 08:55, jean-pierre.urk...@devoteam.com.INVALID wrote: > Can anyone clarify on how to configure Tomcat 8.5 to serve an > external executable? The CGI-HowTo documentation is VERY unclear to > me. > > So let's say I have an

Re: Tomcat Connector issue

2020-06-23 Thread Mark Thomas
On 23/06/2020 16:20, Christopher Schultz wrote: > George, > > On 6/22/20 17:13, George Stanchev wrote: >> We are getting HSE_REQ_SEND_RESPONSE_HEADER failed with error=87 >> (0x0057) on a 302 redirect proxied by TC connector 1.2.46. > Windows error 0x0057 is ... "Cannot connect to

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-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Emmanuel, On 6/22/20 19:14, Emmanuel Bourg wrote: > 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 > >

Re: [OT] 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-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Emmanuel, On 6/22/20 16:36, Emmanuel Bourg wrote: > 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

Re: Tomcat Connector issue

2020-06-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 George, On 6/22/20 17:13, George Stanchev wrote: > We are getting HSE_REQ_SEND_RESPONSE_HEADER failed with error=87 > (0x0057) on a 302 redirect proxied by TC connector 1.2.46. Windows error 0x0057 is ... "Cannot connect to printer"??? I

Configuring external CGI script in Tomcat 8.5

2020-06-23 Thread jean-pierre . urkens
Can anyone clarify on how to configure Tomcat 8.5 to serve an external executable? The CGI-HowTo documentation is VERY unclear to me. So let's say I have an application installed under 'c:\myApp' that provides a CGI executable 'c:\myApp\cgi\myapp.exe' now how do I configure Tomcat to have

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-23 Thread Emmanuel Bourg
Le 23/06/2020 à 02:53, Brian a écrit : > Please do! It definitely looks like a bug. > I just reported the bug here: > https://bugs.launchpad.net/ubuntu/+source/tomcat9/+bug/1884591 I've just uploaded tomcat9/9.0.36-1 in Debian and changed the permissions [1] on the log directory. This will