You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2023/05/09 17:38:56 UTC

[VOTE] Release Apache Tomcat 8.5.89

The proposed Apache Tomcat 8.5.89 release is now available for voting.

The notable changes compared to 8.5.88 are:

- Many improvements to the JSON access log valve.

- Deprecate support for the HTTP Connector settings rejectIllegalHeader
    and allowHostHeaderMismatch and reject HTTP headers without names.

- Add a RateLimitFilter which can be used to mitigate DoS and Brute
    Force attacks.

Along with lots of other bug fixes and improvements.

For full details, see the changelog:
https://nightlies.apache.org/tomcat/tomcat-8.5.x/docs/changelog.html

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.89/

The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1436

The tag is:
https://github.com/apache/tomcat/tree/8.5.89/
da91bd19ef2cb34a96e4ad04749dfc97c941db87

The proposed 8.5.89 release is:
[ ] Broken - do not release
[ ] Stable - go ahead and release as 8.5.88 (stable)

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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Dimitris Soumis <ds...@redhat.com>.
I can verify the same errors as Igal both when running with Java 17 and 8
on Fedora 36 with Apache Ant 1.10.12.

Kind regards,
Dimitris

On Wed, May 10, 2023 at 4:01 PM Igal Sapir <is...@apache.org> wrote:

> Mark,
>
> On Wed, May 10, 2023 at 12:43 AM Mark Thomas <ma...@apache.org> wrote:
>
> > On 09/05/2023 23:28, Igal Sapir wrote:
> > > chris@christopherschultz.net> wrote:
> >
> > <snip/>
> >
> > >> The proposed 8.5.89 release is:
> > >> [ ] Broken - do not release
> > >> [ ] Stable - go ahead and release as 8.5.88 (stable)
> > >>
> > >>
> > > I get FAILED test for org.apache.catalina.mapper.TestMapperWebapps
> > >
> > > FWIW I got that error before so I don't think that it should hold back
> > the
> > > release.  I would just feel much better if I could understand how it is
> > > possible for "System cannot be resolved"?  I tried it with Java 17 and
> > Java
> > > 8.
> >
> > That is a known issue with the Eclipse compiler and Java 17. Are you
> > sure it also fails with Java 8 with "ant clean test"?
> >
>
> Thank you for looking into this, but with the upcoming sunset of Tomcat 8.5
> I think that it's fine to ignore this issue as it seems like it's something
> specific to my setup.  If you're still interested in more details though, I
> am including them below.
>
> Yes, I am running "ant clean test", but I should have been more clear and
> specified that with Java 8 I get another error:
>
> === Java 8 error begin ===
> Testsuite: org.apache.catalina.filters.TestMapperWebapps
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
>
> Testcase: null took 0.001 sec
>         Caused an ERROR
> Forked Java VM exited abnormally. Please note the time in the report does
> not reflect the time until the VM exit.
> junit.framework.AssertionFailedError: Forked Java VM exited abnormally.
> Please note the time in the report does not reflect the time until the VM
> exit.
>         at java.lang.Thread.run(Thread.java:750)
>
> === Java version ===
> ❯ java -version
> openjdk version "1.8.0_322"
> OpenJDK Runtime Environment (Zulu 8.60.0.21-CA-linux64) (build
> 1.8.0_322-b06)
> OpenJDK 64-Bit Server VM (Zulu 8.60.0.21-CA-linux64) (build 25.322-b06,
> mixed mode)
>
> === Java home ===
> ❯ echo $JAVA_HOME
> /opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64
>
> === Ant properties ===
> ❯ ant echoproperties | grep java
> [echoproperties] ant.core.lib=/opt/java/apache-ant-1.10.8/lib/ant.jar
> [echoproperties] ant.home=/opt/java/apache-ant-1.10.8
> [echoproperties] ant.java.version=1.8
> [echoproperties] ant.library.dir=/opt/java/apache-ant-1.10.8/lib
> [echoproperties] build.java.version=11
> [echoproperties]
> java.7.home=/opt/java/zulu7.40.0.15-ca-jdk7.0.272-linux_x64
>
> [echoproperties] java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
> [echoproperties] java.awt.printerjob=sun.print.PSPrinterJob
> [echoproperties] java.class.path=/opt/java
> /apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-imageio.jar\:/opt/java/apache-ant-1.10.8/lib/an
> t-jai.jar\:/opt/java/apache-ant-1.10.8/lib/ant-apache-xalan2.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-junit.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-apache-oro.jar\:/
> opt/java/apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-commons-net.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-apache-regexp.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-testutil.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-apache-resolver.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-antlr.jar\:/opt/java/apache-ant-
> 1.10.8/lib/ant.jar\:/opt/java/apache-ant-1.10.8/lib/ant-xz.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-swing.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-junit4.jar\:/opt/ja
> va/apache-ant-1.10.8/lib/ant-netrexx.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-apache-log4j.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-apache-bsf.jar\:/opt/java/apache-a
> nt-1.10.8/lib/ant-jsch.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-jdepend.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-junitlauncher.jar\:/opt/java
> /apache-ant-1.10.8/lib/an
> t-javamail.jar\:/opt/java/apache-ant-1.10.8/lib/ant-jmf.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-commons-logging.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-apache-bcel.
> jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/lib/tools.jar
> [echoproperties] java.class.version=52.0
> [echoproperties]
>
> java.endorsed.dirs=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/endorsed
>
> [echoproperties] java.ext.dirs=/opt/java
>
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/ext\:/usr/java/packages/lib/ext
>
> [echoproperties]
> java.home=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre
>
> [echoproperties] java.io.tmpdir=/tmp
> [echoproperties]
>
> java.library.path=/usr/java/packages/lib/amd64\:/usr/lib64\:/lib64\:/lib\:/usr/lib
>
> [echoproperties] java.net.preferIPv4Stack=false
> [echoproperties] java.runtime.name=OpenJDK Runtime Environment
> [echoproperties] java.runtime.version=1.8.0_322-b06
> [echoproperties] java.specification.name=Java Platform API Specification
> [echoproperties] java.specification.vendor=Oracle Corporation
> [echoproperties] java.specification.version=1.8
> [echoproperties] java.vendor=Azul Systems, Inc.
> [echoproperties] java.vendor.url=http\://www.azul.com/
> [echoproperties] java.vendor.url.bug=http\://www.azul.com/support/
> [echoproperties] java.version=1.8.0_322
> [echoproperties] java.vm.info=mixed mode
> [echoproperties] java.vm.name=OpenJDK 64-Bit Server VM
> [echoproperties] java.vm.specification.name=Java Virtual Machine
> Specification
> [echoproperties] java.vm.specification.vendor=Oracle Corporation
> [echoproperties] java.vm.specification.version=1.8
> [echoproperties] java.vm.vendor=Azul Systems, Inc.
> [echoproperties] java.vm.version=25.322-b06
> [echoproperties] javadoc.failonerror=true
> [echoproperties] javadoc.failonwarning=false
> [echoproperties] min.java.version=7
> [echoproperties] opens.javaio=--add-opens\=java.base/java.io\=ALL-UNNAMED
> [echoproperties]
> opens.javalang=--add-opens\=java.base/java.lang\=ALL-UNNAMED
>
> [echoproperties]
> opens.javautil=--add-opens\=java.base/java.util\=ALL-UNNAMED
>
> [echoproperties]
>
> opens.javautilconcurrent=--add-opens\=java.base/java.util.concurrent\=ALL-UNNAMED
>
> [echoproperties]
> opens.sunrmi=--add-opens\=java.rmi/sun.rmi.transport\=ALL-UNNAMED
>
> [echoproperties] sun.boot.class.path=/opt/java
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/resources.jar\:/opt/java
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/rt
> .jar\:/opt/java
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/sunrsasign.jar\:/opt/java
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/jsse.jar\:/opt/java
> /zulu8.60.0.2
> 1-ca-jdk8.0.322-linux_x64/jre/lib/jce.jar\:/opt/java
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/charsets.jar\:/opt/java
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/l
> ib/jfr.jar\:/opt/java
>
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/cat.jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/classes
>
> [echoproperties]
>
> sun.boot.library.path=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/amd64
>
> [echoproperties] sun.java.command=org.apache.tools.ant.launch.Launcher -cp
>  echoproperties
> [echoproperties] sun.java.launcher=SUN_STANDARD
> [echoproperties]
>
> test.formatter=-Dorg.apache.juli.formatter\=java.util.logging.SimpleFormatter
>
> [echoproperties] test.jvmarg.egd=-Djava.security.egd\=file\:/dev/./urandom
> [echoproperties] test.name=**/Test*.java
>
> Best,
>
> Igal
>
>
>
> >
> > Mark
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: dev-help@tomcat.apache.org
> >
> >
>

Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Igal Sapir <is...@apache.org>.
Mark,

On Thu, May 11, 2023 at 11:23 AM Mark Thomas <ma...@apache.org> wrote:

> On 11/05/2023 18:25, Igal Sapir wrote:
> > On Thu, May 11, 2023 at 6:15 AM Mark Thomas <ma...@apache.org> wrote:
> >
> >> On 10/05/2023 22:26, Christopher Schultz wrote:
> >>> On 5/10/23 17:05, Igal Sapir wrote:
> >>
> >> <snip/>
> >>
> >>>> That was a specific test case.  I have the following entry in
> >>>> build.properties:
> >>>> test.entry=org.apache.catalina.filters.TestMapperWebapps
> >>>>
> >>>> Confirmed with the following command:
> >>>>
> >>>> ❯ ant echoproperties | grep entry
> >>>> [echoproperties]
> >> test.entry=org.apache.catalina.filters.TestMapperWebapps
> >>>
> >>> Perfect. Can you try playing-around with fork="true"/"false" or some of
> >>> the other debug-related settings on the <junit> thing?
> >>
> >> This is very strange.
> >>
> >> I've installed the same version of the JDK (Zulu 8.60.0.21-CA-linux64)
> >> (build 1.8.0_322-b06) and the test passes on all three connectors for
> me.
> >>
> >> The indications are that it is something specific(ish?) to your
> >> environment but nothing obvious comes to mind.
> >>
> >
> > I'm sure it's something specific to my environment, but Dimitris also
> wrote
> > above that he sees the same issue.  In any event, I don't think that this
> > should hold back the release.
> >
> > Setting fork="no" (I didn't know about that option - thanks Chris!)
> reveals
> > more information:
> >
> > ❯ cat
> >
> /workspace/build/tomcat/8.5.x/build/logs/TEST-org.apache.catalina.filters.TestMapperWebapps.NIO2.txt
> >
> > Testsuite: org.apache.catalina.filters.TestMapperWebapps
> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> >
> >         Caused an ERROR
> > org.apache.catalina.filters.TestMapperWebapps
> > java.lang.ClassNotFoundException:
> > org.apache.catalina.filters.TestMapperWebapps
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Class.java:348)
> >         at org.jacoco.ant.CoverageTask.execute(CoverageTask.java:105)
> >         at java.util.Vector.forEach(Vector.java:1277)
> >
> > So the class is searched for in the wrong package?  The output is looking
> > in o.a.c.filters, but TestMapperWebapps is in o.a.c.mapper <confused/>
> >
> > Maybe you can make sense out of it.
>
> Ah. You have code coverage enabled. Maybe that is a factor.
>

That's strange.  Any idea where that might be coming from?  I don't
override the default anywhere and `ant echoproperties` shows test.coverage
as false:

❯ ant echoproperties | grep test
[echoproperties] test.coverage=false
[echoproperties]
test.exclude=org/apache/catalina/tribes/group/Test*,org/apache/catalina/tribes/group/interceptors/Test*

[echoproperties] test.reports=/workspace/build/tomcat/8.5.x/build/logs
[echoproperties] execute.test.apr=false
[echoproperties] execute.test.nio=false
[echoproperties] test.verbose=true
[echoproperties]
test.apr.loc=/workspace/build/tomcat/tomcat-native/tomcat-native-2.0.3/lib

[echoproperties] test.name=**/Test*.java
[echoproperties] test.haltonfailure=false
[echoproperties] test.accesslog=false
[echoproperties] test.classes=/workspace/build/tomcat/8.5.x/testclasses
[echoproperties] test.openssl.path=
[echoproperties] test.entry=org.apache.catalina.filters.TestMapperWebapps
[echoproperties] execute.test.nio2=true
[echoproperties] test.threads=6
[echoproperties] test.jvmarg.egd=-Djava.security.egd\=file\:/dev/./urandom
[echoproperties] test.temp=/workspace/build/tomcat/8.5.x/test-tmp
[echoproperties] test.relaxTiming=true
[echoproperties]
java.class.path=/opt/java/apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java/apache-ant-1.10.8/lib/ant-imageio.jar\:/o
pt/java/apache-ant-1.10.8/lib/ant-jai.jar\:/opt/java/apache-ant-1.10.8/lib/ant-apache-xalan2.jar\:/opt/java/apache-ant-1.10.8/lib/ant-
junit.jar\:/opt/java/apache-ant-1.10.8/lib/ant-apache-oro.jar\:/opt/java/apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java/apache-ant-
1.10.8/lib/ant-commons-net.jar\:/opt/java/apache-ant-1.10.8/lib/ant-apache-regexp.jar\:/opt/java/apache-ant-1.10.8/lib/ant-
testutil.ja
r\:/opt/java/apache-ant-1.10.8/lib/ant-apache-resolver.jar\:/opt/java/apache-ant-1.10.8/lib/ant-antlr.jar\:/opt/java/apache-ant-1.10.8
/lib/ant.jar\:/opt/java/apache-ant-1.10.8/lib/ant-xz.jar\:/opt/java/apache-ant-1.10.8/lib/ant-swing.jar\:/opt/java/apache-ant-1.10.8/l
ib/ant-junit4.jar\:/opt/java/apache-ant-1.10.8/lib/ant-netrexx.jar\:/opt/java/apache-ant-1.10.8/lib/ant-apache-log4j.jar\:/opt/java/ap
ache-ant-1.10.8/lib/ant-apache-bsf.jar\:/opt/java/apache-ant-1.10.8/lib/ant-jsch.jar\:/opt/java/apache-ant-1.10.8/lib/ant-jdepend.jar\
:/opt/java/apache-ant-1.10.8/lib/ant-junitlauncher.jar\:/opt/java/apache-ant-1.10.8/lib/ant-javamail.jar\:/opt/java/apache-ant-1.10.8/
lib/ant-jmf.jar\:/opt/java/apache-ant-1.10.8/lib/ant-commons-logging.jar\:/opt/java/apache-ant-1.10.8/lib/ant-apache-bcel.jar

[echoproperties] test.basedir=/workspace/build/tomcat/8.5.x/build
[echoproperties]
test.formatter=-Dorg.apache.juli.formatter\=java.util.logging.SimpleFormatter

[echoproperties] test.openssl.unimplemented=IDEA
[echoproperties] test.run.classes=/workspace/build/tomcat/8.5.x/classes

Igal



>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Mark Thomas <ma...@apache.org>.
On 11/05/2023 18:25, Igal Sapir wrote:
> On Thu, May 11, 2023 at 6:15 AM Mark Thomas <ma...@apache.org> wrote:
> 
>> On 10/05/2023 22:26, Christopher Schultz wrote:
>>> On 5/10/23 17:05, Igal Sapir wrote:
>>
>> <snip/>
>>
>>>> That was a specific test case.  I have the following entry in
>>>> build.properties:
>>>> test.entry=org.apache.catalina.filters.TestMapperWebapps
>>>>
>>>> Confirmed with the following command:
>>>>
>>>> ❯ ant echoproperties | grep entry
>>>> [echoproperties]
>> test.entry=org.apache.catalina.filters.TestMapperWebapps
>>>
>>> Perfect. Can you try playing-around with fork="true"/"false" or some of
>>> the other debug-related settings on the <junit> thing?
>>
>> This is very strange.
>>
>> I've installed the same version of the JDK (Zulu 8.60.0.21-CA-linux64)
>> (build 1.8.0_322-b06) and the test passes on all three connectors for me.
>>
>> The indications are that it is something specific(ish?) to your
>> environment but nothing obvious comes to mind.
>>
> 
> I'm sure it's something specific to my environment, but Dimitris also wrote
> above that he sees the same issue.  In any event, I don't think that this
> should hold back the release.
> 
> Setting fork="no" (I didn't know about that option - thanks Chris!) reveals
> more information:
> 
> ❯ cat
> /workspace/build/tomcat/8.5.x/build/logs/TEST-org.apache.catalina.filters.TestMapperWebapps.NIO2.txt
> 
> Testsuite: org.apache.catalina.filters.TestMapperWebapps
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> 
>         Caused an ERROR
> org.apache.catalina.filters.TestMapperWebapps
> java.lang.ClassNotFoundException:
> org.apache.catalina.filters.TestMapperWebapps
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:348)
>         at org.jacoco.ant.CoverageTask.execute(CoverageTask.java:105)
>         at java.util.Vector.forEach(Vector.java:1277)
> 
> So the class is searched for in the wrong package?  The output is looking
> in o.a.c.filters, but TestMapperWebapps is in o.a.c.mapper <confused/>
> 
> Maybe you can make sense out of it.

