RE: Configuring log format for console output (catalina.out)

2019-05-21 Thread Jäkel , Guido
Dear Joan, by use of the common scripts, the file catalina.out will contain the console output (stdout/tderr) of the *JVM* process and -- if not configured in another way -- of the applications. Therefore, you have to deal with the features of output formatting of current JVMs. Or -- as me --

Re: Massive Startup Time after Server Reboot

2019-05-21 Thread Jerry Malcolm
It's currently automatic.  I'll try delayed-start tonight and see if there are changes. Thx On 5/21/2019 1:21 PM, Suvendu Sekhar Mondal wrote: Jerry, On Tue, May 21, 2019, 10:55 PM Jerry Malcolm Update I totally disabled Windows Real Time Virus protection. Apparently it was 'one' of the

Re: Massive Startup Time after Server Reboot

2019-05-21 Thread Suvendu Sekhar Mondal
Jerry, On Tue, May 21, 2019, 10:55 PM Jerry Malcolm Update I totally disabled Windows Real Time Virus protection. > Apparently it was 'one' of the problems. However... > > Original startup after reboot (with WIndows Real Time Virus scan) -- ~21 > minutes > > With Windows Real Time Virus sca

Re: Running sudo from a servlet

2019-05-21 Thread Claude Brisson
(responding to myself) The culprit is the option     NoNewPrivileges=true in the file /etc/systemd/system/multi-user.target.wants/tomcat8.service When changed to false, one must also call 'systemctl daemon-reload' and after a tomcat restart, the problem is solved.   Claude On 21/05/2019 1

Running sudo from a servlet

2019-05-21 Thread Claude Brisson
Hi all. I use tomcat 8.5.39 and java oracle 1.8.0_191 on linux (ubuntu 19.04). Tomcat was installed by apt-get and runs as a service. If I open a shell as the tomcat8 user, I can launch a Java program which successfully executes a sudo command in a sub-process. But from a Java servlet, the

Re: Massive Startup Time after Server Reboot

2019-05-21 Thread Jerry Malcolm
Update I totally disabled Windows Real Time Virus protection.  Apparently it was 'one' of the problems.  However... Original startup after reboot (with WIndows Real Time Virus scan) -- ~21 minutes With Windows Real Time Virus scan totally disabled immediately after reboot -- ~3 minutes

Re: distinction between resource charset and format octet decoding

2019-05-21 Thread Garret Wilson
Sorry to bring up the non-UTF-8 escaped octets form POST problem again, but … On 1/8/2019 3:57 PM, Mark Thomas wrote: … As of Servlet 4.0 there is a specification compliant configuration option to change this default to any encoding of your choice. Obviously, UTF-8 is one of the options. You

Re: Configuring log format for console output (catalina.out)

2019-05-21 Thread Joan
Thanks a lot for your answer Chris > > I am trying to forward the logs generated on a server to a > > centralized log collector (using rsyslog), one of the features I > > would like to use the ability to group messages by using their > > timestamp as the start of the message. By reading the docume

Re: Massive Startup Time after Server Reboot

2019-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 5/20/19 14:05, Jerry Malcolm wrote: > Andre, > > Your theory sounds like a real possibility. It would explain why > it only blows up the first time after a reboot. I'll test the > theory tonight during off-peak use hours for the web sit

Re: Configuring log format for console output (catalina.out)

2019-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Joan, On 5/21/19 09:11, Joan wrote: > Hi all, > > I am trying to forward the logs generated on a server to a > centralized log collector (using rsyslog), one of the features I > would like to use the ability to group messages by using their > times

Usage of Tomcat Logo combined with own logo.

2019-05-21 Thread bernd . schatz
Hi, We created a library that offers an easy integration in our internal oidc infrastructure. It is based on jaspic so it would work on any application server that support it, But we want to push the use of open source application server like tomcat Instead of closed source application server.

Configuring log format for console output (catalina.out)

2019-05-21 Thread Joan
Hi all, I am trying to forward the logs generated on a server to a centralized log collector (using rsyslog), one of the features I would like to use the ability to group messages by using their timestamp as the start of the message. By reading the documentation at https://tomcat.apache.org/tomcat

Re: Broken links to Logos on http://tomcat.apache.org/legal.html

2019-05-21 Thread Mark Thomas
On 21/05/2019 13:29, bernd.sch...@daimler.com wrote: > Hi, > > There are broken links to logos on the page > http://tomcat.apache.org/legal.html > > http://tomcat.apache.org/images/tomcat-power.gif > http://tomcat.apache.org/images/tomcat.gif > > Who has to be informed to fix it ? Any committer

Broken links to Logos on http://tomcat.apache.org/legal.html

2019-05-21 Thread bernd . schatz
Hi, There are broken links to logos on the page http://tomcat.apache.org/legal.html http://tomcat.apache.org/images/tomcat-power.gif http://tomcat.apache.org/images/tomcat.gif Who has to be informed to fix it ? Where can I get this logos ? -- Mit freundlichen Grüßen / Kind Regards/ नमस्ते(Namas

AsyncContext to closed connection reports no error??

2019-05-21 Thread Frits Jalvingh
Dear list, I have a problem with the asynchronous servlet support in Tomcat (on both 9.0.16 and 9.0.20). The issue is as follows. I have implemented a Servlet which will receive connections from a client program. The servlet will accept this connection and immediately calls request.startAsync(requ

Re: Tomcat Authentication + Spring Security J2EEPreAuthentication

2019-05-21 Thread Michael Osipov
Am 2019-05-20 um 21:35 schrieb Nacho Ganguli: My last attempt used Spring Security JEE pre-authentication filters. This works as I would like "provided" that I only use basic auth and tomcat's default realm (tomcat-users.xml). As soon as I introduce form-based auth, it does not work and I am pro