RE: Tomcat 9.0.73 - Exception while accessing application

2023-04-18 Thread jonmcalexander
Hi Christopher ,

Where was this change in functionality documented, please?

Thank you ,

Dream * Excel * Explore * Inspire
Jon McAlexander
Senior Infrastructure Engineer
Asst. Vice President
He/His

Middleware Product Engineering
Enterprise CIO | EAS | Middleware | Infrastructure Solutions

8080 Cobblestone Rd | Urbandale, IA 50322
MAC: F4469-010
Tel 515-988-2508 | Cell 515-988-2508

jonmcalexan...@wellsfargo.com
This message may contain confidential and/or privileged information. If you are 
not the addressee or authorized to receive this for the addressee, you must not 
use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation.


> -Original Message-
> From: Christopher Schultz 
> Sent: Monday, April 17, 2023 4:48 PM
> To: users@tomcat.apache.org
> Subject: Re: Tomcat 9.0.73 - Exception while accessing application
> 
> Jon,
> 
> On 4/13/23 17:57, jonmcalexan...@wellsfargo.com.INVALID wrote:
> > They are using Java 11.1
> 
> I wonder if you/they have a broken/mixed Tomcat installation.
> https://urldefense.com/v3/__https://github.com/apache/tomcat/blob/9.0.
> x/java/org/apache/catalina/core/ApplicationContext.java*L459__;Iw!!F9svG
> WnIaVPGSwU!ojzcWqxdHFnKdTAFNeLjjEHz-
> PBPgH8h0F2GT4mmGD2s0jJpNF5EqAoh0kXzJYDLbTnQIBFO8O8E8r32JZqbLCu
> QzDoElOv4$
> does indeed reference MessageBytes.EMPTY_CHAR_ARRAY which was
> added a few months ago to the MessageBytes class.
> 
> If you have some kind of mixed jumble of libraries from Tomcat then you
> could have a situation where ApplicationContext has new code but
> MessageBytes for some reason has old code.
> 
> I would recommend repairing your Tomcat installation.
> 
> -chris
> 
> > 
> > From: Christopher Schultz 
> > Sent: Thursday, April 13, 2023 1:11:15 PM
> > To: users@tomcat.apache.org 
> > Subject: Re: Tomcat 9.0.73 - Exception while accessing application
> >
> > Jon,
> >
> > On 4/12/23 17:38, jonmcalexan...@wellsfargo.com.INVALID wrote:
> >> And another app, different stack-trace, same
> java.lang.NoSuchFieldError: EMPTY_CHAR_ARRAY
> >
> > What version of Java are you using?
> >
> > -chris
> >
> >>
> >>
> >> 11-Apr-2023 12:38:44.264 SEVERE
> >> [https-jsse-nio-0.0.0.0-23601-exec-11]
> org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for
> servlet [F5 Mo nitoring.] in context with path [/accounts] threw exception
> [Servlet execution threw an exception] with root cause
> >>   java.lang.NoSuchFieldError: EMPTY_CHAR_ARRAY
> >>   at
> org.apache.catalina.core.ApplicationContext.getRequestDispatcher(Applicati
> onContext.java:459)
> >>   at
> org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(A
> pplicationContextFacade.java:215)
> >>   at
> com.wellsfargo.accounts.monitoring.F5Monitoring.doPost(F5Monitoring.jav
> a:38)
> >>   at
> com.wellsfargo.accounts.monitoring.F5Monitoring.doGet(F5Monitoring.java
> :33)
> >>   at 
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:502)
> >>   at 
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
> >>   at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
> lterChain.java:209)
> >>   at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
> n.java:153)
> >>   at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
> >>   at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
> lterChain.java:178)
> >>   at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
> n.java:153)
> >>   at
> com.wellsfargo.mwf.webappsupport.inlanguage.filter.InLanguageFilter.doFil
> ter(InLanguageFilter.java:49)
> >>   at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
> lterChain.java:178)
> >>   at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
> n.java:153)
> >>   at
> com.wellsfargo.mwf.webappsupport.devicedetection.DeviceDetection.doFil
> ter(DeviceDetection.java:151)
> >>   at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
> lterChain.java:178)
> >>   at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
> n.java:153)
> >>   at
> com.wellsfargo.mwf.webappsupport.security.SecurityCheck.doFilter(Securit
> yCheck.java:425)
> >>   at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
> lterChain.java:178)
> >>   at
> 