Ah. You have code coverage enabled. Maybe that is a factor.

Mark

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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Igal Sapir <is...@apache.org>.
On Thu, May 11, 2023 at 6:15 AM Mark Thomas <ma...@apache.org> wrote:

> On 10/05/2023 22:26, Christopher Schultz wrote:
> > On 5/10/23 17:05, Igal Sapir wrote:
>
> <snip/>
>
> >> That was a specific test case.  I have the following entry in
> >> build.properties:
> >> test.entry=org.apache.catalina.filters.TestMapperWebapps
> >>
> >> Confirmed with the following command:
> >>
> >> ❯ ant echoproperties | grep entry
> >> [echoproperties]
> test.entry=org.apache.catalina.filters.TestMapperWebapps
> >
> > Perfect. Can you try playing-around with fork="true"/"false" or some of
> > the other debug-related settings on the <junit> thing?
>
> This is very strange.
>
> I've installed the same version of the JDK (Zulu 8.60.0.21-CA-linux64)
> (build 1.8.0_322-b06) and the test passes on all three connectors for me.
>
> The indications are that it is something specific(ish?) to your
> environment but nothing obvious comes to mind.
>

I'm sure it's something specific to my environment, but Dimitris also wrote
above that he sees the same issue.  In any event, I don't think that this
should hold back the release.

Setting fork="no" (I didn't know about that option - thanks Chris!) reveals
more information:

❯ cat
/workspace/build/tomcat/8.5.x/build/logs/TEST-org.apache.catalina.filters.TestMapperWebapps.NIO2.txt

Testsuite: org.apache.catalina.filters.TestMapperWebapps
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec

       Caused an ERROR
org.apache.catalina.filters.TestMapperWebapps
java.lang.ClassNotFoundException:
org.apache.catalina.filters.TestMapperWebapps
       at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Class.java:348)
       at org.jacoco.ant.CoverageTask.execute(CoverageTask.java:105)
       at java.util.Vector.forEach(Vector.java:1277)

So the class is searched for in the wrong package?  The output is looking
in o.a.c.filters, but TestMapperWebapps is in o.a.c.mapper <confused/>

Maybe you can make sense out of it.

Best,

Igal




>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Mark Thomas <ma...@apache.org>.
On 10/05/2023 22:26, Christopher Schultz wrote:
> On 5/10/23 17:05, Igal Sapir wrote:

<snip/>

>> That was a specific test case.  I have the following entry in
>> build.properties:
>> test.entry=org.apache.catalina.filters.TestMapperWebapps
>>
>> Confirmed with the following command:
>>
>> ❯ ant echoproperties | grep entry
>> [echoproperties] test.entry=org.apache.catalina.filters.TestMapperWebapps
> 
> Perfect. Can you try playing-around with fork="true"/"false" or some of 
> the other debug-related settings on the <junit> thing?

This is very strange.

I've installed the same version of the JDK (Zulu 8.60.0.21-CA-linux64) 
(build 1.8.0_322-b06) and the test passes on all three connectors for me.

The indications are that it is something specific(ish?) to your 
environment but nothing obvious comes to mind.

Mark

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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Igal,

On 5/10/23 17:05, Igal Sapir wrote:
> Chris,
> 
> On Wed, May 10, 2023 at 12:28 PM Christopher Schultz <
> chris@christopherschultz.net> wrote:
> 
>> Igal,
>>
>> On 5/10/23 14:16, Igal Sapir wrote:
>>>>> The error that I see on Java 8 is:
>>>>>
>>>>> Testsuite: org.apache.catalina.filters.TestMapperWebapps
>>>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
>>>>> Testcase: null took 0.001 sec
>>>>>              Caused an ERROR
>>>>> Forked Java VM exited abnormally. Please note the time in the report
>> does
>>>>> not reflect the time until the VM exit.
>>>>> junit.framework.AssertionFailedError: Forked Java VM exited abnormally.
>>>>> Please note the time in the report does not reflect the time until the
>> VM
>>>>> exit.
>>>>>              at java.lang.Thread.run(Thread.java:750)
>>>>>
>>>>
>>>> Thanks for clarifying. Do you get a core file or hs_err.[pid] or
>>>> anything like that, or just "computer says no"?
>>>>
>>>
>>> The "ant clean test" ends with this output:
>>>
>>> === ant output begin ===
>>> test-status:
>>>     [concat] Testsuites with skipped tests:
>>>     [concat] Testsuites with failed tests:
>>>     [concat] TEST-org.apache.catalina.filters.TestMapperWebapps.NIO2.txt
>>>
>>> BUILD FAILED
>>> /workspace/src/tomcat/8.5.x/build.xml:1525: Some tests completed with an
>>> Error. See /workspace/build/tomcat/8.5.x/build/logs for details, search
>> for
>>> "ERROR".
>>>
>>> Total time: 19 seconds
>>> === ant output end ===
>>>
>>> The file at the path mentioned in the ant output contains the text that I
>>> posted earlier, with the text "junit.framework.AssertionFailedError:
>> Forked
>>> Java VM exited abnormally".
>>>
>>> No PID that I see anywhere but I might not be looking at the right place?
>>
>> It would probably be in the CWD where you launched ant. So "ant test &&
>> ls" should give you any files like that.
>>
> 
> I don't see any such file
> 
> 
> 
>>
>> What happens if you give "ant test" a specific test case to run:
>>
>> ant -Dtest.entry=org.apache.catalina.filters.TestMapperWebapps test
>>
>> ?
>>
> 
> That was a specific test case.  I have the following entry in
> build.properties:
> test.entry=org.apache.catalina.filters.TestMapperWebapps
> 
> Confirmed with the following command:
> 
> ❯ ant echoproperties | grep entry
> [echoproperties] test.entry=org.apache.catalina.filters.TestMapperWebapps

Perfect. Can you try playing-around with fork="true"/"false" or some of 
the other debug-related settings on the <junit> thing?

-chris

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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Igal Sapir <is...@apache.org>.
Chris,

On Wed, May 10, 2023 at 12:28 PM Christopher Schultz <
chris@christopherschultz.net> wrote:

> Igal,
>
> On 5/10/23 14:16, Igal Sapir wrote:
> >>> The error that I see on Java 8 is:
> >>>
> >>> Testsuite: org.apache.catalina.filters.TestMapperWebapps
> >>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> >>> Testcase: null took 0.001 sec
> >>>             Caused an ERROR
> >>> Forked Java VM exited abnormally. Please note the time in the report
> does
> >>> not reflect the time until the VM exit.
> >>> junit.framework.AssertionFailedError: Forked Java VM exited abnormally.
> >>> Please note the time in the report does not reflect the time until the
> VM
> >>> exit.
> >>>             at java.lang.Thread.run(Thread.java:750)
> >>>
> >>
> >> Thanks for clarifying. Do you get a core file or hs_err.[pid] or
> >> anything like that, or just "computer says no"?
> >>
> >
> > The "ant clean test" ends with this output:
> >
> > === ant output begin ===
> > test-status:
> >    [concat] Testsuites with skipped tests:
> >    [concat] Testsuites with failed tests:
> >    [concat] TEST-org.apache.catalina.filters.TestMapperWebapps.NIO2.txt
> >
> > BUILD FAILED
> > /workspace/src/tomcat/8.5.x/build.xml:1525: Some tests completed with an
> > Error. See /workspace/build/tomcat/8.5.x/build/logs for details, search
> for
> > "ERROR".
> >
> > Total time: 19 seconds
> > === ant output end ===
> >
> > The file at the path mentioned in the ant output contains the text that I
> > posted earlier, with the text "junit.framework.AssertionFailedError:
> Forked
> > Java VM exited abnormally".
> >
> > No PID that I see anywhere but I might not be looking at the right place?
>
> It would probably be in the CWD where you launched ant. So "ant test &&
> ls" should give you any files like that.
>

I don't see any such file



>
> What happens if you give "ant test" a specific test case to run:
>
> ant -Dtest.entry=org.apache.catalina.filters.TestMapperWebapps test
>
> ?
>

That was a specific test case.  I have the following entry in
build.properties:
test.entry=org.apache.catalina.filters.TestMapperWebapps

Confirmed with the following command:

❯ ant echoproperties | grep entry
[echoproperties] test.entry=org.apache.catalina.filters.TestMapperWebapps

Best,

Igal



>
> >>> Yes, that test fails consistently for me.
> >>
> >> Well, at least that's something.
> >>
> >> Will it fail if you run *only* that one test? Or does it have to be
> >> running as part of the whole test-suite?
> >>
> >
> > It fails both when run with the whole test-suite and when run as a single
> > test.  The output above is from a single test run.
>
> That looks like the whole test suite to me. Did you use "test.entry"?
>
> -chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Igal,

On 5/10/23 14:16, Igal Sapir wrote:
>>> The error that I see on Java 8 is:
>>>
>>> Testsuite: org.apache.catalina.filters.TestMapperWebapps
>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
>>> Testcase: null took 0.001 sec
>>>             Caused an ERROR
>>> Forked Java VM exited abnormally. Please note the time in the report does
>>> not reflect the time until the VM exit.
>>> junit.framework.AssertionFailedError: Forked Java VM exited abnormally.
>>> Please note the time in the report does not reflect the time until the VM
>>> exit.
>>>             at java.lang.Thread.run(Thread.java:750)
>>>
>>
>> Thanks for clarifying. Do you get a core file or hs_err.[pid] or
>> anything like that, or just "computer says no"?
>>
> 
> The "ant clean test" ends with this output:
> 
> === ant output begin ===
> test-status:
>    [concat] Testsuites with skipped tests:
>    [concat] Testsuites with failed tests:
>    [concat] TEST-org.apache.catalina.filters.TestMapperWebapps.NIO2.txt
> 
> BUILD FAILED
> /workspace/src/tomcat/8.5.x/build.xml:1525: Some tests completed with an
> Error. See /workspace/build/tomcat/8.5.x/build/logs for details, search for
> "ERROR".
> 
> Total time: 19 seconds
> === ant output end ===
> 
> The file at the path mentioned in the ant output contains the text that I
> posted earlier, with the text "junit.framework.AssertionFailedError: Forked
> Java VM exited abnormally".
> 
> No PID that I see anywhere but I might not be looking at the right place?

It would probably be in the CWD where you launched ant. So "ant test && 
ls" should give you any files like that.

What happens if you give "ant test" a specific test case to run:

ant -Dtest.entry=org.apache.catalina.filters.TestMapperWebapps test

?

>>> Yes, that test fails consistently for me.
>>
>> Well, at least that's something.
>>
>> Will it fail if you run *only* that one test? Or does it have to be
>> running as part of the whole test-suite?
>>
> 
> It fails both when run with the whole test-suite and when run as a single
> test.  The output above is from a single test run.

That looks like the whole test suite to me. Did you use "test.entry"?

-chris

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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Igal Sapir <is...@apache.org>.
Chris,

On Wed, May 10, 2023 at 11:08 AM Christopher Schultz <
chris@christopherschultz.net> wrote:

> Igal,
>
> On 5/10/23 13:49, Igal Sapir wrote:
> > Chris,
> >
> > On Wed, May 10, 2023 at 9:58 AM Christopher Schultz <
> > chris@christopherschultz.net> wrote:
> >
> >> Igal,
> >>
> >> On 5/10/23 12:12, Igal Sapir wrote:
> >>> Chris,
> >>>
> >>> On Wed, May 10, 2023 at 8:13 AM Christopher Schultz <
> >>> chris@christopherschultz.net> wrote:
> >>>
> >>>> Igal,
> >>>>
> >>>> On 5/10/23 08:48, Igal Sapir wrote:
> >>>>> Mark,
> >>>>>
> >>>>> On Wed, May 10, 2023 at 12:43 AM Mark Thomas <ma...@apache.org>
> wrote:
> >>>>>
> >>>>>> On 09/05/2023 23:28, Igal Sapir wrote:
> >>>>>>> chris@christopherschultz.net> wrote:
> >>>>>>
> >>>>>> <snip/>
> >>>>>>
> >>>>>>>> The proposed 8.5.89 release is:
> >>>>>>>> [ ] Broken - do not release
> >>>>>>>> [ ] Stable - go ahead and release as 8.5.88 (stable)
> >>>>>>>>
> >>>>>>>>
> >>>>>>> I get FAILED test for org.apache.catalina.mapper.TestMapperWebapps
> >>>>>>>
> >>>>>>> FWIW I got that error before so I don't think that it should hold
> >> back
> >>>>>> the
> >>>>>>> release.  I would just feel much better if I could understand how
> it
> >> is
> >>>>>>> possible for "System cannot be resolved"?  I tried it with Java 17
> >> and
> >>>>>> Java
> >>>>>>> 8.
> >>>>>>
> >>>>>> That is a known issue with the Eclipse compiler and Java 17. Are you
> >>>>>> sure it also fails with Java 8 with "ant clean test"?
> >>>>>>
> >>>>>
> >>>>> Thank you for looking into this, but with the upcoming sunset of
> Tomcat
> >>>> 8.5
> >>>>> I think that it's fine to ignore this issue as it seems like it's
> >>>> something
> >>>>> specific to my setup.  If you're still interested in more details
> >>>> though, I
> >>>>> am including them below.
> >>>>>
> >>>>> Yes, I am running "ant clean test", but I should have been more clear
> >> and
> >>>>> specified that with Java 8 I get another error:
> >>>>>
> >>>>> === Java 8 error begin ===
> >>>>> Testsuite: org.apache.catalina.filters.TestMapperWebapps
> >>>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> >>>>>
> >>>>> Testcase: null took 0.001 sec
> >>>>>            Caused an ERROR
> >>>>> Forked Java VM exited abnormally. Please note the time in the report
> >> does
> >>>>> not reflect the time until the VM exit.
> >>>>> junit.framework.AssertionFailedError: Forked Java VM exited
> abnormally.
> >>>>> Please note the time in the report does not reflect the time until
> the
> >> VM
> >>>>> exit.
> >>>>>            at java.lang.Thread.run(Thread.java:750)
> >>>>>
> >>>>> === Java version ===
> >>>>> ❯ java -version
> >>>>> openjdk version "1.8.0_322"
> >>>>> OpenJDK Runtime Environment (Zulu 8.60.0.21-CA-linux64) (build
> >>>>> 1.8.0_322-b06)
> >>>>> OpenJDK 64-Bit Server VM (Zulu 8.60.0.21-CA-linux64) (build
> 25.322-b06,
> >>>>> mixed mode)
> >>>>>
> >>>>> === Java home ===
> >>>>> ❯ echo $JAVA_HOME
> >>>>> /opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64
> >>>>>
> >>>>> === Ant properties ===
> >>>>> ❯ ant echoproperties | grep java
> >>>>> [echoproperties] ant.core.lib=/opt/java/apache-ant-1.10.8/lib/ant.jar
> >>>>> [echoproperties] ant.home=/opt/java/apache-ant-1.10.8
> >>>>> [echoproperties] ant.java.version=1.8
> >>>>> [echoproperties] ant.library.dir=/opt/java/apache-ant-1.10.8/lib
> >>>>> [echoproperties] build.java.version=11
> >>>>> [echoproperties]
> >>>> java.7.home=/opt/java/zulu7.40.0.15-ca-jdk7.0.272-linux_x64
> >>>>>
> >>>>> [echoproperties] java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
> >>>>> [echoproperties] java.awt.printerjob=sun.print.PSPrinterJob
> >>>>> [echoproperties] java.class.path=/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
> >>>>>
> >>>>
> >>
> /apache-ant-1.10.8/lib/ant-imageio.jar\:/opt/java/apache-ant-1.10.8/lib/an
> >>>>>
> >>>>
> >>
> t-jai.jar\:/opt/java/apache-ant-1.10.8/lib/ant-apache-xalan2.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-junit.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-apache-oro.jar\:/
> >>>>> opt/java/apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-commons-net.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-apache-regexp.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-testutil.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-apache-resolver.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-antlr.jar\:/opt/java/apache-ant-
> >>>>>
> >>
> 1.10.8/lib/ant.jar\:/opt/java/apache-ant-1.10.8/lib/ant-xz.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-swing.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-junit4.jar\:/opt/ja
> >>>>> va/apache-ant-1.10.8/lib/ant-netrexx.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-apache-log4j.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-apache-bsf.jar\:/opt/java/apache-a
> >>>>> nt-1.10.8/lib/ant-jsch.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-jdepend.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-junitlauncher.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/an
> >>>>>
> t-javamail.jar\:/opt/java/apache-ant-1.10.8/lib/ant-jmf.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-commons-logging.jar\:/opt/java
> >>>>> /apache-ant-1.10.8/lib/ant-apache-bcel.
> >>>>> jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/lib/tools.jar
> >>>>> [echoproperties] java.class.version=52.0
> >>>>> [echoproperties]
> >>>>>
> >>>>
> >>
> java.endorsed.dirs=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/endorsed
> >>>>>
> >>>>> [echoproperties] java.ext.dirs=/opt/java
> >>>>>
> >>>>
> >>
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/ext\:/usr/java/packages/lib/ext
> >>>>>
> >>>>> [echoproperties]
> >>>> java.home=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre
> >>>>>
> >>>>> [echoproperties] java.io.tmpdir=/tmp
> >>>>> [echoproperties]
> >>>>>
> >>>>
> >>
> java.library.path=/usr/java/packages/lib/amd64\:/usr/lib64\:/lib64\:/lib\:/usr/lib
> >>>>>
> >>>>> [echoproperties] java.net.preferIPv4Stack=false
> >>>>> [echoproperties] java.runtime.name=OpenJDK Runtime Environment
> >>>>> [echoproperties] java.runtime.version=1.8.0_322-b06
> >>>>> [echoproperties] java.specification.name=Java Platform API
> >> Specification
> >>>>> [echoproperties] java.specification.vendor=Oracle Corporation
> >>>>> [echoproperties] java.specification.version=1.8
> >>>>> [echoproperties] java.vendor=Azul Systems, Inc.
> >>>>> [echoproperties] java.vendor.url=http\://www.azul.com/
> >>>>> [echoproperties] java.vendor.url.bug=http\://www.azul.com/support/
> >>>>> [echoproperties] java.version=1.8.0_322
> >>>>> [echoproperties] java.vm.info=mixed mode
> >>>>> [echoproperties] java.vm.name=OpenJDK 64-Bit Server VM
> >>>>> [echoproperties] java.vm.specification.name=Java Virtual Machine
> >>>>> Specification
> >>>>> [echoproperties] java.vm.specification.vendor=Oracle Corporation
> >>>>> [echoproperties] java.vm.specification.version=1.8
> >>>>> [echoproperties] java.vm.vendor=Azul Systems, Inc.
> >>>>> [echoproperties] java.vm.version=25.322-b06
> >>>>> [echoproperties] javadoc.failonerror=true
> >>>>> [echoproperties] javadoc.failonwarning=false
> >>>>> [echoproperties] min.java.version=7
> >>>>> [echoproperties] opens.javaio=--add-opens\=java.base/java.io
> >>>> \=ALL-UNNAMED
> >>>>> [echoproperties]
> >>>> opens.javalang=--add-opens\=java.base/java.lang\=ALL-UNNAMED
> >>>>>
> >>>>> [echoproperties]
> >>>> opens.javautil=--add-opens\=java.base/java.util\=ALL-UNNAMED
> >>>>>
> >>>>> [echoproperties]
> >>>>>
> >>>>
> >>
> opens.javautilconcurrent=--add-opens\=java.base/java.util.concurrent\=ALL-UNNAMED
> >>>>>
> >>>>> [echoproperties]
> >>>>> opens.sunrmi=--add-opens\=java.rmi/sun.rmi.transport\=ALL-UNNAMED
> >>>>>
> >>>>> [echoproperties] sun.boot.class.path=/opt/java
> >>>>>
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/resources.jar\:/opt/java
> >>>>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/rt
> >>>>> .jar\:/opt/java
> >>>>>
> >> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/sunrsasign.jar\:/opt/java
> >>>>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/jsse.jar\:/opt/java
> >>>>> /zulu8.60.0.2
> >>>>> 1-ca-jdk8.0.322-linux_x64/jre/lib/jce.jar\:/opt/java
> >>>>>
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/charsets.jar\:/opt/java
> >>>>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/l
> >>>>> ib/jfr.jar\:/opt/java
> >>>>>
> >>>>
> >>
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/cat.jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/classes
> >>>>>
> >>>>> [echoproperties]
> >>>>>
> >>>>
> >>
> sun.boot.library.path=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/amd64
> >>>>>
> >>>>> [echoproperties]
> sun.java.command=org.apache.tools.ant.launch.Launcher
> >>>> -cp
> >>>>>     echoproperties
> >>>>> [echoproperties] sun.java.launcher=SUN_STANDARD
> >>>>> [echoproperties]
> >>>>>
> >>>>
> >>
> test.formatter=-Dorg.apache.juli.formatter\=java.util.logging.SimpleFormatter
> >>>>>
> >>>>> [echoproperties]
> >>>> test.jvmarg.egd=-Djava.security.egd\=file\:/dev/./urandom
> >>>>> [echoproperties] test.name=**/Test*.java
> >>>>
> >>>> Failing / unreliable disk?
> >>>>
> >>>
> >>> No known issues with the disk - where did you see "unreliable disk"?
> >>
> >> I didn't, but "can't load java.lang.System" seems like a pretty core
> >> failure. SIGSEGV when building the Linux kernel used to be a good
> >> indication that your memory chips or motherboard were failing. I was
> >> wondering if this was something like that.
> >>
> >
> > To clarify, the "can't load java.lang.System" error is with Java 17 which
> > is incompatible with Tomcat 8.5 and is a known issue with the JDT
> compiler
> > on Java 17 per Mark.
> >
> > The error that I see on Java 8 is:
> >
> > Testsuite: org.apache.catalina.filters.TestMapperWebapps
> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> > Testcase: null took 0.001 sec
> >            Caused an ERROR
> > Forked Java VM exited abnormally. Please note the time in the report does
> > not reflect the time until the VM exit.
> > junit.framework.AssertionFailedError: Forked Java VM exited abnormally.
> > Please note the time in the report does not reflect the time until the VM
> > exit.
> >            at java.lang.Thread.run(Thread.java:750)
> >
>
> Thanks for clarifying. Do you get a core file or hs_err.[pid] or
> anything like that, or just "computer says no"?
>

The "ant clean test" ends with this output:

=== ant output begin ===
test-status:
  [concat] Testsuites with skipped tests:
  [concat] Testsuites with failed tests:
  [concat] TEST-org.apache.catalina.filters.TestMapperWebapps.NIO2.txt

BUILD FAILED
/workspace/src/tomcat/8.5.x/build.xml:1525: Some tests completed with an
Error. See /workspace/build/tomcat/8.5.x/build/logs for details, search for
"ERROR".

Total time: 19 seconds
=== ant output end ===

The file at the path mentioned in the ant output contains the text that I
posted earlier, with the text "junit.framework.AssertionFailedError: Forked
Java VM exited abnormally".

No PID that I see anywhere but I might not be looking at the right place?



>
> >>>> This is certainly a weird error. And it only happens during Tomcat
> unit
> >>>> tests?
> >>>>
> >>>
> >>> Not all tests - only that single unit test fails:
> >>> org.apache.catalina.mapper.TestMapperWebapps
> >>
> >> So weird.
> >>
> >>> Dimitris (also on this thread) confirms that it happens on his Fedora
> >>> machine as well.  I'm running on Ubuntu.
> >>
> >> So weird.
> >>
> >>> IIRC Java 11 produced the same error as Java 8 but I can run that again
> >> if
> >>> needed, or provide any other required information.
> >>
> >> It fails every time?
> >>
> >
> > Yes, that test fails consistently for me.
>
> Well, at least that's something.
>
> Will it fail if you run *only* that one test? Or does it have to be
> running as part of the whole test-suite?
>

It fails both when run with the whole test-suite and when run as a single
test.  The output above is from a single test run.

Igal



>
> -chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Igal,

On 5/10/23 13:49, Igal Sapir wrote:
> Chris,
> 
> On Wed, May 10, 2023 at 9:58 AM Christopher Schultz <
> chris@christopherschultz.net> wrote:
> 
>> Igal,
>>
>> On 5/10/23 12:12, Igal Sapir wrote:
>>> Chris,
>>>
>>> On Wed, May 10, 2023 at 8:13 AM Christopher Schultz <
>>> chris@christopherschultz.net> wrote:
>>>
>>>> Igal,
>>>>
>>>> On 5/10/23 08:48, Igal Sapir wrote:
>>>>> Mark,
>>>>>
>>>>> On Wed, May 10, 2023 at 12:43 AM Mark Thomas <ma...@apache.org> wrote:
>>>>>
>>>>>> On 09/05/2023 23:28, Igal Sapir wrote:
>>>>>>> chris@christopherschultz.net> wrote:
>>>>>>
>>>>>> <snip/>
>>>>>>
>>>>>>>> The proposed 8.5.89 release is:
>>>>>>>> [ ] Broken - do not release
>>>>>>>> [ ] Stable - go ahead and release as 8.5.88 (stable)
>>>>>>>>
>>>>>>>>
>>>>>>> I get FAILED test for org.apache.catalina.mapper.TestMapperWebapps
>>>>>>>
>>>>>>> FWIW I got that error before so I don't think that it should hold
>> back
>>>>>> the
>>>>>>> release.  I would just feel much better if I could understand how it
>> is
>>>>>>> possible for "System cannot be resolved"?  I tried it with Java 17
>> and
>>>>>> Java
>>>>>>> 8.
>>>>>>
>>>>>> That is a known issue with the Eclipse compiler and Java 17. Are you
>>>>>> sure it also fails with Java 8 with "ant clean test"?
>>>>>>
>>>>>
>>>>> Thank you for looking into this, but with the upcoming sunset of Tomcat
>>>> 8.5
>>>>> I think that it's fine to ignore this issue as it seems like it's
>>>> something
>>>>> specific to my setup.  If you're still interested in more details
>>>> though, I
>>>>> am including them below.
>>>>>
>>>>> Yes, I am running "ant clean test", but I should have been more clear
>> and
>>>>> specified that with Java 8 I get another error:
>>>>>
>>>>> === Java 8 error begin ===
>>>>> Testsuite: org.apache.catalina.filters.TestMapperWebapps
>>>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
>>>>>
>>>>> Testcase: null took 0.001 sec
>>>>>            Caused an ERROR
>>>>> Forked Java VM exited abnormally. Please note the time in the report
>> does
>>>>> not reflect the time until the VM exit.
>>>>> junit.framework.AssertionFailedError: Forked Java VM exited abnormally.
>>>>> Please note the time in the report does not reflect the time until the
>> VM
>>>>> exit.
>>>>>            at java.lang.Thread.run(Thread.java:750)
>>>>>
>>>>> === Java version ===
>>>>> ❯ java -version
>>>>> openjdk version "1.8.0_322"
>>>>> OpenJDK Runtime Environment (Zulu 8.60.0.21-CA-linux64) (build
>>>>> 1.8.0_322-b06)
>>>>> OpenJDK 64-Bit Server VM (Zulu 8.60.0.21-CA-linux64) (build 25.322-b06,
>>>>> mixed mode)
>>>>>
>>>>> === Java home ===
>>>>> ❯ echo $JAVA_HOME
>>>>> /opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64
>>>>>
>>>>> === Ant properties ===
>>>>> ❯ ant echoproperties | grep java
>>>>> [echoproperties] ant.core.lib=/opt/java/apache-ant-1.10.8/lib/ant.jar
>>>>> [echoproperties] ant.home=/opt/java/apache-ant-1.10.8
>>>>> [echoproperties] ant.java.version=1.8
>>>>> [echoproperties] ant.library.dir=/opt/java/apache-ant-1.10.8/lib
>>>>> [echoproperties] build.java.version=11
>>>>> [echoproperties]
>>>> java.7.home=/opt/java/zulu7.40.0.15-ca-jdk7.0.272-linux_x64
>>>>>
>>>>> [echoproperties] java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
>>>>> [echoproperties] java.awt.printerjob=sun.print.PSPrinterJob
>>>>> [echoproperties] java.class.path=/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
>>>>>
>>>>
>> /apache-ant-1.10.8/lib/ant-imageio.jar\:/opt/java/apache-ant-1.10.8/lib/an
>>>>>
>>>>
>> t-jai.jar\:/opt/java/apache-ant-1.10.8/lib/ant-apache-xalan2.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-junit.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-apache-oro.jar\:/
>>>>> opt/java/apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-commons-net.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-apache-regexp.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-testutil.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-apache-resolver.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-antlr.jar\:/opt/java/apache-ant-
>>>>>
>> 1.10.8/lib/ant.jar\:/opt/java/apache-ant-1.10.8/lib/ant-xz.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-swing.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-junit4.jar\:/opt/ja
>>>>> va/apache-ant-1.10.8/lib/ant-netrexx.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-apache-log4j.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-apache-bsf.jar\:/opt/java/apache-a
>>>>> nt-1.10.8/lib/ant-jsch.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-jdepend.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-junitlauncher.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/an
>>>>> t-javamail.jar\:/opt/java/apache-ant-1.10.8/lib/ant-jmf.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-commons-logging.jar\:/opt/java
>>>>> /apache-ant-1.10.8/lib/ant-apache-bcel.
>>>>> jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/lib/tools.jar
>>>>> [echoproperties] java.class.version=52.0
>>>>> [echoproperties]
>>>>>
>>>>
>> java.endorsed.dirs=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/endorsed
>>>>>
>>>>> [echoproperties] java.ext.dirs=/opt/java
>>>>>
>>>>
>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/ext\:/usr/java/packages/lib/ext
>>>>>
>>>>> [echoproperties]
>>>> java.home=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre
>>>>>
>>>>> [echoproperties] java.io.tmpdir=/tmp
>>>>> [echoproperties]
>>>>>
>>>>
>> java.library.path=/usr/java/packages/lib/amd64\:/usr/lib64\:/lib64\:/lib\:/usr/lib
>>>>>
>>>>> [echoproperties] java.net.preferIPv4Stack=false
>>>>> [echoproperties] java.runtime.name=OpenJDK Runtime Environment
>>>>> [echoproperties] java.runtime.version=1.8.0_322-b06
>>>>> [echoproperties] java.specification.name=Java Platform API
>> Specification
>>>>> [echoproperties] java.specification.vendor=Oracle Corporation
>>>>> [echoproperties] java.specification.version=1.8
>>>>> [echoproperties] java.vendor=Azul Systems, Inc.
>>>>> [echoproperties] java.vendor.url=http\://www.azul.com/
>>>>> [echoproperties] java.vendor.url.bug=http\://www.azul.com/support/
>>>>> [echoproperties] java.version=1.8.0_322
>>>>> [echoproperties] java.vm.info=mixed mode
>>>>> [echoproperties] java.vm.name=OpenJDK 64-Bit Server VM
>>>>> [echoproperties] java.vm.specification.name=Java Virtual Machine
>>>>> Specification
>>>>> [echoproperties] java.vm.specification.vendor=Oracle Corporation
>>>>> [echoproperties] java.vm.specification.version=1.8
>>>>> [echoproperties] java.vm.vendor=Azul Systems, Inc.
>>>>> [echoproperties] java.vm.version=25.322-b06
>>>>> [echoproperties] javadoc.failonerror=true
>>>>> [echoproperties] javadoc.failonwarning=false
>>>>> [echoproperties] min.java.version=7
>>>>> [echoproperties] opens.javaio=--add-opens\=java.base/java.io
>>>> \=ALL-UNNAMED
>>>>> [echoproperties]
>>>> opens.javalang=--add-opens\=java.base/java.lang\=ALL-UNNAMED
>>>>>
>>>>> [echoproperties]
>>>> opens.javautil=--add-opens\=java.base/java.util\=ALL-UNNAMED
>>>>>
>>>>> [echoproperties]
>>>>>
>>>>
>> opens.javautilconcurrent=--add-opens\=java.base/java.util.concurrent\=ALL-UNNAMED
>>>>>
>>>>> [echoproperties]
>>>>> opens.sunrmi=--add-opens\=java.rmi/sun.rmi.transport\=ALL-UNNAMED
>>>>>
>>>>> [echoproperties] sun.boot.class.path=/opt/java
>>>>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/resources.jar\:/opt/java
>>>>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/rt
>>>>> .jar\:/opt/java
>>>>>
>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/sunrsasign.jar\:/opt/java
>>>>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/jsse.jar\:/opt/java
>>>>> /zulu8.60.0.2
>>>>> 1-ca-jdk8.0.322-linux_x64/jre/lib/jce.jar\:/opt/java
>>>>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/charsets.jar\:/opt/java
>>>>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/l
>>>>> ib/jfr.jar\:/opt/java
>>>>>
>>>>
>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/cat.jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/classes
>>>>>
>>>>> [echoproperties]
>>>>>
>>>>
>> sun.boot.library.path=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/amd64
>>>>>
>>>>> [echoproperties] sun.java.command=org.apache.tools.ant.launch.Launcher
>>>> -cp
>>>>>     echoproperties
>>>>> [echoproperties] sun.java.launcher=SUN_STANDARD
>>>>> [echoproperties]
>>>>>
>>>>
>> test.formatter=-Dorg.apache.juli.formatter\=java.util.logging.SimpleFormatter
>>>>>
>>>>> [echoproperties]
>>>> test.jvmarg.egd=-Djava.security.egd\=file\:/dev/./urandom
>>>>> [echoproperties] test.name=**/Test*.java
>>>>
>>>> Failing / unreliable disk?
>>>>
>>>
>>> No known issues with the disk - where did you see "unreliable disk"?
>>
>> I didn't, but "can't load java.lang.System" seems like a pretty core
>> failure. SIGSEGV when building the Linux kernel used to be a good
>> indication that your memory chips or motherboard were failing. I was
>> wondering if this was something like that.
>>
> 
> To clarify, the "can't load java.lang.System" error is with Java 17 which
> is incompatible with Tomcat 8.5 and is a known issue with the JDT compiler
> on Java 17 per Mark.
> 
> The error that I see on Java 8 is:
> 
> Testsuite: org.apache.catalina.filters.TestMapperWebapps
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> Testcase: null took 0.001 sec
>            Caused an ERROR
> Forked Java VM exited abnormally. Please note the time in the report does
> not reflect the time until the VM exit.
> junit.framework.AssertionFailedError: Forked Java VM exited abnormally.
> Please note the time in the report does not reflect the time until the VM
> exit.
>            at java.lang.Thread.run(Thread.java:750)
> 

