Jenkins build is back to stable : TomEE » tomee-9.x-build-full #199

2023-08-07 Thread Apache Jenkins Server
See 




Jenkins build is back to stable : TomEE » tomee-9.x-build-full » TomEE :: Examples :: Simple Stateful Pojo Callbacks #199

2023-08-07 Thread Apache Jenkins Server
See 




Jenkins build is back to stable : TomEE » tomee-9.x-build-full » TomEE :: iTests :: MicroProfile JWT #199

2023-08-07 Thread Apache Jenkins Server
See 




[tomee-tck] branch tomee-10-with-ee-91 updated: Seems to prevent a stackoverflow error

2023-08-07 Thread jgallimore
This is an automated email from the ASF dual-hosted git repository.

jgallimore pushed a commit to branch tomee-10-with-ee-91
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git


The following commit(s) were added to refs/heads/tomee-10-with-ee-91 by this 
push:
 new a08a6ed  Seems to prevent a stackoverflow error
a08a6ed is described below

commit a08a6edf1563670e7b6e5fcfe94309eba60f0285
Author: Jonathan Gallimore 
AuthorDate: Mon Aug 7 16:20:55 2023 +0100

Seems to prevent a stackoverflow error
---
 src/test/resources/testsuite.properties | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/test/resources/testsuite.properties 
b/src/test/resources/testsuite.properties
index a1c6cfc..d63558a 100644
--- a/src/test/resources/testsuite.properties
+++ b/src/test/resources/testsuite.properties
@@ -62,7 +62,6 @@ 
command.testExecuteAppClient=com.sun.ts.lib.harness.ExecTSTestCmd \
 
-DResource/jakarta.jms.ConnectionFactory=connectionfactory:org.apache.activemq.ActiveMQConnectionFactory:tcp://localhost:61616
 \
 -DResource/org.omg.CORBA.ORB=orb:/ \
 -Djdbc/DB1=link:Resource/javax.sql.DataSource \
--Djava.protocol.handler.pkgs=javax.net.ssl \
 -Djavax.net.ssl.keyStore=${keystores.dir}/clientcert.jks \
 -Djavax.net.ssl.keyStorePassword=changeit \
 -Djavax.net.ssl.trustStore=${keystores.dir}/ssl-truststore \



[tomee-tck] branch tomee-10-with-ee-91 updated: Put back the echo/exec change committed by accident. Don't add quotes to the JAVA_HOME environment variable on Windows.

2023-08-07 Thread jgallimore
This is an automated email from the ASF dual-hosted git repository.

jgallimore pushed a commit to branch tomee-10-with-ee-91
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git


The following commit(s) were added to refs/heads/tomee-10-with-ee-91 by this 
push:
 new bc3a0d4  Put back the echo/exec change committed by accident. Don't 
add quotes to the JAVA_HOME environment variable on Windows.
bc3a0d4 is described below

commit bc3a0d4576b217d113514f5866da96c83401c3b5
Author: Jonathan Gallimore 
AuthorDate: Mon Aug 7 16:16:03 2023 +0100

Put back the echo/exec change committed by accident. Don't add quotes to 
the JAVA_HOME environment variable on Windows.
---
 runtests| 4 ++--
 src/test/script/openejb/tck/commands/JavaTestCommand.groovy | 8 +---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/runtests b/runtests
index cd95d8c..b5025b2 100755
--- a/runtests
+++ b/runtests
@@ -339,7 +339,7 @@ egrep '(javaee|jakarta).(ri|cts).home' ~/.m2/settings.xml | 
perl -pe 's,^ *|<[^>
 
 # Fire up Maven to do the real work
 if [ -z $nc ]; then
-echo mvn -V --file "$DIRNAME/pom.xml" \
+exec mvn -V --file "$DIRNAME/pom.xml" \
   --batch-mode \
   --errors \
   $CONFIG \
@@ -355,7 +355,7 @@ echo mvn -V --file "$DIRNAME/pom.xml" \
-e 
"s/\(\[ERROR\].*\)/${BOLD}${TEXT_RED}\1${RESET_FORMATTING}/g" \
-e "s/Tests run: \([^,]*\), Failures: \([^,]*\), Errors: 
\([^,]*\), Skipped: \([^,]*\)/${BOLD}${TEXT_GREEN}Tests run: 
\1${RESET_FORMATTING}, Failures: ${BOLD}${TEXT_RED}\2${RESET_FORMATTING}, 
Errors: ${BOLD}${TEXT_RED}\3${RESET_FORMATTING}, Skipped: 
${BOLD}${TEXT_YELLOW}\4${RESET_FORMATTING}/g"
 else
-echo mvn -V --file "$DIRNAME/pom.xml" \
+exec mvn -V --file "$DIRNAME/pom.xml" \
   --batch-mode \
   --errors \
   $CONFIG \