Re: [ANN] Apache Tomcat 9.0.74 available

2023-04-18 Thread Maxim Solodovnik
On Tue, 18 Apr 2023 at 20:40, Konstantin Kolinko  wrote:
>
> вт, 18 апр. 2023 г. в 16:27, Maxim Solodovnik :
> >
> > from mobile (sorry for typos ;)
> >
> >
> > On Tue, Apr 18, 2023, 20:16 Rémy Maucherat  wrote:
> >
> > > On Tue, Apr 18, 2023 at 2:05 PM Maxim Solodovnik 
> > > wrote:
> > > >
> > > > from mobile (sorry for typos ;)
> > > >
> > > >
> > > > On Tue, Apr 18, 2023, 18:58 Rémy Maucherat  wrote:
> > > >
> > > > > On Tue, Apr 18, 2023 at 1:49 PM Maxim Solodovnik  > > >
> > > > > wrote:
> > > > > >
> > > > > > Hello,
> > > > > >
> > > > > > For some reason there are no binary artifacts here:
> > > > > > https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.74 :(
> > > > >
> > > > > Please do not use the archive for regular downloads, you should use
> > > > > the cdn instead: https://tomcat.apache.org/download-90.cgi or
> > > > > https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.74/
> > > >
> > > >
> > > > I wasn't aware archived downloads are available via CDN, thanks for the
> > > > pointer!
> > > > I'll update our maven build
> > >
> > > Only the up to date build is available in the CDN. The archive has all
> > > older builds but uses the ASF bandwidth (and also needs more time to
> > > sync, it is not a bug).
> > >
> >
> > Actually binaries are available in archive since they are uploaded to
> > 'release' 
> >
> > (They are available now)
> >
> > Maven build should be reproducible, so the only option is to use archive
> > 
>
> If you look at "downloadzip-2" and similar targets in the build.xml
> file of Tomcat,
> and at the following lines in build.properties.default
>
> base-apache.loc.1=https://dlcdn.apache.org
> base-apache.loc.2=https://archive.apache.org/dist
>
> You can use it as an example. It tries to download dependencies from
> CDN first, and fallbacks to using the archive site.
>
> You can also download from Maven Central. Tomcat releases are also
> published there.

Many thanks for the pointer!
I'll update our build to use Maven Central!

>
> Best regards,
> Konstantin Kolinko
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>


-- 
Best regards,
Maxim

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Cluster Manager not working

2023-04-18 Thread Kevin Huntly
Hello,

I'm getting the following error message:

18-Apr-2023 10:56:55.404 INFO [main]
org.apache.catalina.startup.HostConfig.deployDescriptor Deploying
deployment descriptor
[/opt/Apache/tomcat/apache-tomcat-9.0.74/conf/Catalina/localhost/esolutions.xml]
18-Apr-2023 10:57:05.400 WARNING [main]
org.apache.catalina.ha.tcp.SimpleTcpCluster.registerManager Manager
[PersistentManager[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/esolutions]]]
does not implement ClusterManager, addition to cluster has been aborted.

I know it was mentioned to update my context.xml, and this is it:


















Kevin Huntly
Email: kmhun...@gmail.com
Cell: 716/424-3311


-BEGIN GEEK CODE BLOCK-
Version: 1.0
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
PGP++(+++) t+ 5-- X-- R+ tv+ b++  DI++ D++
G++ e(+) h--- r+++ y+++*
--END GEEK CODE BLOCK--


Re: [ANN] Apache Tomcat 9.0.74 available