Thanks for clarifying. Do you get a core file or hs_err.[pid] or 
anything like that, or just "computer says no"?

>>>> This is certainly a weird error. And it only happens during Tomcat unit
>>>> tests?
>>>>
>>>
>>> Not all tests - only that single unit test fails:
>>> org.apache.catalina.mapper.TestMapperWebapps
>>
>> So weird.
>>
>>> Dimitris (also on this thread) confirms that it happens on his Fedora
>>> machine as well.  I'm running on Ubuntu.
>>
>> So weird.
>>
>>> IIRC Java 11 produced the same error as Java 8 but I can run that again
>> if
>>> needed, or provide any other required information.
>>
>> It fails every time?
>>
> 
> Yes, that test fails consistently for me.

Well, at least that's something.

Will it fail if you run *only* that one test? Or does it have to be 
running as part of the whole test-suite?

-chris

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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Igal Sapir <is...@apache.org>.
Chris,

On Wed, May 10, 2023 at 9:58 AM Christopher Schultz <
chris@christopherschultz.net> wrote:

> Igal,
>
> On 5/10/23 12:12, Igal Sapir wrote:
> > Chris,
> >
> > On Wed, May 10, 2023 at 8:13 AM Christopher Schultz <
> > chris@christopherschultz.net> wrote:
> >
> >> Igal,
> >>
> >> On 5/10/23 08:48, Igal Sapir wrote:
> >>> Mark,
> >>>
> >>> On Wed, May 10, 2023 at 12:43 AM Mark Thomas <ma...@apache.org> wrote:
> >>>
> >>>> On 09/05/2023 23:28, Igal Sapir wrote:
> >>>>> chris@christopherschultz.net> wrote:
> >>>>
> >>>> <snip/>
> >>>>
> >>>>>> The proposed 8.5.89 release is:
> >>>>>> [ ] Broken - do not release
> >>>>>> [ ] Stable - go ahead and release as 8.5.88 (stable)
> >>>>>>
> >>>>>>
> >>>>> I get FAILED test for org.apache.catalina.mapper.TestMapperWebapps
> >>>>>
> >>>>> FWIW I got that error before so I don't think that it should hold
> back
> >>>> the
> >>>>> release.  I would just feel much better if I could understand how it
> is
> >>>>> possible for "System cannot be resolved"?  I tried it with Java 17
> and
> >>>> Java
> >>>>> 8.
> >>>>
> >>>> That is a known issue with the Eclipse compiler and Java 17. Are you
> >>>> sure it also fails with Java 8 with "ant clean test"?
> >>>>
> >>>
> >>> Thank you for looking into this, but with the upcoming sunset of Tomcat
> >> 8.5
> >>> I think that it's fine to ignore this issue as it seems like it's
> >> something
> >>> specific to my setup.  If you're still interested in more details
> >> though, I
> >>> am including them below.
> >>>
> >>> Yes, I am running "ant clean test", but I should have been more clear
> and
> >>> specified that with Java 8 I get another error:
> >>>
> >>> === Java 8 error begin ===
> >>> Testsuite: org.apache.catalina.filters.TestMapperWebapps
> >>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> >>>
> >>> Testcase: null took 0.001 sec
> >>>           Caused an ERROR
> >>> Forked Java VM exited abnormally. Please note the time in the report
> does
> >>> not reflect the time until the VM exit.
> >>> junit.framework.AssertionFailedError: Forked Java VM exited abnormally.
> >>> Please note the time in the report does not reflect the time until the
> VM
> >>> exit.
> >>>           at java.lang.Thread.run(Thread.java:750)
> >>>
> >>> === Java version ===
> >>> ❯ java -version
> >>> openjdk version "1.8.0_322"
> >>> OpenJDK Runtime Environment (Zulu 8.60.0.21-CA-linux64) (build
> >>> 1.8.0_322-b06)
> >>> OpenJDK 64-Bit Server VM (Zulu 8.60.0.21-CA-linux64) (build 25.322-b06,
> >>> mixed mode)
> >>>
> >>> === Java home ===
> >>> ❯ echo $JAVA_HOME
> >>> /opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64
> >>>
> >>> === Ant properties ===
> >>> ❯ ant echoproperties | grep java
> >>> [echoproperties] ant.core.lib=/opt/java/apache-ant-1.10.8/lib/ant.jar
> >>> [echoproperties] ant.home=/opt/java/apache-ant-1.10.8
> >>> [echoproperties] ant.java.version=1.8
> >>> [echoproperties] ant.library.dir=/opt/java/apache-ant-1.10.8/lib
> >>> [echoproperties] build.java.version=11
> >>> [echoproperties]
> >> java.7.home=/opt/java/zulu7.40.0.15-ca-jdk7.0.272-linux_x64
> >>>
> >>> [echoproperties] java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
> >>> [echoproperties] java.awt.printerjob=sun.print.PSPrinterJob
> >>> [echoproperties] java.class.path=/opt/java
> >>> /apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
> >>>
> >>
> /apache-ant-1.10.8/lib/ant-imageio.jar\:/opt/java/apache-ant-1.10.8/lib/an
> >>>
> >>
> t-jai.jar\:/opt/java/apache-ant-1.10.8/lib/ant-apache-xalan2.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/ant-junit.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/ant-apache-oro.jar\:/
> >>> opt/java/apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/ant-commons-net.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/ant-apache-regexp.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/ant-testutil.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/ant-apache-resolver.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/ant-antlr.jar\:/opt/java/apache-ant-
> >>>
> 1.10.8/lib/ant.jar\:/opt/java/apache-ant-1.10.8/lib/ant-xz.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/ant-swing.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/ant-junit4.jar\:/opt/ja
> >>> va/apache-ant-1.10.8/lib/ant-netrexx.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/ant-apache-log4j.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/ant-apache-bsf.jar\:/opt/java/apache-a
> >>> nt-1.10.8/lib/ant-jsch.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/ant-jdepend.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/ant-junitlauncher.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/an
> >>> t-javamail.jar\:/opt/java/apache-ant-1.10.8/lib/ant-jmf.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/ant-commons-logging.jar\:/opt/java
> >>> /apache-ant-1.10.8/lib/ant-apache-bcel.
> >>> jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/lib/tools.jar
> >>> [echoproperties] java.class.version=52.0
> >>> [echoproperties]
> >>>
> >>
> java.endorsed.dirs=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/endorsed
> >>>
> >>> [echoproperties] java.ext.dirs=/opt/java
> >>>
> >>
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/ext\:/usr/java/packages/lib/ext
> >>>
> >>> [echoproperties]
> >> java.home=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre
> >>>
> >>> [echoproperties] java.io.tmpdir=/tmp
> >>> [echoproperties]
> >>>
> >>
> java.library.path=/usr/java/packages/lib/amd64\:/usr/lib64\:/lib64\:/lib\:/usr/lib
> >>>
> >>> [echoproperties] java.net.preferIPv4Stack=false
> >>> [echoproperties] java.runtime.name=OpenJDK Runtime Environment
> >>> [echoproperties] java.runtime.version=1.8.0_322-b06
> >>> [echoproperties] java.specification.name=Java Platform API
> Specification
> >>> [echoproperties] java.specification.vendor=Oracle Corporation
> >>> [echoproperties] java.specification.version=1.8
> >>> [echoproperties] java.vendor=Azul Systems, Inc.
> >>> [echoproperties] java.vendor.url=http\://www.azul.com/
> >>> [echoproperties] java.vendor.url.bug=http\://www.azul.com/support/
> >>> [echoproperties] java.version=1.8.0_322
> >>> [echoproperties] java.vm.info=mixed mode
> >>> [echoproperties] java.vm.name=OpenJDK 64-Bit Server VM
> >>> [echoproperties] java.vm.specification.name=Java Virtual Machine
> >>> Specification
> >>> [echoproperties] java.vm.specification.vendor=Oracle Corporation
> >>> [echoproperties] java.vm.specification.version=1.8
> >>> [echoproperties] java.vm.vendor=Azul Systems, Inc.
> >>> [echoproperties] java.vm.version=25.322-b06
> >>> [echoproperties] javadoc.failonerror=true
> >>> [echoproperties] javadoc.failonwarning=false
> >>> [echoproperties] min.java.version=7
> >>> [echoproperties] opens.javaio=--add-opens\=java.base/java.io
> >> \=ALL-UNNAMED
> >>> [echoproperties]
> >> opens.javalang=--add-opens\=java.base/java.lang\=ALL-UNNAMED
> >>>
> >>> [echoproperties]
> >> opens.javautil=--add-opens\=java.base/java.util\=ALL-UNNAMED
> >>>
> >>> [echoproperties]
> >>>
> >>
> opens.javautilconcurrent=--add-opens\=java.base/java.util.concurrent\=ALL-UNNAMED
> >>>
> >>> [echoproperties]
> >>> opens.sunrmi=--add-opens\=java.rmi/sun.rmi.transport\=ALL-UNNAMED
> >>>
> >>> [echoproperties] sun.boot.class.path=/opt/java
> >>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/resources.jar\:/opt/java
> >>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/rt
> >>> .jar\:/opt/java
> >>>
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/sunrsasign.jar\:/opt/java
> >>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/jsse.jar\:/opt/java
> >>> /zulu8.60.0.2
> >>> 1-ca-jdk8.0.322-linux_x64/jre/lib/jce.jar\:/opt/java
> >>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/charsets.jar\:/opt/java
> >>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/l
> >>> ib/jfr.jar\:/opt/java
> >>>
> >>
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/cat.jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/classes
> >>>
> >>> [echoproperties]
> >>>
> >>
> sun.boot.library.path=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/amd64
> >>>
> >>> [echoproperties] sun.java.command=org.apache.tools.ant.launch.Launcher
> >> -cp
> >>>    echoproperties
> >>> [echoproperties] sun.java.launcher=SUN_STANDARD
> >>> [echoproperties]
> >>>
> >>
> test.formatter=-Dorg.apache.juli.formatter\=java.util.logging.SimpleFormatter
> >>>
> >>> [echoproperties]
> >> test.jvmarg.egd=-Djava.security.egd\=file\:/dev/./urandom
> >>> [echoproperties] test.name=**/Test*.java
> >>
> >> Failing / unreliable disk?
> >>
> >
> > No known issues with the disk - where did you see "unreliable disk"?
>
> I didn't, but "can't load java.lang.System" seems like a pretty core
> failure. SIGSEGV when building the Linux kernel used to be a good
> indication that your memory chips or motherboard were failing. I was
> wondering if this was something like that.
>

To clarify, the "can't load java.lang.System" error is with Java 17 which
is incompatible with Tomcat 8.5 and is a known issue with the JDT compiler
on Java 17 per Mark.

The error that I see on Java 8 is:

Testsuite: org.apache.catalina.filters.TestMapperWebapps
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
Testcase: null took 0.001 sec
          Caused an ERROR
Forked Java VM exited abnormally. Please note the time in the report does
not reflect the time until the VM exit.
junit.framework.AssertionFailedError: Forked Java VM exited abnormally.
Please note the time in the report does not reflect the time until the VM
exit.
          at java.lang.Thread.run(Thread.java:750)


>
> >> This is certainly a weird error. And it only happens during Tomcat unit
> >> tests?
> >>
> >
> > Not all tests - only that single unit test fails:
> > org.apache.catalina.mapper.TestMapperWebapps
>
> So weird.
>
> > Dimitris (also on this thread) confirms that it happens on his Fedora
> > machine as well.  I'm running on Ubuntu.
>
> So weird.
>
> > IIRC Java 11 produced the same error as Java 8 but I can run that again
> if
> > needed, or provide any other required information.
>
> It fails every time?
>

Yes, that test fails consistently for me.

Igal


>
> -chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Igal,