diff --git a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy 
b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
index 998f4ab..1413982 100644
--- a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
+++ b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
@@ -147,9 +147,11 @@ class JavaTestCommand
 // HACK: For some reason, need to quote JAVA_HOME on Windows...
 //
 def javaHome = require('java.home')
-if (SystemUtils.IS_OS_WINDOWS) {
-javaHome = "'${javaHome}'"
-}
+// JRG: I commented this out, as this appeared to append the content 
of the JAVA_HOME environment variable to the current working directory
+// on Windows 11 for me. 2023-08-07
+//if (SystemUtils.IS_OS_WINDOWS) {
+//javaHome = "${javaHome}"
+//}
 
 ant.mkdir(dir: workingDir)
 



[tomee-tck] branch tomee-10-with-ee-91 updated: Not sure we need endorsed anymore - TomEE 9 doesn't work with older versions of the JDK

2023-08-07 Thread jgallimore
This is an automated email from the ASF dual-hosted git repository.

jgallimore pushed a commit to branch tomee-10-with-ee-91
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git


The following commit(s) were added to refs/heads/tomee-10-with-ee-91 by this 
push:
 new 60878c7  Not sure we need endorsed anymore - TomEE 9 doesn't work with 
older versions of the JDK
60878c7 is described below

commit 60878c7b0c969446739c207839afac46843ec8e0
Author: Jonathan Gallimore 
AuthorDate: Mon Aug 7 14:52:51 2023 +0100

Not sure we need endorsed anymore - TomEE 9 doesn't work with older 
versions of the JDK
---
 runtests   |  4 ++--
 .../script/openejb/tck/commands/JavaTestCommand.groovy | 14 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/runtests b/runtests
index b5025b2..cd95d8c 100755
--- a/runtests
+++ b/runtests
@@ -339,7 +339,7 @@ egrep '(javaee|jakarta).(ri|cts).home' ~/.m2/settings.xml | 
perl -pe 's,^ *|<[^>
 
 # Fire up Maven to do the real work
 if [ -z $nc ]; then
-exec mvn -V --file "$DIRNAME/pom.xml" \
+echo mvn -V --file "$DIRNAME/pom.xml" \
   --batch-mode \
   --errors \
   $CONFIG \
@@ -355,7 +355,7 @@ exec mvn -V --file "$DIRNAME/pom.xml" \
-e 
"s/\(\[ERROR\].*\)/${BOLD}${TEXT_RED}\1${RESET_FORMATTING}/g" \
-e "s/Tests run: \([^,]*\), Failures: \([^,]*\), Errors: 
\([^,]*\), Skipped: \([^,]*\)/${BOLD}${TEXT_GREEN}Tests run: 
\1${RESET_FORMATTING}, Failures: ${BOLD}${TEXT_RED}\2${RESET_FORMATTING}, 
Errors: ${BOLD}${TEXT_RED}\3${RESET_FORMATTING}, Skipped: 
${BOLD}${TEXT_YELLOW}\4${RESET_FORMATTING}/g"
 else
-exec mvn -V --file "$DIRNAME/pom.xml" \
+echo mvn -V --file "$DIRNAME/pom.xml" \
   --batch-mode \
   --errors \
   $CONFIG \
diff --git a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy 
b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
index e76e744..998f4ab 100644
--- a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
+++ b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
@@ -253,13 +253,13 @@ class JavaTestCommand
 
 
 // not sure about this 
-if (tckJavaHome == null || !new File(tckJavaHome as String, 
'jmods').exists()/*j9 doesnt support it*/) {
-sysproperty(key: "java.endorsed.dirs", file: 
"${javaeeRiHome}/lib/endorsed")
-sysproperty(key: "command.testExecute.endorsed.dir", 
value: "-Djava.endorsed.dirs=${javaeeCtsHome}/endorsedlib")
-sysproperty(key: 
"command.testExecuteEjbEmbed.endorsed.dir", value: 
"-Djava.endorsed.dirs=${openejbHome}/endorsed")
-
-containerJavaOpts += " -Djava.locale.providers=COMPAT"
-}
+//if (tckJavaHome == null || !new File(tckJavaHome as String, 
'jmods').exists()/*j9 doesnt support it*/) {
+//sysproperty(key: "java.endorsed.dirs", file: 
"${javaeeRiHome}/lib/endorsed")
+//sysproperty(key: "command.testExecute.endorsed.dir", 
value: "-Djava.endorsed.dirs=${javaeeCtsHome}/endorsedlib")
+//sysproperty(key: 
"command.testExecuteEjbEmbed.endorsed.dir", value: 
"-Djava.endorsed.dirs=${openejbHome}/endorsed")
+//
+//containerJavaOpts += " -Djava.locale.providers=COMPAT"
+//}
 
 // force memory on tasks because with JDK 8 it's computed with 
a bit too much
 // containerJavaOpts += " -Xmx512m 
-Dtest.ejb.stateful.timeout.wait.seconds=60"