2023-04-18 Thread Konstantin Kolinko
вт, 18 апр. 2023 г. в 16:27, Maxim Solodovnik :
>
> from mobile (sorry for typos ;)
>
>
> On Tue, Apr 18, 2023, 20:16 Rémy Maucherat  wrote:
>
> > On Tue, Apr 18, 2023 at 2:05 PM Maxim Solodovnik 
> > wrote:
> > >
> > > from mobile (sorry for typos ;)
> > >
> > >
> > > On Tue, Apr 18, 2023, 18:58 Rémy Maucherat  wrote:
> > >
> > > > On Tue, Apr 18, 2023 at 1:49 PM Maxim Solodovnik  > >
> > > > wrote:
> > > > >
> > > > > Hello,
> > > > >
> > > > > For some reason there are no binary artifacts here:
> > > > > https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.74 :(
> > > >
> > > > Please do not use the archive for regular downloads, you should use
> > > > the cdn instead: https://tomcat.apache.org/download-90.cgi or
> > > > https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.74/
> > >
> > >
> > > I wasn't aware archived downloads are available via CDN, thanks for the
> > > pointer!
> > > I'll update our maven build
> >
> > Only the up to date build is available in the CDN. The archive has all
> > older builds but uses the ASF bandwidth (and also needs more time to
> > sync, it is not a bug).
> >
>
> Actually binaries are available in archive since they are uploaded to
> 'release' 
>
> (They are available now)
>
> Maven build should be reproducible, so the only option is to use archive
> 

If you look at "downloadzip-2" and similar targets in the build.xml
file of Tomcat,
and at the following lines in build.properties.default

base-apache.loc.1=https://dlcdn.apache.org
base-apache.loc.2=https://archive.apache.org/dist

You can use it as an example. It tries to download dependencies from
CDN first, and fallbacks to using the archive site.

You can also download from Maven Central. Tomcat releases are also
published there.

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: [ANN] Apache Tomcat 9.0.74 available

2023-04-18 Thread Maxim Solodovnik
from mobile (sorry for typos ;)


On Tue, Apr 18, 2023, 20:16 Rémy Maucherat  wrote:

> On Tue, Apr 18, 2023 at 2:05 PM Maxim Solodovnik 
> wrote:
> >
> > from mobile (sorry for typos ;)
> >
> >
> > On Tue, Apr 18, 2023, 18:58 Rémy Maucherat  wrote:
> >
> > > On Tue, Apr 18, 2023 at 1:49 PM Maxim Solodovnik  >
> > > wrote:
> > > >
> > > > Hello,
> > > >
> > > > For some reason there are no binary artifacts here:
> > > > https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.74 :(
> > >
> > > Please do not use the archive for regular downloads, you should use
> > > the cdn instead: https://tomcat.apache.org/download-90.cgi or
> > > https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.74/
> >
> >
> > I wasn't aware archived downloads are available via CDN, thanks for the
> > pointer!
> > I'll update our maven build
>
> Only the up to date build is available in the CDN. The archive has all
> older builds but uses the ASF bandwidth (and also needs more time to
> sync, it is not a bug).
>

Actually binaries are available in archive since they are uploaded to
'release' 

(They are available now)

Maven build should be reproducible, so the only option is to use archive



> Rémy
>
> >
> > >
> > >
> > > Rémy
> > >
> > > >
> > > > from mobile (sorry for typos ;)
> > > >
> > > >
> > > > On Tue, Apr 18, 2023, 15:55 Rémy Maucherat  wrote:
> > > >
> > > > > The Apache Tomcat team announces the immediate availability of
> Apache
> > > > > Tomcat 9.0.74.
> > > > >
> > > > > Apache Tomcat 9 is an open source software implementation of the
> Java
> > > > > Servlet, JavaServer Pages, Java Unified Expression Language, Java
> > > > > WebSocket and JASPIC technologies.
> > > > >
> > > > > Apache Tomcat 9.0.74 is a bugfix and feature release. The notable
> > > > > changes compared to 9.0.73 include:
> > > > >
> > > > > - Correct a regression in the fix for bug 66442 that meant that
> streams
> > > > >without a response body did not decrement the active stream
> count
> > > > >when completing, leading to
> > > > >ERR_HTTP2_SERVER_REFUSED_STREAM for some connections.
> > > > >
> > > > > - Add an access log valve that uses a json format. Based on pull
> > > request
> > > > >#539 provided by Thomas Meyer.
> > > > >
> > > > > - Refactor synchronization blocks locking on SocketWrapper to use
> > > > >ReentrantLock to support users wishing to experiment with
> project
> > > Loom.
> > > > >
> > > > >
> > > > > Along with lots of other bug fixes and improvements.
> > > > >
> > > > > Please refer to the change log for the complete list of changes:
> > > > > https://tomcat.apache.org/tomcat-9.0-doc/changelog.html
> > > > >
> > > > >
> > > > > Downloads:
> > > > > https://tomcat.apache.org/download-90.cgi
> > > > >
> > > > > Migration guides from Apache Tomcat 7.x and 8.x:
> > > > > https://tomcat.apache.org/migration.html
> > > > >
> > > > > Enjoy!
> > > > >
> > > > > - The Apache Tomcat team
> > > > >
> > > > >
> -
> > > > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > > > > For additional commands, e-mail: users-h...@tomcat.apache.org
> > > > >
> > > > >
> > >
> > > -
> > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > > For additional commands, e-mail: users-h...@tomcat.apache.org
> > >
> > >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: [ANN] Apache Tomcat 9.0.74 available

2023-04-18 Thread Rémy Maucherat
On Tue, Apr 18, 2023 at 2:05 PM Maxim Solodovnik  wrote:
>
> from mobile (sorry for typos ;)
>
>
> On Tue, Apr 18, 2023, 18:58 Rémy Maucherat  wrote:
>
> > On Tue, Apr 18, 2023 at 1:49 PM Maxim Solodovnik 
> > wrote:
> > >
> > > Hello,
> > >
> > > For some reason there are no binary artifacts here:
> > > https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.74 :(
> >
> > Please do not use the archive for regular downloads, you should use
> > the cdn instead: https://tomcat.apache.org/download-90.cgi or
> > https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.74/
>
>
> I wasn't aware archived downloads are available via CDN, thanks for the
> pointer!
> I'll update our maven build

Only the up to date build is available in the CDN. The archive has all
older builds but uses the ASF bandwidth (and also needs more time to
sync, it is not a bug).

Rémy

>
> >
> >
> > Rémy
> >
> > >
> > > from mobile (sorry for typos ;)
> > >
> > >
> > > On Tue, Apr 18, 2023, 15:55 Rémy Maucherat  wrote:
> > >
> > > > The Apache Tomcat team announces the immediate availability of Apache
> > > > Tomcat 9.0.74.
> > > >
> > > > Apache Tomcat 9 is an open source software implementation of the Java
> > > > Servlet, JavaServer Pages, Java Unified Expression Language, Java
> > > > WebSocket and JASPIC technologies.
> > > >
> > > > Apache Tomcat 9.0.74 is a bugfix and feature release. The notable
> > > > changes compared to 9.0.73 include:
> > > >
> > > > - Correct a regression in the fix for bug 66442 that meant that streams
> > > >without a response body did not decrement the active stream count
> > > >when completing, leading to
> > > >ERR_HTTP2_SERVER_REFUSED_STREAM for some connections.
> > > >
> > > > - Add an access log valve that uses a json format. Based on pull
> > request
> > > >#539 provided by Thomas Meyer.
> > > >
> > > > - Refactor synchronization blocks locking on SocketWrapper to use
> > > >ReentrantLock to support users wishing to experiment with project
> > Loom.
> > > >
> > > >
> > > > Along with lots of other bug fixes and improvements.
> > > >
> > > > Please refer to the change log for the complete list of changes:
> > > > https://tomcat.apache.org/tomcat-9.0-doc/changelog.html
> > > >
> > > >
> > > > Downloads:
> > > > https://tomcat.apache.org/download-90.cgi
> > > >
> > > > Migration guides from Apache Tomcat 7.x and 8.x:
> > > > https://tomcat.apache.org/migration.html
> > > >
> > > > Enjoy!
> > > >
> > > > - The Apache Tomcat team
> > > >
> > > > -
> > > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > > > For additional commands, e-mail: users-h...@tomcat.apache.org
> > > >
> > > >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: [ANN] Apache Tomcat 9.0.74 available

2023-04-18 Thread Maxim Solodovnik
from mobile (sorry for typos ;)


On Tue, Apr 18, 2023, 18:58 Rémy Maucherat  wrote:

> On Tue, Apr 18, 2023 at 1:49 PM Maxim Solodovnik 
> wrote:
> >
> > Hello,
> >
> > For some reason there are no binary artifacts here:
> > https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.74 :(
>
> Please do not use the archive for regular downloads, you should use
> the cdn instead: https://tomcat.apache.org/download-90.cgi or
> https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.74/


I wasn't aware archived downloads are available via CDN, thanks for the
pointer!
I'll update our maven build

>
>
> Rémy
>
> >
> > from mobile (sorry for typos ;)
> >
> >
> > On Tue, Apr 18, 2023, 15:55 Rémy Maucherat  wrote:
> >
> > > The Apache Tomcat team announces the immediate availability of Apache
> > > Tomcat 9.0.74.
> > >
> > > Apache Tomcat 9 is an open source software implementation of the Java
> > > Servlet, JavaServer Pages, Java Unified Expression Language, Java
> > > WebSocket and JASPIC technologies.
> > >
> > > Apache Tomcat 9.0.74 is a bugfix and feature release. The notable
> > > changes compared to 9.0.73 include:
> > >
> > > - Correct a regression in the fix for bug 66442 that meant that streams
> > >without a response body did not decrement the active stream count
> > >when completing, leading to
> > >ERR_HTTP2_SERVER_REFUSED_STREAM for some connections.
> > >
> > > - Add an access log valve that uses a json format. Based on pull
> request
> > >#539 provided by Thomas Meyer.
> > >
> > > - Refactor synchronization blocks locking on SocketWrapper to use
> > >ReentrantLock to support users wishing to experiment with project
> Loom.
> > >
> > >
> > > Along with lots of other bug fixes and improvements.
> > >
> > > Please refer to the change log for the complete list of changes:
> > > https://tomcat.apache.org/tomcat-9.0-doc/changelog.html
> > >
> > >
> > > Downloads:
> > > https://tomcat.apache.org/download-90.cgi
> > >
> > > Migration guides from Apache Tomcat 7.x and 8.x:
> > > https://tomcat.apache.org/migration.html
> > >
> > > Enjoy!
> > >
> > > - The Apache Tomcat team
> > >
> > > -
> > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > > For additional commands, e-mail: users-h...@tomcat.apache.org
> > >
> > >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: [ANN] Apache Tomcat 9.0.74 available

2023-04-18 Thread Rémy Maucherat
On Tue, Apr 18, 2023 at 1:49 PM Maxim Solodovnik  wrote:
>
> Hello,
>
> For some reason there are no binary artifacts here:
> https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.74 :(

Please do not use the archive for regular downloads, you should use
the cdn instead: https://tomcat.apache.org/download-90.cgi or
https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.74/

Rémy

>
> from mobile (sorry for typos ;)
>
>
> On Tue, Apr 18, 2023, 15:55 Rémy Maucherat  wrote:
>
> > The Apache Tomcat team announces the immediate availability of Apache
> > Tomcat 9.0.74.
> >
> > Apache Tomcat 9 is an open source software implementation of the Java
> > Servlet, JavaServer Pages, Java Unified Expression Language, Java
> > WebSocket and JASPIC technologies.
> >
> > Apache Tomcat 9.0.74 is a bugfix and feature release. The notable
> > changes compared to 9.0.73 include:
> >
> > - Correct a regression in the fix for bug 66442 that meant that streams
> >without a response body did not decrement the active stream count
> >when completing, leading to
> >ERR_HTTP2_SERVER_REFUSED_STREAM for some connections.
> >
> > - Add an access log valve that uses a json format. Based on pull request
> >#539 provided by Thomas Meyer.
> >
> > - Refactor synchronization blocks locking on SocketWrapper to use
> >ReentrantLock to support users wishing to experiment with project Loom.
> >
> >
> > Along with lots of other bug fixes and improvements.
> >
> > Please refer to the change log for the complete list of changes:
> > https://tomcat.apache.org/tomcat-9.0-doc/changelog.html
> >
> >
> > Downloads:
> > https://tomcat.apache.org/download-90.cgi
> >
> > Migration guides from Apache Tomcat 7.x and 8.x:
> > https://tomcat.apache.org/migration.html
> >
> > Enjoy!
> >
> > - The Apache Tomcat team
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: [ANN] Apache Tomcat 9.0.74 available

2023-04-18 Thread Maxim Solodovnik
Hello,

For some reason there are no binary artifacts here:
https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.74 :(

from mobile (sorry for typos ;)


On Tue, Apr 18, 2023, 15:55 Rémy Maucherat  wrote:

> The Apache Tomcat team announces the immediate availability of Apache
> Tomcat 9.0.74.
>
> Apache Tomcat 9 is an open source software implementation of the Java
> Servlet, JavaServer Pages, Java Unified Expression Language, Java
> WebSocket and JASPIC technologies.
>
> Apache Tomcat 9.0.74 is a bugfix and feature release. The notable
> changes compared to 9.0.73 include:
>
> - Correct a regression in the fix for bug 66442 that meant that streams
>without a response body did not decrement the active stream count
>when completing, leading to
>ERR_HTTP2_SERVER_REFUSED_STREAM for some connections.
>
> - Add an access log valve that uses a json format. Based on pull request
>#539 provided by Thomas Meyer.
>
> - Refactor synchronization blocks locking on SocketWrapper to use
>ReentrantLock to support users wishing to experiment with project Loom.
>
>
> Along with lots of other bug fixes and improvements.
>
> Please refer to the change log for the complete list of changes:
> https://tomcat.apache.org/tomcat-9.0-doc/changelog.html
>
>
> Downloads:
> https://tomcat.apache.org/download-90.cgi
>
> Migration guides from Apache Tomcat 7.x and 8.x:
> https://tomcat.apache.org/migration.html
>
> Enjoy!
>
> - The Apache Tomcat team
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


java.lang.InternalError: Unexpected CryptoAPI failure generating seed

2023-04-18 Thread Harri Pesonen
Hello, we have:

Tomcat/8.5.83
Windows Server 2016
java.version=11.0.12
java.vendor=Azul Systems, Inc.
sun.arch.data.model=64

Sometimes Tomcat fails to start our application because of this error:

06:45:58.230 ERR> (Catalina-startStop-1) 
(org.apache.catalina.startup.HostConfig#deployDescriptors) Error waiting for 
multi-thread deployment of deployment descriptors to complete
java.util.concurrent.ExecutionException: java.lang.InternalError: Unexpected 
CryptoAPI failure generating seed
 at 
java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
 at 
java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
 at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:594)
 at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
 at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1610)
 at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:318)
 at 
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
 at 
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
 at 
org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
 at 
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:962)
 at 
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:833)
 at 
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1427)
 at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1417)
 at 
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
 at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
 at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
 at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.InternalError: Unexpected CryptoAPI failure generating seed
 at 