On 5/10/23 12:12, Igal Sapir wrote:
> Chris,
> 
> On Wed, May 10, 2023 at 8:13 AM Christopher Schultz <
> chris@christopherschultz.net> wrote:
> 
>> Igal,
>>
>> On 5/10/23 08:48, Igal Sapir wrote:
>>> Mark,
>>>
>>> On Wed, May 10, 2023 at 12:43 AM Mark Thomas <ma...@apache.org> wrote:
>>>
>>>> On 09/05/2023 23:28, Igal Sapir wrote:
>>>>> chris@christopherschultz.net> wrote:
>>>>
>>>> <snip/>
>>>>
>>>>>> The proposed 8.5.89 release is:
>>>>>> [ ] Broken - do not release
>>>>>> [ ] Stable - go ahead and release as 8.5.88 (stable)
>>>>>>
>>>>>>
>>>>> I get FAILED test for org.apache.catalina.mapper.TestMapperWebapps
>>>>>
>>>>> FWIW I got that error before so I don't think that it should hold back
>>>> the
>>>>> release.  I would just feel much better if I could understand how it is
>>>>> possible for "System cannot be resolved"?  I tried it with Java 17 and
>>>> Java
>>>>> 8.
>>>>
>>>> That is a known issue with the Eclipse compiler and Java 17. Are you
>>>> sure it also fails with Java 8 with "ant clean test"?
>>>>
>>>
>>> Thank you for looking into this, but with the upcoming sunset of Tomcat
>> 8.5
>>> I think that it's fine to ignore this issue as it seems like it's
>> something
>>> specific to my setup.  If you're still interested in more details
>> though, I
>>> am including them below.
>>>
>>> Yes, I am running "ant clean test", but I should have been more clear and
>>> specified that with Java 8 I get another error:
>>>
>>> === Java 8 error begin ===
>>> Testsuite: org.apache.catalina.filters.TestMapperWebapps
>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
>>>
>>> Testcase: null took 0.001 sec
>>>           Caused an ERROR
>>> Forked Java VM exited abnormally. Please note the time in the report does
>>> not reflect the time until the VM exit.
>>> junit.framework.AssertionFailedError: Forked Java VM exited abnormally.
>>> Please note the time in the report does not reflect the time until the VM
>>> exit.
>>>           at java.lang.Thread.run(Thread.java:750)
>>>
>>> === Java version ===
>>> ❯ java -version
>>> openjdk version "1.8.0_322"
>>> OpenJDK Runtime Environment (Zulu 8.60.0.21-CA-linux64) (build
>>> 1.8.0_322-b06)
>>> OpenJDK 64-Bit Server VM (Zulu 8.60.0.21-CA-linux64) (build 25.322-b06,
>>> mixed mode)
>>>
>>> === Java home ===
>>> ❯ echo $JAVA_HOME
>>> /opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64
>>>
>>> === Ant properties ===
>>> ❯ ant echoproperties | grep java
>>> [echoproperties] ant.core.lib=/opt/java/apache-ant-1.10.8/lib/ant.jar
>>> [echoproperties] ant.home=/opt/java/apache-ant-1.10.8
>>> [echoproperties] ant.java.version=1.8
>>> [echoproperties] ant.library.dir=/opt/java/apache-ant-1.10.8/lib
>>> [echoproperties] build.java.version=11
>>> [echoproperties]
>> java.7.home=/opt/java/zulu7.40.0.15-ca-jdk7.0.272-linux_x64
>>>
>>> [echoproperties] java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
>>> [echoproperties] java.awt.printerjob=sun.print.PSPrinterJob
>>> [echoproperties] java.class.path=/opt/java
>>> /apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
>>>
>> /apache-ant-1.10.8/lib/ant-imageio.jar\:/opt/java/apache-ant-1.10.8/lib/an
>>>
>> t-jai.jar\:/opt/java/apache-ant-1.10.8/lib/ant-apache-xalan2.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/ant-junit.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/ant-apache-oro.jar\:/
>>> opt/java/apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/ant-commons-net.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/ant-apache-regexp.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/ant-testutil.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/ant-apache-resolver.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/ant-antlr.jar\:/opt/java/apache-ant-
>>> 1.10.8/lib/ant.jar\:/opt/java/apache-ant-1.10.8/lib/ant-xz.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/ant-swing.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/ant-junit4.jar\:/opt/ja
>>> va/apache-ant-1.10.8/lib/ant-netrexx.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/ant-apache-log4j.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/ant-apache-bsf.jar\:/opt/java/apache-a
>>> nt-1.10.8/lib/ant-jsch.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/ant-jdepend.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/ant-junitlauncher.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/an
>>> t-javamail.jar\:/opt/java/apache-ant-1.10.8/lib/ant-jmf.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/ant-commons-logging.jar\:/opt/java
>>> /apache-ant-1.10.8/lib/ant-apache-bcel.
>>> jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/lib/tools.jar
>>> [echoproperties] java.class.version=52.0
>>> [echoproperties]
>>>
>> java.endorsed.dirs=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/endorsed
>>>
>>> [echoproperties] java.ext.dirs=/opt/java
>>>
>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/ext\:/usr/java/packages/lib/ext
>>>
>>> [echoproperties]
>> java.home=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre
>>>
>>> [echoproperties] java.io.tmpdir=/tmp
>>> [echoproperties]
>>>
>> java.library.path=/usr/java/packages/lib/amd64\:/usr/lib64\:/lib64\:/lib\:/usr/lib
>>>
>>> [echoproperties] java.net.preferIPv4Stack=false
>>> [echoproperties] java.runtime.name=OpenJDK Runtime Environment
>>> [echoproperties] java.runtime.version=1.8.0_322-b06
>>> [echoproperties] java.specification.name=Java Platform API Specification
>>> [echoproperties] java.specification.vendor=Oracle Corporation
>>> [echoproperties] java.specification.version=1.8
>>> [echoproperties] java.vendor=Azul Systems, Inc.
>>> [echoproperties] java.vendor.url=http\://www.azul.com/
>>> [echoproperties] java.vendor.url.bug=http\://www.azul.com/support/
>>> [echoproperties] java.version=1.8.0_322
>>> [echoproperties] java.vm.info=mixed mode
>>> [echoproperties] java.vm.name=OpenJDK 64-Bit Server VM
>>> [echoproperties] java.vm.specification.name=Java Virtual Machine
>>> Specification
>>> [echoproperties] java.vm.specification.vendor=Oracle Corporation
>>> [echoproperties] java.vm.specification.version=1.8
>>> [echoproperties] java.vm.vendor=Azul Systems, Inc.
>>> [echoproperties] java.vm.version=25.322-b06
>>> [echoproperties] javadoc.failonerror=true
>>> [echoproperties] javadoc.failonwarning=false
>>> [echoproperties] min.java.version=7
>>> [echoproperties] opens.javaio=--add-opens\=java.base/java.io
>> \=ALL-UNNAMED
>>> [echoproperties]
>> opens.javalang=--add-opens\=java.base/java.lang\=ALL-UNNAMED
>>>
>>> [echoproperties]
>> opens.javautil=--add-opens\=java.base/java.util\=ALL-UNNAMED
>>>
>>> [echoproperties]
>>>
>> opens.javautilconcurrent=--add-opens\=java.base/java.util.concurrent\=ALL-UNNAMED
>>>
>>> [echoproperties]
>>> opens.sunrmi=--add-opens\=java.rmi/sun.rmi.transport\=ALL-UNNAMED
>>>
>>> [echoproperties] sun.boot.class.path=/opt/java
>>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/resources.jar\:/opt/java
>>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/rt
>>> .jar\:/opt/java
>>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/sunrsasign.jar\:/opt/java
>>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/jsse.jar\:/opt/java
>>> /zulu8.60.0.2
>>> 1-ca-jdk8.0.322-linux_x64/jre/lib/jce.jar\:/opt/java
>>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/charsets.jar\:/opt/java
>>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/l
>>> ib/jfr.jar\:/opt/java
>>>
>> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/cat.jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/classes
>>>
>>> [echoproperties]
>>>
>> sun.boot.library.path=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/amd64
>>>
>>> [echoproperties] sun.java.command=org.apache.tools.ant.launch.Launcher
>> -cp
>>>    echoproperties
>>> [echoproperties] sun.java.launcher=SUN_STANDARD
>>> [echoproperties]
>>>
>> test.formatter=-Dorg.apache.juli.formatter\=java.util.logging.SimpleFormatter
>>>
>>> [echoproperties]
>> test.jvmarg.egd=-Djava.security.egd\=file\:/dev/./urandom
>>> [echoproperties] test.name=**/Test*.java
>>
>> Failing / unreliable disk?
>>
> 
> No known issues with the disk - where did you see "unreliable disk"?

I didn't, but "can't load java.lang.System" seems like a pretty core 
failure. SIGSEGV when building the Linux kernel used to be a good 
indication that your memory chips or motherboard were failing. I was 
wondering if this was something like that.

>> This is certainly a weird error. And it only happens during Tomcat unit
>> tests?
>>
> 
> Not all tests - only that single unit test fails:
> org.apache.catalina.mapper.TestMapperWebapps

So weird.

> Dimitris (also on this thread) confirms that it happens on his Fedora
> machine as well.  I'm running on Ubuntu.

So weird.

> IIRC Java 11 produced the same error as Java 8 but I can run that again if
> needed, or provide any other required information.

It fails every time?

-chris

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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Igal Sapir <is...@apache.org>.
Chris,

On Wed, May 10, 2023 at 8:13 AM Christopher Schultz <
chris@christopherschultz.net> wrote:

> Igal,
>
> On 5/10/23 08:48, Igal Sapir wrote:
> > Mark,
> >
> > On Wed, May 10, 2023 at 12:43 AM Mark Thomas <ma...@apache.org> wrote:
> >
> >> On 09/05/2023 23:28, Igal Sapir wrote:
> >>> chris@christopherschultz.net> wrote:
> >>
> >> <snip/>
> >>
> >>>> The proposed 8.5.89 release is:
> >>>> [ ] Broken - do not release
> >>>> [ ] Stable - go ahead and release as 8.5.88 (stable)
> >>>>
> >>>>
> >>> I get FAILED test for org.apache.catalina.mapper.TestMapperWebapps
> >>>
> >>> FWIW I got that error before so I don't think that it should hold back
> >> the
> >>> release.  I would just feel much better if I could understand how it is
> >>> possible for "System cannot be resolved"?  I tried it with Java 17 and
> >> Java
> >>> 8.
> >>
> >> That is a known issue with the Eclipse compiler and Java 17. Are you
> >> sure it also fails with Java 8 with "ant clean test"?
> >>
> >
> > Thank you for looking into this, but with the upcoming sunset of Tomcat
> 8.5
> > I think that it's fine to ignore this issue as it seems like it's
> something
> > specific to my setup.  If you're still interested in more details
> though, I
> > am including them below.
> >
> > Yes, I am running "ant clean test", but I should have been more clear and
> > specified that with Java 8 I get another error:
> >
> > === Java 8 error begin ===
> > Testsuite: org.apache.catalina.filters.TestMapperWebapps
> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> >
> > Testcase: null took 0.001 sec
> >          Caused an ERROR
> > Forked Java VM exited abnormally. Please note the time in the report does
> > not reflect the time until the VM exit.
> > junit.framework.AssertionFailedError: Forked Java VM exited abnormally.
> > Please note the time in the report does not reflect the time until the VM
> > exit.
> >          at java.lang.Thread.run(Thread.java:750)
> >
> > === Java version ===
> > ❯ java -version
> > openjdk version "1.8.0_322"
> > OpenJDK Runtime Environment (Zulu 8.60.0.21-CA-linux64) (build
> > 1.8.0_322-b06)
> > OpenJDK 64-Bit Server VM (Zulu 8.60.0.21-CA-linux64) (build 25.322-b06,
> > mixed mode)
> >
> > === Java home ===
> > ❯ echo $JAVA_HOME
> > /opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64
> >
> > === Ant properties ===
> > ❯ ant echoproperties | grep java
> > [echoproperties] ant.core.lib=/opt/java/apache-ant-1.10.8/lib/ant.jar
> > [echoproperties] ant.home=/opt/java/apache-ant-1.10.8
> > [echoproperties] ant.java.version=1.8
> > [echoproperties] ant.library.dir=/opt/java/apache-ant-1.10.8/lib
> > [echoproperties] build.java.version=11
> > [echoproperties]
> java.7.home=/opt/java/zulu7.40.0.15-ca-jdk7.0.272-linux_x64
> >
> > [echoproperties] java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
> > [echoproperties] java.awt.printerjob=sun.print.PSPrinterJob
> > [echoproperties] java.class.path=/opt/java
> > /apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
> >
> /apache-ant-1.10.8/lib/ant-imageio.jar\:/opt/java/apache-ant-1.10.8/lib/an
> >
> t-jai.jar\:/opt/java/apache-ant-1.10.8/lib/ant-apache-xalan2.jar\:/opt/java
> > /apache-ant-1.10.8/lib/ant-junit.jar\:/opt/java
> > /apache-ant-1.10.8/lib/ant-apache-oro.jar\:/
> > opt/java/apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
> > /apache-ant-1.10.8/lib/ant-commons-net.jar\:/opt/java
> > /apache-ant-1.10.8/lib/ant-apache-regexp.jar\:/opt/java
> > /apache-ant-1.10.8/lib/ant-testutil.jar\:/opt/java
> > /apache-ant-1.10.8/lib/ant-apache-resolver.jar\:/opt/java
> > /apache-ant-1.10.8/lib/ant-antlr.jar\:/opt/java/apache-ant-
> > 1.10.8/lib/ant.jar\:/opt/java/apache-ant-1.10.8/lib/ant-xz.jar\:/opt/java
> > /apache-ant-1.10.8/lib/ant-swing.jar\:/opt/java
> > /apache-ant-1.10.8/lib/ant-junit4.jar\:/opt/ja
> > va/apache-ant-1.10.8/lib/ant-netrexx.jar\:/opt/java
> > /apache-ant-1.10.8/lib/ant-apache-log4j.jar\:/opt/java
> > /apache-ant-1.10.8/lib/ant-apache-bsf.jar\:/opt/java/apache-a
> > nt-1.10.8/lib/ant-jsch.jar\:/opt/java
> > /apache-ant-1.10.8/lib/ant-jdepend.jar\:/opt/java
> > /apache-ant-1.10.8/lib/ant-junitlauncher.jar\:/opt/java
> > /apache-ant-1.10.8/lib/an
> > t-javamail.jar\:/opt/java/apache-ant-1.10.8/lib/ant-jmf.jar\:/opt/java
> > /apache-ant-1.10.8/lib/ant-commons-logging.jar\:/opt/java
> > /apache-ant-1.10.8/lib/ant-apache-bcel.
> > jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/lib/tools.jar
> > [echoproperties] java.class.version=52.0
> > [echoproperties]
> >
> java.endorsed.dirs=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/endorsed
> >
> > [echoproperties] java.ext.dirs=/opt/java
> >
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/ext\:/usr/java/packages/lib/ext
> >
> > [echoproperties]
> java.home=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre
> >
> > [echoproperties] java.io.tmpdir=/tmp
> > [echoproperties]
> >
> java.library.path=/usr/java/packages/lib/amd64\:/usr/lib64\:/lib64\:/lib\:/usr/lib
> >
> > [echoproperties] java.net.preferIPv4Stack=false
> > [echoproperties] java.runtime.name=OpenJDK Runtime Environment
> > [echoproperties] java.runtime.version=1.8.0_322-b06
> > [echoproperties] java.specification.name=Java Platform API Specification
> > [echoproperties] java.specification.vendor=Oracle Corporation
> > [echoproperties] java.specification.version=1.8
> > [echoproperties] java.vendor=Azul Systems, Inc.
> > [echoproperties] java.vendor.url=http\://www.azul.com/
> > [echoproperties] java.vendor.url.bug=http\://www.azul.com/support/
> > [echoproperties] java.version=1.8.0_322
> > [echoproperties] java.vm.info=mixed mode
> > [echoproperties] java.vm.name=OpenJDK 64-Bit Server VM
> > [echoproperties] java.vm.specification.name=Java Virtual Machine
> > Specification
> > [echoproperties] java.vm.specification.vendor=Oracle Corporation
> > [echoproperties] java.vm.specification.version=1.8
> > [echoproperties] java.vm.vendor=Azul Systems, Inc.
> > [echoproperties] java.vm.version=25.322-b06
> > [echoproperties] javadoc.failonerror=true
> > [echoproperties] javadoc.failonwarning=false
> > [echoproperties] min.java.version=7
> > [echoproperties] opens.javaio=--add-opens\=java.base/java.io
> \=ALL-UNNAMED
> > [echoproperties]
> opens.javalang=--add-opens\=java.base/java.lang\=ALL-UNNAMED
> >
> > [echoproperties]
> opens.javautil=--add-opens\=java.base/java.util\=ALL-UNNAMED
> >
> > [echoproperties]
> >
> opens.javautilconcurrent=--add-opens\=java.base/java.util.concurrent\=ALL-UNNAMED
> >
> > [echoproperties]
> > opens.sunrmi=--add-opens\=java.rmi/sun.rmi.transport\=ALL-UNNAMED
> >
> > [echoproperties] sun.boot.class.path=/opt/java
> > /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/resources.jar\:/opt/java
> > /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/rt
> > .jar\:/opt/java
> > /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/sunrsasign.jar\:/opt/java
> > /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/jsse.jar\:/opt/java
> > /zulu8.60.0.2
> > 1-ca-jdk8.0.322-linux_x64/jre/lib/jce.jar\:/opt/java
> > /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/charsets.jar\:/opt/java
> > /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/l
> > ib/jfr.jar\:/opt/java
> >
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/cat.jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/classes
> >
> > [echoproperties]
> >
> sun.boot.library.path=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/amd64
> >
> > [echoproperties] sun.java.command=org.apache.tools.ant.launch.Launcher
> -cp
> >   echoproperties
> > [echoproperties] sun.java.launcher=SUN_STANDARD
> > [echoproperties]
> >
> test.formatter=-Dorg.apache.juli.formatter\=java.util.logging.SimpleFormatter
> >
> > [echoproperties]
> test.jvmarg.egd=-Djava.security.egd\=file\:/dev/./urandom
> > [echoproperties] test.name=**/Test*.java
>
> Failing / unreliable disk?
>

