On Tue, Jun 18, 2024 at 8:26 PM Rémy Maucherat <r...@apache.org> wrote:
>
> On Tue, Jun 18, 2024 at 5:02 PM Dimitris Soumis <dsou...@redhat.com> wrote:
> >
> > -1 org.apache.catalina.ant.TestDeployTask is broken although test.apr.loc
>
> Yeah, ok there's still likely a problem with the counting that was
> added. It's still only a testsuite problem.

Verified that it is still the same APR listener instance count
problem, and verified the fix is the right one. Please apply the
little patch before doing the APR testsuite [if you want to test APR].
I will proceed with the release tomorrow.

Rémy

> Rémy
>
> > has been properly defined
> > Testsuite: org.apache.catalina.ant.TestDeployTask
> > Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.443 sec
> > ------------- Standard Error -----------------
> > 18-Jun-2024 16:34:10.024 INFO [main]
> > org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case
> > [bug58086a]
> > 18-Jun-2024 16:34:10.097 INFO [main]
> > org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
> > ["http-apr-127.0.0.1-auto-1"]
> > 18-Jun-2024 16:34:10.101 INFO [main]
> > org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case
> > [bug58086b]
> > 18-Jun-2024 16:34:10.102 INFO [main]
> > org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
> > ["http-apr-127.0.0.1-auto-2"]
> > 18-Jun-2024 16:34:10.103 INFO [main]
> > org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case
> > [bug58086c]
> > 18-Jun-2024 16:34:10.103 INFO [main]
> > org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
> > ["http-apr-127.0.0.1-auto-3"]
> > 18-Jun-2024 16:34:10.104 INFO [main]
> > org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case
> > [bug58086d]
> > 18-Jun-2024 16:34:10.105 INFO [main]
> > org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
> > ["http-apr-127.0.0.1-auto-4"]
> > 18-Jun-2024 16:34:10.106 INFO [main]
> > org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case
> > [bug58086e]
> > 18-Jun-2024 16:34:10.346 INFO [main]
> > org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
> > ["http-apr-127.0.0.1-auto-5"]
> > 18-Jun-2024 16:34:10.346 INFO [main]
> > org.apache.catalina.core.StandardService.stopInternal Stopping service
> > [Tomcat]
> > ------------- ---------------- ---------------
> >
> > Testcase: bug58086a took 0.16 sec
> > Testcase: bug58086b took 0.002 sec
> > Testcase: bug58086c took 0.002 sec
> > Testcase: bug58086d took 0.001 sec
> > Testcase: bug58086e took 0.242 sec
> > Caused an ERROR
> > The configured protocol [org.apache.coyote.http11.Http11AprProtocol]
> > requires the APR/native library which is not available
> > org.apache.catalina.LifecycleException: The configured protocol
> > [org.apache.coyote.http11.Http11AprProtocol] requires the APR/native
> > library which is not available
> > at org.apache.catalina.connector.Connector.initInternal(Connector.java:998)
> > at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:122)
> > at
> > org.apache.catalina.core.StandardService.initInternal(StandardService.java:525)
> > at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:122)
> > at
> > org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:990)
> > at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:122)
> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:155)
> > at org.apache.catalina.startup.Tomcat.start(Tomcat.java:438)
> > at
> > org.apache.catalina.startup.TomcatBaseTest$TomcatWithFastSessionIDs.start(TomcatBaseTest.java:888)
> > at org.apache.catalina.ant.TestDeployTask.bug58086e(TestDeployTask.java:91)
> > at
> > java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
> >
> > Caused an ERROR
> > An invalid Lifecycle transition was attempted ([before_stop]) for component
> > [StandardEngine[Tomcat]] in state [INITIALIZED]
> > org.apache.catalina.LifecycleException: An invalid Lifecycle transition was
> > attempted ([before_stop]) for component [StandardEngine[Tomcat]] in state
> > [INITIALIZED]
> > at
> > org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:392)
> > at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:218)
> > at
> > org.apache.catalina.core.StandardService.stopInternal(StandardService.java:471)
> > at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:231)
> > at
> > org.apache.catalina.core.StandardServer.stopInternal(StandardServer.java:923)
> > at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:231)
> > at org.apache.catalina.startup.Tomcat.stop(Tomcat.java:448)
> > at
> > org.apache.catalina.startup.TomcatBaseTest.tearDown(TomcatBaseTest.java:247)
> > at
> > java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
> >
> > The root cause should be this commit
> > <https://github.com/apache/tomcat/commit/1b10f5052bd8c9f07986227a050965bffaf47297>
> > which introduces the lock on AprLifecycleListener class.
> > Have not investigated further on the issue at the moment..
> >
> >
> >
> >
> > On Fri, Jun 14, 2024 at 6:13 PM Rémy Maucherat <r...@apache.org> wrote:
> >
> > > The proposed Apache Tomcat 9.0.90 release is now available for voting.
> > >
> > > The notable changes compared to 9.0.89 are:
> > >
> > > - Ensure that static resources deployed via a JAR file remain accessible
> > >    when the context is configured to use a bloom filter. Based on pull
> > >    request #730 provided by bergander.
> > >
> > > - Update to Commons Daemon 1.4.0
> > >
> > > - The default value of the discardFacades attribute of the Connector is 
> > > now
> > >   true for improved safety
> > >
> > > For full details, see the changelog:
> > > https://nightlies.apache.org/tomcat/tomcat-9.0.x/docs/changelog.html
> > >
> > > It can be obtained from:
> > > https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.90/
> > >
> > > The Maven staging repo is:
> > > https://repository.apache.org/content/repositories/orgapachetomcat-1497
> > >
> > > The tag is:
> > > https://github.com/apache/tomcat/tree/9.0.90
> > > 65977c7d1da9b6016e2b19de06c3be7373f40859
> > >
> > > The proposed 9.0.90 release is:
> > > [ ] -1, Broken - do not release
> > > [X] +1, Stable - go ahead and release as 9.0.90
> > >
> > > Rémy
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> > > For additional commands, e-mail: dev-h...@tomcat.apache.org
> > >
> > >

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

Reply via email to