java.base/sun.security.provider.NativeSeedGenerator.getSeedBytes(NativeSeedGenerator.java:62)
 at 
java.base/sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:144)
 at 
java.base/sun.security.provider.SecureRandom$SeederHolder.(SecureRandom.java:204)
 at 
java.base/sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:222)
 at 
java.base/java.security.SecureRandom.nextBytes(SecureRandom.java:751)
 at 
java.base/java.security.SecureRandom.next(SecureRandom.java:808)
 at 
java.base/java.util.Random.nextInt(Random.java:329)
 at 
org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom(SessionIdGeneratorBase.java:290)
 at 
org.apache.catalina.util.SessionIdGeneratorBase.getRandomBytes(SessionIdGeneratorBase.java:222)
 at 
org.apache.catalina.util.StandardSessionIdGenerator.generateSessionId(StandardSessionIdGenerator.java:34)
 at 
org.apache.catalina.util.SessionIdGeneratorBase.generateSessionId(SessionIdGeneratorBase.java:214)
 at 
org.apache.catalina.util.SessionIdGeneratorBase.startInternal(SessionIdGeneratorBase.java:310)
 at 
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at 
org.apache.catalina.session.ManagerBase.startInternal(ManagerBase.java:670)
 at 
org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:352)
 at 
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5250)
 at 
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
 at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
 at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:727)
 at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
 at 

[ANN] Apache Tomcat 9.0.74 available

2023-04-18 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 9.0.74.

Apache Tomcat 9 is an open source software implementation of the Java
Servlet, JavaServer Pages, Java Unified Expression Language, Java
WebSocket and JASPIC technologies.

Apache Tomcat 9.0.74 is a bugfix and feature release. The notable
changes compared to 9.0.73 include:

- Correct a regression in the fix for bug 66442 that meant that streams
   without a response body did not decrement the active stream count
   when completing, leading to
   ERR_HTTP2_SERVER_REFUSED_STREAM for some connections.

- Add an access log valve that uses a json format. Based on pull request
   #539 provided by Thomas Meyer.

- Refactor synchronization blocks locking on SocketWrapper to use
   ReentrantLock to support users wishing to experiment with project Loom.


Along with lots of other bug fixes and improvements.

Please refer to the change log for the complete list of changes:
https://tomcat.apache.org/tomcat-9.0-doc/changelog.html


Downloads:
https://tomcat.apache.org/download-90.cgi

Migration guides from Apache Tomcat 7.x and 8.x:
https://tomcat.apache.org/migration.html

Enjoy!

- The Apache Tomcat team

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org