No known issues with the disk - where did you see "unreliable disk"?


>
> This is certainly a weird error. And it only happens during Tomcat unit
> tests?
>

Not all tests - only that single unit test fails:
org.apache.catalina.mapper.TestMapperWebapps

Dimitris (also on this thread) confirms that it happens on his Fedora
machine as well.  I'm running on Ubuntu.

IIRC Java 11 produced the same error as Java 8 but I can run that again if
needed, or provide any other required information.

Igal



>
> -chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Igal,

On 5/10/23 08:48, Igal Sapir wrote:
> Mark,
> 
> On Wed, May 10, 2023 at 12:43 AM Mark Thomas <ma...@apache.org> wrote:
> 
>> On 09/05/2023 23:28, Igal Sapir wrote:
>>> chris@christopherschultz.net> wrote:
>>
>> <snip/>
>>
>>>> The proposed 8.5.89 release is:
>>>> [ ] Broken - do not release
>>>> [ ] Stable - go ahead and release as 8.5.88 (stable)
>>>>
>>>>
>>> I get FAILED test for org.apache.catalina.mapper.TestMapperWebapps
>>>
>>> FWIW I got that error before so I don't think that it should hold back
>> the
>>> release.  I would just feel much better if I could understand how it is
>>> possible for "System cannot be resolved"?  I tried it with Java 17 and
>> Java
>>> 8.
>>
>> That is a known issue with the Eclipse compiler and Java 17. Are you
>> sure it also fails with Java 8 with "ant clean test"?
>>
> 
> Thank you for looking into this, but with the upcoming sunset of Tomcat 8.5
> I think that it's fine to ignore this issue as it seems like it's something
> specific to my setup.  If you're still interested in more details though, I
> am including them below.
> 
> Yes, I am running "ant clean test", but I should have been more clear and
> specified that with Java 8 I get another error:
> 
> === Java 8 error begin ===
> Testsuite: org.apache.catalina.filters.TestMapperWebapps
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> 
> Testcase: null took 0.001 sec
>          Caused an ERROR
> Forked Java VM exited abnormally. Please note the time in the report does
> not reflect the time until the VM exit.
> junit.framework.AssertionFailedError: Forked Java VM exited abnormally.
> Please note the time in the report does not reflect the time until the VM
> exit.
>          at java.lang.Thread.run(Thread.java:750)
> 
> === Java version ===
> ❯ java -version
> openjdk version "1.8.0_322"
> OpenJDK Runtime Environment (Zulu 8.60.0.21-CA-linux64) (build
> 1.8.0_322-b06)
> OpenJDK 64-Bit Server VM (Zulu 8.60.0.21-CA-linux64) (build 25.322-b06,
> mixed mode)
> 
> === Java home ===
> ❯ echo $JAVA_HOME
> /opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64
> 
> === Ant properties ===
> ❯ ant echoproperties | grep java
> [echoproperties] ant.core.lib=/opt/java/apache-ant-1.10.8/lib/ant.jar
> [echoproperties] ant.home=/opt/java/apache-ant-1.10.8
> [echoproperties] ant.java.version=1.8
> [echoproperties] ant.library.dir=/opt/java/apache-ant-1.10.8/lib
> [echoproperties] build.java.version=11
> [echoproperties] java.7.home=/opt/java/zulu7.40.0.15-ca-jdk7.0.272-linux_x64
> 
> [echoproperties] java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
> [echoproperties] java.awt.printerjob=sun.print.PSPrinterJob
> [echoproperties] java.class.path=/opt/java
> /apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-imageio.jar\:/opt/java/apache-ant-1.10.8/lib/an
> t-jai.jar\:/opt/java/apache-ant-1.10.8/lib/ant-apache-xalan2.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-junit.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-apache-oro.jar\:/
> opt/java/apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-commons-net.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-apache-regexp.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-testutil.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-apache-resolver.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-antlr.jar\:/opt/java/apache-ant-
> 1.10.8/lib/ant.jar\:/opt/java/apache-ant-1.10.8/lib/ant-xz.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-swing.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-junit4.jar\:/opt/ja
> va/apache-ant-1.10.8/lib/ant-netrexx.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-apache-log4j.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-apache-bsf.jar\:/opt/java/apache-a
> nt-1.10.8/lib/ant-jsch.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-jdepend.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-junitlauncher.jar\:/opt/java
> /apache-ant-1.10.8/lib/an
> t-javamail.jar\:/opt/java/apache-ant-1.10.8/lib/ant-jmf.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-commons-logging.jar\:/opt/java
> /apache-ant-1.10.8/lib/ant-apache-bcel.
> jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/lib/tools.jar
> [echoproperties] java.class.version=52.0
> [echoproperties]
> java.endorsed.dirs=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/endorsed
> 
> [echoproperties] java.ext.dirs=/opt/java
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/ext\:/usr/java/packages/lib/ext
> 
> [echoproperties] java.home=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre
> 
> [echoproperties] java.io.tmpdir=/tmp
> [echoproperties]
> java.library.path=/usr/java/packages/lib/amd64\:/usr/lib64\:/lib64\:/lib\:/usr/lib
> 
> [echoproperties] java.net.preferIPv4Stack=false
> [echoproperties] java.runtime.name=OpenJDK Runtime Environment
> [echoproperties] java.runtime.version=1.8.0_322-b06
> [echoproperties] java.specification.name=Java Platform API Specification
> [echoproperties] java.specification.vendor=Oracle Corporation
> [echoproperties] java.specification.version=1.8
> [echoproperties] java.vendor=Azul Systems, Inc.
> [echoproperties] java.vendor.url=http\://www.azul.com/
> [echoproperties] java.vendor.url.bug=http\://www.azul.com/support/
> [echoproperties] java.version=1.8.0_322
> [echoproperties] java.vm.info=mixed mode
> [echoproperties] java.vm.name=OpenJDK 64-Bit Server VM
> [echoproperties] java.vm.specification.name=Java Virtual Machine
> Specification
> [echoproperties] java.vm.specification.vendor=Oracle Corporation
> [echoproperties] java.vm.specification.version=1.8
> [echoproperties] java.vm.vendor=Azul Systems, Inc.
> [echoproperties] java.vm.version=25.322-b06
> [echoproperties] javadoc.failonerror=true
> [echoproperties] javadoc.failonwarning=false
> [echoproperties] min.java.version=7
> [echoproperties] opens.javaio=--add-opens\=java.base/java.io\=ALL-UNNAMED
> [echoproperties] opens.javalang=--add-opens\=java.base/java.lang\=ALL-UNNAMED
> 
> [echoproperties] opens.javautil=--add-opens\=java.base/java.util\=ALL-UNNAMED
> 
> [echoproperties]
> opens.javautilconcurrent=--add-opens\=java.base/java.util.concurrent\=ALL-UNNAMED
> 
> [echoproperties]
> opens.sunrmi=--add-opens\=java.rmi/sun.rmi.transport\=ALL-UNNAMED
> 
> [echoproperties] sun.boot.class.path=/opt/java
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/resources.jar\:/opt/java
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/rt
> .jar\:/opt/java
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/sunrsasign.jar\:/opt/java
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/jsse.jar\:/opt/java
> /zulu8.60.0.2
> 1-ca-jdk8.0.322-linux_x64/jre/lib/jce.jar\:/opt/java
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/charsets.jar\:/opt/java
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/l
> ib/jfr.jar\:/opt/java
> /zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/cat.jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/classes
> 
> [echoproperties]
> sun.boot.library.path=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/amd64
> 
> [echoproperties] sun.java.command=org.apache.tools.ant.launch.Launcher -cp
>   echoproperties
> [echoproperties] sun.java.launcher=SUN_STANDARD
> [echoproperties]
> test.formatter=-Dorg.apache.juli.formatter\=java.util.logging.SimpleFormatter
> 
> [echoproperties] test.jvmarg.egd=-Djava.security.egd\=file\:/dev/./urandom
> [echoproperties] test.name=**/Test*.java

Failing / unreliable disk?

This is certainly a weird error. And it only happens during Tomcat unit 
tests?

-chris

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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Igal Sapir <is...@apache.org>.
Mark,

On Wed, May 10, 2023 at 12:43 AM Mark Thomas <ma...@apache.org> wrote:

> On 09/05/2023 23:28, Igal Sapir wrote:
> > chris@christopherschultz.net> wrote:
>
> <snip/>
>
> >> The proposed 8.5.89 release is:
> >> [ ] Broken - do not release
> >> [ ] Stable - go ahead and release as 8.5.88 (stable)
> >>
> >>
> > I get FAILED test for org.apache.catalina.mapper.TestMapperWebapps
> >
> > FWIW I got that error before so I don't think that it should hold back
> the
> > release.  I would just feel much better if I could understand how it is
> > possible for "System cannot be resolved"?  I tried it with Java 17 and
> Java
> > 8.
>
> That is a known issue with the Eclipse compiler and Java 17. Are you
> sure it also fails with Java 8 with "ant clean test"?
>

Thank you for looking into this, but with the upcoming sunset of Tomcat 8.5
I think that it's fine to ignore this issue as it seems like it's something
specific to my setup.  If you're still interested in more details though, I
am including them below.

Yes, I am running "ant clean test", but I should have been more clear and
specified that with Java 8 I get another error:

=== Java 8 error begin ===
Testsuite: org.apache.catalina.filters.TestMapperWebapps
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec

Testcase: null took 0.001 sec
        Caused an ERROR
Forked Java VM exited abnormally. Please note the time in the report does
not reflect the time until the VM exit.
junit.framework.AssertionFailedError: Forked Java VM exited abnormally.
Please note the time in the report does not reflect the time until the VM
exit.
        at java.lang.Thread.run(Thread.java:750)

=== Java version ===
❯ java -version
openjdk version "1.8.0_322"
OpenJDK Runtime Environment (Zulu 8.60.0.21-CA-linux64) (build
1.8.0_322-b06)
OpenJDK 64-Bit Server VM (Zulu 8.60.0.21-CA-linux64) (build 25.322-b06,
mixed mode)

=== Java home ===
❯ echo $JAVA_HOME
/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64

=== Ant properties ===
❯ ant echoproperties | grep java
[echoproperties] ant.core.lib=/opt/java/apache-ant-1.10.8/lib/ant.jar
[echoproperties] ant.home=/opt/java/apache-ant-1.10.8
[echoproperties] ant.java.version=1.8
[echoproperties] ant.library.dir=/opt/java/apache-ant-1.10.8/lib
[echoproperties] build.java.version=11
[echoproperties] java.7.home=/opt/java/zulu7.40.0.15-ca-jdk7.0.272-linux_x64

[echoproperties] java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
[echoproperties] java.awt.printerjob=sun.print.PSPrinterJob
[echoproperties] java.class.path=/opt/java
/apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-imageio.jar\:/opt/java/apache-ant-1.10.8/lib/an
t-jai.jar\:/opt/java/apache-ant-1.10.8/lib/ant-apache-xalan2.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-junit.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-apache-oro.jar\:/
opt/java/apache-ant-1.10.8/lib/ant-launcher.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-commons-net.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-apache-regexp.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-testutil.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-apache-resolver.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-antlr.jar\:/opt/java/apache-ant-
1.10.8/lib/ant.jar\:/opt/java/apache-ant-1.10.8/lib/ant-xz.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-swing.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-junit4.jar\:/opt/ja
va/apache-ant-1.10.8/lib/ant-netrexx.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-apache-log4j.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-apache-bsf.jar\:/opt/java/apache-a
nt-1.10.8/lib/ant-jsch.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-jdepend.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-junitlauncher.jar\:/opt/java
/apache-ant-1.10.8/lib/an
t-javamail.jar\:/opt/java/apache-ant-1.10.8/lib/ant-jmf.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-commons-logging.jar\:/opt/java
/apache-ant-1.10.8/lib/ant-apache-bcel.
jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/lib/tools.jar
[echoproperties] java.class.version=52.0
[echoproperties]
java.endorsed.dirs=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/endorsed

[echoproperties] java.ext.dirs=/opt/java
/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/ext\:/usr/java/packages/lib/ext

[echoproperties] java.home=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre

[echoproperties] java.io.tmpdir=/tmp
[echoproperties]
java.library.path=/usr/java/packages/lib/amd64\:/usr/lib64\:/lib64\:/lib\:/usr/lib

[echoproperties] java.net.preferIPv4Stack=false
[echoproperties] java.runtime.name=OpenJDK Runtime Environment
[echoproperties] java.runtime.version=1.8.0_322-b06
[echoproperties] java.specification.name=Java Platform API Specification
[echoproperties] java.specification.vendor=Oracle Corporation
[echoproperties] java.specification.version=1.8
[echoproperties] java.vendor=Azul Systems, Inc.
[echoproperties] java.vendor.url=http\://www.azul.com/
[echoproperties] java.vendor.url.bug=http\://www.azul.com/support/
[echoproperties] java.version=1.8.0_322
[echoproperties] java.vm.info=mixed mode
[echoproperties] java.vm.name=OpenJDK 64-Bit Server VM
[echoproperties] java.vm.specification.name=Java Virtual Machine
Specification
[echoproperties] java.vm.specification.vendor=Oracle Corporation
[echoproperties] java.vm.specification.version=1.8
[echoproperties] java.vm.vendor=Azul Systems, Inc.
[echoproperties] java.vm.version=25.322-b06
[echoproperties] javadoc.failonerror=true
[echoproperties] javadoc.failonwarning=false
[echoproperties] min.java.version=7
[echoproperties] opens.javaio=--add-opens\=java.base/java.io\=ALL-UNNAMED
[echoproperties] opens.javalang=--add-opens\=java.base/java.lang\=ALL-UNNAMED

[echoproperties] opens.javautil=--add-opens\=java.base/java.util\=ALL-UNNAMED

[echoproperties]
opens.javautilconcurrent=--add-opens\=java.base/java.util.concurrent\=ALL-UNNAMED

[echoproperties]
opens.sunrmi=--add-opens\=java.rmi/sun.rmi.transport\=ALL-UNNAMED

[echoproperties] sun.boot.class.path=/opt/java
/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/resources.jar\:/opt/java
/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/rt
.jar\:/opt/java
/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/sunrsasign.jar\:/opt/java
/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/jsse.jar\:/opt/java
/zulu8.60.0.2
1-ca-jdk8.0.322-linux_x64/jre/lib/jce.jar\:/opt/java
/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/charsets.jar\:/opt/java
/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/l
ib/jfr.jar\:/opt/java
/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/cat.jar\:/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/classes

[echoproperties]
sun.boot.library.path=/opt/java/zulu8.60.0.21-ca-jdk8.0.322-linux_x64/jre/lib/amd64

[echoproperties] sun.java.command=org.apache.tools.ant.launch.Launcher -cp
 echoproperties
[echoproperties] sun.java.launcher=SUN_STANDARD
[echoproperties]
test.formatter=-Dorg.apache.juli.formatter\=java.util.logging.SimpleFormatter

[echoproperties] test.jvmarg.egd=-Djava.security.egd\=file\:/dev/./urandom
[echoproperties] test.name=**/Test*.java

Best,

Igal



>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Mark Thomas <ma...@apache.org>.
On 09/05/2023 23:28, Igal Sapir wrote:
> chris@christopherschultz.net> wrote:

<snip/>

>> The proposed 8.5.89 release is:
>> [ ] Broken - do not release
>> [ ] Stable - go ahead and release as 8.5.88 (stable)
>>
>>
> I get FAILED test for org.apache.catalina.mapper.TestMapperWebapps
> 
> FWIW I got that error before so I don't think that it should hold back the
> release.  I would just feel much better if I could understand how it is
> possible for "System cannot be resolved"?  I tried it with Java 17 and Java
> 8.

That is a known issue with the Eclipse compiler and Java 17. Are you 
sure it also fails with Java 8 with "ant clean test"?

Mark

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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Igal Sapir <is...@apache.org>.
On Tue, May 9, 2023 at 10:58 AM Christopher Schultz <
chris@christopherschultz.net> wrote:

> The proposed Apache Tomcat 8.5.89 release is now available for voting.
>
> The notable changes compared to 8.5.88 are:
>
> - Many improvements to the JSON access log valve.
>
> - Deprecate support for the HTTP Connector settings rejectIllegalHeader
>     and allowHostHeaderMismatch and reject HTTP headers without names.
>
> - Add a RateLimitFilter which can be used to mitigate DoS and Brute
>     Force attacks.
>
> Along with lots of other bug fixes and improvements.
>
> For full details, see the changelog:
> https://nightlies.apache.org/tomcat/tomcat-8.5.x/docs/changelog.html
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.89/
>
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1436
>
> The tag is:
> https://github.com/apache/tomcat/tree/8.5.89/
> da91bd19ef2cb34a96e4ad04749dfc97c941db87
>
> The proposed 8.5.89 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 8.5.88 (stable)
>
>
I get FAILED test for org.apache.catalina.mapper.TestMapperWebapps

FWIW I got that error before so I don't think that it should hold back the
release.  I would just feel much better if I could understand how it is
possible for "System cannot be resolved"?  I tried it with Java 17 and Java
8.

Full output below:

Testsuite: org.apache.catalina.mapper.TestMapperWebapps
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.293 sec
------------- Standard Output ---------------
ContextListener: attributeAdded('javax.websocket.server.ServerContainer',
'org.apache.tomcat.websocket.server.WsServerContainer@52dfa1ac')
------------- ---------------- ---------------
------------- Standard Error -----------------
09-May-2023 14:09:53.012 INFO [main]
org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case
[testWelcomeFileStrict]
09-May-2023 14:09:54.309 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["http-nio2-127.0.0.1-auto-1"]
09-May-2023 14:09:54.631 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
[Tomcat]
09-May-2023 14:09:54.632 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
engine: [Apache Tomcat/8.5.89]
09-May-2023 14:09:54.921 INFO [localhost-startStop-1]
org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No
global web.xml found
09-May-2023 14:09:55.267 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["http-nio2-127.0.0.1-auto-1-39677"]
09-May-2023 14:09:56.469 INFO [main]
org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
["http-nio2-127.0.0.1-auto-1-39677"]
09-May-2023 14:09:56.474 INFO [main]
org.apache.catalina.core.StandardService.stopInternal Stopping service
[Tomcat]
09-May-2023 14:09:56.565 INFO [main]
org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
["http-nio2-127.0.0.1-auto-1-39677"]
09-May-2023 14:09:56.568 INFO [main]
org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
["http-nio2-127.0.0.1-auto-1-39677"]
09-May-2023 14:09:56.584 INFO [main]
org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case
[testContextRoot_Bug53339]
09-May-2023 14:09:56.600 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["http-nio2-127.0.0.1-auto-2"]
09-May-2023 14:09:56.633 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
[Tomcat]
09-May-2023 14:09:56.634 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
engine: [Apache Tomcat/8.5.89]
09-May-2023 14:09:56.684 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["http-nio2-127.0.0.1-auto-2-33611"]
09-May-2023 14:09:56.690 INFO [main]
org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
["http-nio2-127.0.0.1-auto-2-33611"]
09-May-2023 14:09:56.694 INFO [main]
org.apache.catalina.core.StandardService.stopInternal Stopping service
[Tomcat]
09-May-2023 14:09:56.698 INFO [main]
org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
["http-nio2-127.0.0.1-auto-2-33611"]
09-May-2023 14:09:56.698 INFO [main]
org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
["http-nio2-127.0.0.1-auto-2-33611"]
09-May-2023 14:09:56.703 INFO [main]
org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case
[testContextReload_Bug56658_Bug56882]
09-May-2023 14:09:56.713 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["http-nio2-127.0.0.1-auto-3"]
09-May-2023 14:09:56.777 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
[Tomcat]
09-May-2023 14:09:56.777 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
engine: [Apache Tomcat/8.5.89]
09-May-2023 14:09:56.826 INFO [localhost-startStop-1]
org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No
global web.xml found
09-May-2023 14:09:57.269 INFO [localhost-startStop-1]
org.apache.catalina.core.ApplicationContext.log ContextListener:
contextInitialized()
09-May-2023 14:09:57.269 INFO [localhost-startStop-1]
org.apache.catalina.core.ApplicationContext.log SessionListener:
contextInitialized()
09-May-2023 14:09:57.270 INFO [localhost-startStop-1]
org.apache.catalina.core.ApplicationContext.log ContextListener:
attributeAdded('StockTicker', 'async.Stockticker@20f82f1a')
09-May-2023 14:09:57.292 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["http-nio2-127.0.0.1-auto-3-37777"]
09-May-2023 14:09:57.334 INFO [http-nio2-127.0.0.1-auto-3-exec-2]
org.apache.catalina.core.ApplicationContext.log ContextListener:
attributeAdded('org.apache.jasper.runtime.JspApplicationContextImpl',
'org.apache.jasper.runtime.JspApplicationContextImpl@13b4d1fd')
09-May-2023 14:09:57.401 INFO [http-nio2-127.0.0.1-auto-3-exec-2]
org.apache.catalina.core.ApplicationContext.log ContextListener:
attributeAdded('org.apache.jasper.compiler.ELInterpreter',
'org.apache.jasper.compiler.ELInterpreterFactory$DefaultELInterpreter@7152f30c
')
09-May-2023 14:09:57.401 INFO [http-nio2-127.0.0.1-auto-3-exec-2]
org.apache.catalina.core.ApplicationContext.log ContextListener:
attributeAdded('org.apache.jasper.compiler.StringInterpreter',
'org.apache.jasper.compiler.StringInterpreterFactory$DefaultStringInterpreter@756b5db1
')
09-May-2023 14:09:57.560 INFO [http-nio2-127.0.0.1-auto-3-exec-2]
org.apache.catalina.core.ApplicationContext.log SessionListener:
sessionCreated('35AEBC38C5018E378149B1E5F7C1AC1D')
09-May-2023 14:09:57.708 SEVERE [http-nio2-127.0.0.1-auto-3-exec-2]
org.apache.jasper.compiler.JDTCompiler$1.findType Failed to load class
[java.lang.System]
org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException
at
org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader.<init>(ClassFileReader.java:406)
at org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:231)
at org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:207)
at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:174)
at
org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getType(PackageBinding.java:145)
at org.eclipse.jdt.internal.compiler.lookup.Scope.findType(Scope.java:1926)
at
org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Scope.java:3254)
at
org.eclipse.jdt.internal.compiler.lookup.Scope.getBinding(Scope.java:2192)
at
org.eclipse.jdt.internal.compiler.ast.SingleNameReference.resolveType(SingleNameReference.java:987)
at
org.eclipse.jdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:636)
at
org.eclipse.jdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:684)
at
org.eclipse.jdt.internal.compiler.ast.Expression.resolve(Expression.java:1026)
at org.eclipse.jdt.internal.compiler.ast.Block.resolveUsing(Block.java:130)
at
org.eclipse.jdt.internal.compiler.ast.TryStatement.resolve(TryStatement.java:1073)
at
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:634)
at
org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:306)
at
org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:544)
at
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1195)
at
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1308)
at
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:593)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:867)
at
org.eclipse.jdt.internal.compiler.Compiler.processCompiledUnits(Compiler.java:550)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:462)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:417)
at
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:587)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:381)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:597)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:383)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:331)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:583)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)
at
org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)
at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:115)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483)
at
org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:355)
at
org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:54)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617)
at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:932)
at
org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1720)
at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at
org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1259)
at
org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:342)
at
org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:482)
at
org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:418)
at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129)
at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221)
at
java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113)
at
org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at
org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:833)
09-May-2023 14:09:57.726 SEVERE [http-nio2-127.0.0.1-auto-3-exec-2]
org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for
servlet [jsp] in context with path [/examples] threw exception [Unable to
compile class for JSP:

An error occurred at line: [17] in the jsp file: [/jsp/include/foo.jsp]
System cannot be resolved
14:   See the License for the specific language governing permissions and
15:   limitations under the License.
16:
17: --%><%= System.currentTimeMillis() %>


Stacktrace:] with root cause
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [17] in the jsp file: [/jsp/include/foo.jsp]
System cannot be resolved
14:   See the License for the specific language governing permissions and
15:   limitations under the License.
16:
17: --%><%= System.currentTimeMillis() %>


Stacktrace:
at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:213)
at
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:600)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:381)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:597)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:383)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:331)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:583)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)
at
org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)
at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:115)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483)
at
org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:355)
at
org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:54)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617)
at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:932)
at
org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1720)
at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at
org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1259)
at
org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:342)
at
org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:482)
at
org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:418)
at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129)
at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221)
at
java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113)
at
org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at
org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:833)
09-May-2023 14:09:57.748 INFO [main]
org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
["http-nio2-127.0.0.1-auto-3-37777"]
09-May-2023 14:09:57.749 INFO [main]
org.apache.catalina.core.StandardService.stopInternal Stopping service
[Tomcat]
09-May-2023 14:09:57.753 INFO [localhost-startStop-1]
org.apache.catalina.core.ApplicationContext.log SessionListener:
contextDestroyed()
09-May-2023 14:09:57.753 INFO [localhost-startStop-1]
org.apache.catalina.core.ApplicationContext.log ContextListener:
contextDestroyed()
09-May-2023 14:09:57.761 INFO [main]
org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
["http-nio2-127.0.0.1-auto-3-37777"]
09-May-2023 14:09:57.762 INFO [main]
org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
["http-nio2-127.0.0.1-auto-3-37777"]
09-May-2023 14:09:57.773 INFO [main]
org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case
[testRedirect]
09-May-2023 14:09:57.775 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["http-nio2-127.0.0.1-auto-4"]
09-May-2023 14:09:57.820 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
[Tomcat]
09-May-2023 14:09:57.820 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
engine: [Apache Tomcat/8.5.89]
09-May-2023 14:09:57.838 INFO [localhost-startStop-1]
org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No
global web.xml found
09-May-2023 14:09:57.876 WARNING [localhost-startStop-1]
org.apache.catalina.startup.ContextConfig.validateSecurityRoles Security
role name [foo] used in an <auth-constraint> without being defined in a
<security-role>
09-May-2023 14:09:58.057 INFO [localhost-startStop-1]
org.apache.catalina.core.ApplicationContext.log ContextListener:
contextInitialized()
09-May-2023 14:09:58.057 INFO [localhost-startStop-1]
org.apache.catalina.core.ApplicationContext.log SessionListener:
contextInitialized()
09-May-2023 14:09:58.059 INFO [localhost-startStop-1]
org.apache.catalina.core.ApplicationContext.log ContextListener:
attributeAdded('StockTicker', 'async.Stockticker@203b3f76')
09-May-2023 14:09:58.065 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["http-nio2-127.0.0.1-auto-4-39469"]
09-May-2023 14:09:58.099 INFO [main]
org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
["http-nio2-127.0.0.1-auto-4-39469"]
09-May-2023 14:09:58.102 INFO [main]
org.apache.catalina.core.StandardService.stopInternal Stopping service
[Tomcat]
09-May-2023 14:09:58.109 INFO [localhost-startStop-1]
org.apache.catalina.core.ApplicationContext.log SessionListener:
contextDestroyed()
09-May-2023 14:09:58.109 INFO [localhost-startStop-1]
org.apache.catalina.core.ApplicationContext.log ContextListener:
contextDestroyed()
09-May-2023 14:09:58.113 INFO [main]
org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
["http-nio2-127.0.0.1-auto-4-39469"]
09-May-2023 14:09:58.114 INFO [main]
org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
["http-nio2-127.0.0.1-auto-4-39469"]
09-May-2023 14:09:58.119 INFO [main]
org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case
[testWelcomeFileNotStrict]
09-May-2023 14:09:58.121 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["http-nio2-127.0.0.1-auto-5"]
09-May-2023 14:09:58.228 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
[Tomcat]
09-May-2023 14:09:58.228 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
engine: [Apache Tomcat/8.5.89]
09-May-2023 14:09:58.290 INFO [localhost-startStop-1]
org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No
global web.xml found
09-May-2023 14:09:58.400 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["http-nio2-127.0.0.1-auto-5-36085"]
09-May-2023 14:09:58.613 INFO [main]
org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler
["http-nio2-127.0.0.1-auto-5-36085"]
09-May-2023 14:09:58.615 INFO [main]
org.apache.catalina.core.StandardService.stopInternal Stopping service
[Tomcat]
09-May-2023 14:09:58.624 INFO [main]
org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler
["http-nio2-127.0.0.1-auto-5-36085"]
09-May-2023 14:09:58.624 INFO [main]
org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler
["http-nio2-127.0.0.1-auto-5-36085"]
------------- ---------------- ---------------

Testcase: testWelcomeFileStrict took 4.056 sec
Testcase: testContextRoot_Bug53339 took 0.119 sec
Testcase: testContextReload_Bug56658_Bug56882 took 1.066 sec
FAILED
<!doctype html><html lang="en"><head><title>HTTP Status 500 – Internal
Server Error</title><style type="text/css">body
{font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b
{color:white;background-color:#525D76;} h1 {font-size:22px;} h2
{font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;}
.line
{height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP
Status 500 – Internal Server Error</h1><hr class="line" /><p><b>Type</b>
Exception Report</p><p><b>Message</b> Unable to compile class for JSP:
</p><p><b>Description</b> The server encountered an unexpected condition
that prevented it from fulfilling the
request.</p><p><b>Exception</b></p><pre>org.apache.jasper.JasperException:
Unable to compile class for JSP:

An error occurred at line: [17] in the jsp file:
[&#47;jsp&#47;include&#47;foo.jsp]
System cannot be resolved
14:   See the License for the specific language governing permissions and
15:   limitations under the License.
16:
17: --%&gt;&lt;%= System.currentTimeMillis() %&gt;


Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:213)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:600)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:381)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:597)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:383)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:331)
javax.servlet.http.HttpServlet.service(HttpServlet.java:583)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:115)
</pre><p><b>Note</b> The full stack trace of the root cause is available in
the server logs.</p><hr class="line" /><h3>Apache
Tomcat/8.5.89</h3></body></html>
junit.framework.AssertionFailedError: <!doctype html><html
lang="en"><head><title>HTTP Status 500 – Internal Server
Error</title><style type="text/css">body
{font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b
{color:white;background-color:#525D76;} h1 {font-size:22px;} h2
{font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;}
.line
{height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP
Status 500 – Internal Server Error</h1><hr class="line" /><p><b>Type</b>
Exception Report</p><p><b>Message</b> Unable to compile class for JSP:
</p><p><b>Description</b> The server encountered an unexpected condition
that prevented it from fulfilling the
request.</p><p><b>Exception</b></p><pre>org.apache.jasper.JasperException:
Unable to compile class for JSP:

An error occurred at line: [17] in the jsp file:
[&#47;jsp&#47;include&#47;foo.jsp]
System cannot be resolved
14:   See the License for the specific language governing permissions and
15:   limitations under the License.
16:
17: --%&gt;&lt;%= System.currentTimeMillis() %&gt;


Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:213)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:600)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:381)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:335)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:597)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:383)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:331)
javax.servlet.http.HttpServlet.service(HttpServlet.java:583)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:115)
</pre><p><b>Note</b> The full stack trace of the root cause is available in
the server logs.</p><hr class="line" /><h3>Apache
Tomcat/8.5.89</h3></body></html>
at
org.apache.catalina.mapper.TestMapperWebapps.testContextReload_Bug56658_Bug56882(TestMapperWebapps.java:118)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Testcase: testRedirect took 0.345 sec
Testcase: testWelcomeFileNotStrict took 0.511 sec


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

Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Christopher Schultz <ch...@christopherschultz.net>.
All,

I currently only have 2 total votes for this release.

Is anyone else able to vote?

Thanks,
-chris

On 5/9/23 13:38, Christopher Schultz wrote:
> The proposed Apache Tomcat 8.5.89 release is now available for voting.
> 
> The notable changes compared to 8.5.88 are:
> 
> - Many improvements to the JSON access log valve.
> 
> - Deprecate support for the HTTP Connector settings rejectIllegalHeader
>     and allowHostHeaderMismatch and reject HTTP headers without names.
> 
> - Add a RateLimitFilter which can be used to mitigate DoS and Brute
>     Force attacks.
> 
> Along with lots of other bug fixes and improvements.
> 
> For full details, see the changelog:
> https://nightlies.apache.org/tomcat/tomcat-8.5.x/docs/changelog.html
> 
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.89/
> 
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1436
> 
> The tag is:
> https://github.com/apache/tomcat/tree/8.5.89/
> da91bd19ef2cb34a96e4ad04749dfc97c941db87
> 
> The proposed 8.5.89 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 8.5.88 (stable)

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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Christopher Schultz <ch...@christopherschultz.net>.
All,

On 5/9/23 13:38, Christopher Schultz wrote:
> The proposed Apache Tomcat 8.5.89 release is now available for voting.
> 
> The notable changes compared to 8.5.88 are:
> 
> - Many improvements to the JSON access log valve.
> 
> - Deprecate support for the HTTP Connector settings rejectIllegalHeader
>     and allowHostHeaderMismatch and reject HTTP headers without names.
> 
> - Add a RateLimitFilter which can be used to mitigate DoS and Brute
>     Force attacks.
> 
> Along with lots of other bug fixes and improvements.
> 
> For full details, see the changelog:
> https://nightlies.apache.org/tomcat/tomcat-8.5.x/docs/changelog.html
> 
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.89/
> 
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1436
> 
> The tag is:
> https://github.com/apache/tomcat/tree/8.5.89/
> da91bd19ef2cb34a96e4ad04749dfc97c941db87
> 
> The proposed 8.5.89 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 8.5.88 (stable)

+1 to release stable

Works on a plain servlet-based application in a development environment.

All unit-test failures are expected in this environment.

* Environment
*  Java (build):     openjdk version "1.8.0_292" OpenJDK Runtime 
Environment (build 1.8.0_292-8u292-b10-0+deb9u1-b10) OpenJDK 64-Bit 
Server VM (build 25.292-b10, mixed mode)
*  Java (test):     openjdk version "1.8.0_292" OpenJDK Runtime 
Environment (build 1.8.0_292-8u292-b10-0+deb9u1-b10) OpenJDK 64-Bit 
Server VM (build 25.292-b10, mixed mode)
*  OS:       Linux 5.10.0-19-amd64 x86_64
*  cc:       cc (Debian 10.2.1-6) 10.2.1 20210110
*  make:     GNU Make 4.3
*  OpenSSL:  OpenSSL 1.1.1 11 Sep 2018
*  APR:      1.7.0
*
* Valid SHA-512 signature for apache-tomcat-8.5.89.zip
* Valid GPG signature for apache-tomcat-8.5.89.zip
* Valid SHA-512 signature for apache-tomcat-8.5.89.tar.gz
* Valid GPG signature for apache-tomcat-8.5.89.tar.gz
* Valid SHA-512 signature for apache-tomcat-8.5.89.exe
* Valid GPG signature for apache-tomcat-8.5.89.exe
* Valid Windows Digital Signature for apache-tomcat-8.5.89.exe
* Valid SHA512 signature for apache-tomcat-8.5.89-src.zip
* Valid GPG signature for apache-tomcat-8.5.89-src.zip
* Valid SHA512 signature for apache-tomcat-8.5.89-src.tar.gz
* Valid GPG signature for apache-tomcat-8.5.89-src.tar.gz
*
* Binary Zip and tarball: Same
* Source Zip and tarball: Same
*
* Building dependencies returned: 0
* tcnative builds cleanly
* Tomcat builds cleanly
* Junit Tests: FAILED
*
* Tests that failed:
* org.apache.tomcat.util.net.jsse.TestPEMFile.APR.txt
* org.apache.tomcat.util.net.jsse.TestPEMFile.NIO.txt
* org.apache.tomcat.util.net.jsse.TestPEMFile.NIO2.txt
* org.apache.tomcat.util.net.openssl.ciphers.TestCipher.APR.txt
* org.apache.tomcat.util.net.openssl.ciphers.TestCipher.NIO.txt
* org.apache.tomcat.util.net.openssl.ciphers.TestCipher.NIO2.txt
* 
org.apache.tomcat.util.net.openssl.ciphers.TestOpenSSLCipherConfigurationParser.APR.txt
* 
org.apache.tomcat.util.net.openssl.ciphers.TestOpenSSLCipherConfigurationParser.NIO.txt
* 
org.apache.tomcat.util.net.openssl.ciphers.TestOpenSSLCipherConfigurationParser.NIO2.txt
* org.apache.tomcat.websocket.TestWsWebSocketContainerSSL.APR.txt
* org.apache.tomcat.websocket.TestWsWebSocketContainerSSL.NIO.txt
* org.apache.tomcat.websocket.TestWsWebSocketContainerSSL.NIO2.txt

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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Rainer,

On 5/17/23 09:19, Rainer Jung wrote:
> Am 09.05.23 um 19:38 schrieb Christopher Schultz:
>> The proposed Apache Tomcat 8.5.89 release is now available for voting.
>>
>> The notable changes compared to 8.5.88 are:
>>
>> - Many improvements to the JSON access log valve.
>>
>> - Deprecate support for the HTTP Connector settings rejectIllegalHeader
>>     and allowHostHeaderMismatch and reject HTTP headers without names.
>>
>> - Add a RateLimitFilter which can be used to mitigate DoS and Brute
>>     Force attacks.
>>
>> Along with lots of other bug fixes and improvements.
>>
>> For full details, see the changelog:
>> https://nightlies.apache.org/tomcat/tomcat-8.5.x/docs/changelog.html
>>
>> It can be obtained from:
>> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.89/
>>
>> The Maven staging repo is:
>> https://repository.apache.org/content/repositories/orgapachetomcat-1436
>>
>> The tag is:
>> https://github.com/apache/tomcat/tree/8.5.89/
>> da91bd19ef2cb34a96e4ad04749dfc97c941db87
>>
>> The proposed 8.5.89 release is:
>> [ ] Broken - do not release
>> [X] Stable - go ahead and release as 8.5.88 (stable)
> 
> +1 to release.
> 
> Tested on RHEL 6, 7 and 8, SLES 11, 12 and 15, Solaris 10 and 11 with a 
> variety of JVM versions (1.7.0, 1.8.0, 11, 17, 20, 21) and vendors 
> (Adoptium, Azul Zulu, Oracle, RedHat). Also tested with tcnative 1.2.36 
> and 2.0.3 using OpenSSL 1.1.1t, 3.0.8 and 3.1.0.
> 
> The new RateLimitFilter fails its test, but there was a post-8.5.89 
> commit that changes the test. Haven't checked, whether that fixed it.
> 
> Thanks for RM,

Of course. Thanks for the vote ;)

-chris

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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Rainer Jung <ra...@kippdata.de>.
Am 09.05.23 um 19:38 schrieb Christopher Schultz:
> The proposed Apache Tomcat 8.5.89 release is now available for voting.
> 
> The notable changes compared to 8.5.88 are:
> 
> - Many improvements to the JSON access log valve.
> 
> - Deprecate support for the HTTP Connector settings rejectIllegalHeader
>     and allowHostHeaderMismatch and reject HTTP headers without names.
> 
> - Add a RateLimitFilter which can be used to mitigate DoS and Brute
>     Force attacks.
> 
> Along with lots of other bug fixes and improvements.
> 
> For full details, see the changelog:
> https://nightlies.apache.org/tomcat/tomcat-8.5.x/docs/changelog.html
> 
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.89/
> 
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1436
> 
> The tag is:
> https://github.com/apache/tomcat/tree/8.5.89/
> da91bd19ef2cb34a96e4ad04749dfc97c941db87
> 
> The proposed 8.5.89 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 8.5.88 (stable)

+1 to release.

Tested on RHEL 6, 7 and 8, SLES 11, 12 and 15, Solaris 10 and 11 with a 
variety of JVM versions (1.7.0, 1.8.0, 11, 17, 20, 21) and vendors 
(Adoptium, Azul Zulu, Oracle, RedHat). Also tested with tcnative 1.2.36 
and 2.0.3 using OpenSSL 1.1.1t, 3.0.8 and 3.1.0.

The new RateLimitFilter fails its test, but there was a post-8.5.89 
commit that changes the test. Haven't checked, whether that fixed it.

Thanks for RM,

Rainer

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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Han Li <li...@apache.org>.

> On May 10, 2023, at 01:38, Christopher Schultz <ch...@christopherschultz.net> wrote:
> 
> The proposed Apache Tomcat 8.5.89 release is now available for voting.
> 
> The notable changes compared to 8.5.88 are:
> 
> - Many improvements to the JSON access log valve.
> 
> - Deprecate support for the HTTP Connector settings rejectIllegalHeader
>   and allowHostHeaderMismatch and reject HTTP headers without names.
> 
> - Add a RateLimitFilter which can be used to mitigate DoS and Brute
>   Force attacks.
> 
> Along with lots of other bug fixes and improvements.
> 
> For full details, see the changelog:
> https://nightlies.apache.org/tomcat/tomcat-8.5.x/docs/changelog.html
> 
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.89/
> 
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1436
> 
> The tag is:
> https://github.com/apache/tomcat/tree/8.5.89/
> da91bd19ef2cb34a96e4ad04749dfc97c941db87
> 
> The proposed 8.5.89 release is:
> [ ] Broken - do not release
> [X ] Stable - go ahead and release as 8.5.88 (stable)
+1

Han
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 


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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Mark Thomas <ma...@apache.org>.
On 09/05/2023 18:38, Christopher Schultz wrote:

> The proposed 8.5.89 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 8.5.88 (stable)

Same issue with the RateLimitFilter tests as the 10.1.x vote. Same fix 
addressed it.

All other tests pass on Linux Windows and MacOS (Intel and M1).

Mark

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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Mark Thomas <ma...@apache.org>.
On 12/05/2023 17:46, Christopher Schultz wrote:

<snip/>

> I'm getting a unit test failure I don't understand:

<snip/>

> 10-May-2023 22:15:23.192 INFO [main] 
> org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector 
> [https-openssl-apr-127.0.0.1-auto-1], TLS virtual host [_default_], 
> certificate type [UNDEFINED] configured from [/home/cschultz/.keystore] 
> using alias [tomcat] and with trust store 
> [/mnt/ephemeral0/cschultz/projects/apache/apache-tomcat/tarball/apache-tomcat-8.5.89-src/test/org/apache/tomcat/util/net/ca-cert.pem]

The test is picking up the wrong keystore. It should be something like:

/mnt/ephemeral0/cschultz/projects/apache/apache-tomcat/tarball/apache-tomcat-8.5.89-src/test/org/apache/tomcat/util/net/localhost-rsa.jks

See the CI logs from the most recent 8.5.x test run for a working example:

https://nightlies.apache.org/tomcat/tomcat-8.5.x/logs/486/TEST-org.apache.tomcat.websocket.TestWsWebSocketContainerSSL.NIO.txt

No idea how you managed to get the test to pick up the wrong keystore.

Mark

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


Re: [VOTE] Release Apache Tomcat 8.5.89

Posted by Christopher Schultz <ch...@christopherschultz.net>.
All,

On 5/9/23 13:38, Christopher Schultz wrote:
> The proposed Apache Tomcat 8.5.89 release is now available for voting.
> 
> The notable changes compared to 8.5.88 are:
> 
> - Many improvements to the JSON access log valve.
> 
> - Deprecate support for the HTTP Connector settings rejectIllegalHeader
>     and allowHostHeaderMismatch and reject HTTP headers without names.
> 
> - Add a RateLimitFilter which can be used to mitigate DoS and Brute
>     Force attacks.
> 
> Along with lots of other bug fixes and improvements.
> 
> For full details, see the changelog:
> https://nightlies.apache.org/tomcat/tomcat-8.5.x/docs/changelog.html
> 
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.89/
> 
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1436
> 
> The tag is:
> https://github.com/apache/tomcat/tree/8.5.89/
> da91bd19ef2cb34a96e4ad04749dfc97c941db87
> 
> The proposed 8.5.89 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 8.5.88 (stable)

I'm getting a unit test failure I don't understand:

Testsuite: org.apache.tomcat.websocket.TestWsWebSocketContainerSSL
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.717 sec
------------- Standard Error -----------------
10-May-2023 22:15:22.794 INFO [main] 
org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case 
[testConnectToServerEndpointSSL]
10-May-2023 22:15:22.903 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded 
Apache Tomcat Native library [1.2.36] using APR version [1.7.0].
10-May-2023 22:15:22.904 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR 
capabilities: IPv6 [true], sendfile [true], accept filters [false], 
random [true], UDS [{4}].
10-May-2023 22:15:22.904 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL 
configuration: useAprConnector [false], useOpenSSL [true]
10-May-2023 22:15:22.906 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL 
successfully initialized [OpenSSL 1.1.1  11 Sep 2018]
10-May-2023 22:15:23.117 INFO [main] 
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler 
["https-openssl-apr-127.0.0.1-auto-1"]
10-May-2023 22:15:23.192 INFO [main] 
org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector 
[https-openssl-apr-127.0.0.1-auto-1], TLS virtual host [_default_], 
certificate type [UNDEFINED] configured from [/home/cschultz/.keystore] 
using alias [tomcat] and with trust store 
[/mnt/ephemeral0/cschultz/projects/apache/apache-tomcat/tarball/apache-tomcat-8.5.89-src/test/org/apache/tomcat/util/net/ca-cert.pem]
10-May-2023 22:15:23.203 INFO [main] 
org.apache.catalina.core.StandardService.startInternal Starting service 
[Tomcat]
10-May-2023 22:15:23.203 INFO [main] 
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet 
engine: [Apache Tomcat/8.5.89]
10-May-2023 22:15:23.308 INFO [main] 
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler 
["https-openssl-apr-127.0.0.1-auto-1-37597"]
10-May-2023 22:15:23.353 INFO [main] 
org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler 
["https-openssl-apr-127.0.0.1-auto-1-37597"]
10-May-2023 22:15:23.361 INFO [main] 
org.apache.catalina.core.StandardService.stopInternal Stopping service 
[Tomcat]
10-May-2023 22:15:23.368 INFO [main] 
org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler 
["https-openssl-apr-127.0.0.1-auto-1-37597"]
10-May-2023 22:15:23.386 INFO [main] 
org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler 
["https-openssl-apr-127.0.0.1-auto-1-37597"]
------------- ---------------- ---------------

Testcase: testConnectToServerEndpointSSL took 0.691 sec
         Caused an ERROR
The HTTP request to initiate the WebSocket connection to 
[wss://localhost:37597/echoAsync] failed
javax.websocket.DeploymentException: The HTTP request to initiate the 
WebSocket connection to [wss://localhost:37597/echoAsync] failed
         at 
org.apache.tomcat.websocket.WsWebSocketContainer.connectToServerRecursive(WsWebSocketContainer.java:428)
         at 
org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer(WsWebSocketContainer.java:170)
         at 
org.apache.tomcat.websocket.TestWsWebSocketContainerSSL.testConnectToServerEndpointSSL(TestWsWebSocketContainerSSL.java:64)
Caused by: java.util.concurrent.ExecutionException: 
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol 
is disabled or cipher suites are inappropriate)
         at 
org.apache.tomcat.websocket.AsyncChannelWrapperSecure$WrapperFuture.get(AsyncChannelWrapperSecure.java:489)
         at 
org.apache.tomcat.websocket.WsWebSocketContainer.connectToServerRecursive(WsWebSocketContainer.java:320)
Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol 
(protocol is disabled or cipher suites are inappropriate)
         at 
sun.security.ssl.HandshakeContext.<init>(HandshakeContext.java:171)
         at 
sun.security.ssl.ClientHandshakeContext.<init>(ClientHandshakeContext.java:98)
         at 
sun.security.ssl.TransportContext.kickstart(TransportContext.java:220)
         at 
sun.security.ssl.SSLEngineImpl.beginHandshake(SSLEngineImpl.java:97)
         at 
org.apache.tomcat.websocket.AsyncChannelWrapperSecure$WebSocketSslHandshakeThread.run(AsyncChannelWrapperSecure.java:347)

This fails for all of APR, NIO, and NIO2 and I'm using OpenSSL 1.1.1 and 
Java 1.8.0_292.

Any ideas?

Thanks,
-chris

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