******************************************************************************** Beginning Test: com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/Client.java#detachMX1Test1_from_stateless3 ******************************************************************************** Undeploying apps... StandardDeployment14.isDeployed() Deployed Modules: Search for s1as runtime files match:`jpa_core_et_detach_manyXone_vehicles.ear` Valid runtime files after sweep: /home/ec2-user/jakartaee8tck/dist/com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/jpa_core_et_detach_manyXone_stateless3_vehicle_ejb.jar.sun-ejb-jar.xml Deploying apps for forward rebuildable... Search for s1as runtime files match:`jpa_core_et_detach_manyXone_vehicles.ear` Valid runtime files after sweep: /home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/harnesstmp//tmp/jpa_core_et_detach_manyXone_stateless3_vehicle_ejb.jar.sun-ejb-jar.xml StandardDeployment14.deploy() Starting to distribute: /home/ec2-user/jakartaee8tck/dist/com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/jpa_core_et_detach_manyXone_vehicles.ear file: /home/ec2-user/jakartaee8tck/dist/com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/jpa_core_et_detach_manyXone_vehicles.ear plan: java.io.ByteArrayInputStream@16030858 amd Obtained CACHED DeploymentManager amd Obtained CACHED DeploymentManager $$$$$$$$$$ Deployment SUCCEEDED for "/home/ec2-user/jakartaee8tck/dist/com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/jpa_core_et_detach_manyXone_vehicles.ear" amd Obtained CACHED DeploymentManager amd Obtained CACHED DeploymentManager harness.executeMode is set to "0" keywords (to be passed to tests) set to: all sClassPathFromExecProps = :: 06-24-2022 18:08:44: Harness - harness.executeMode is set to "0" 06-24-2022 18:08:44: Harness - keywords (to be passed to tests) set to: all 06-24-2022 18:08:44: Harness - sClassPathFromExecProps = :: command: com.sun.ts.lib.harness.ExecTSTestCmd SYSTEMROOT= /home/ec2-user/jdk-11.0.10+9/bin/java -Dopenejb.server.uri=http://localhost:44535/tomee/ejb -DResource/javax.sql.DataSource=datasource:org.apache.derby.jdbc.ClientDataSource:jdbc:derby://localhost:39777/derbydb;create=true;user=cts;password=cts -DResource/javax.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=/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/src/test/keystores/clientcert.jks -Djavax.net.ssl.keyStorePassword=changeit -Djavax.net.ssl.trustStore=/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/src/test/keystores/ssl-truststore -Djavax.net.ssl.trustStorePassword=changeit -cp /home/ec2-user/jakartaee8tck/dist/com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/jpa_core_et_detach_manyXone_vehicles/lib/jpa_core_et_detach_manyXone.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/apps/jpa_core_et_detach_manyXone_vehicles/jpa_core_et_detach_manyXone_stateless3_vehicle_client.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/geronimo-jcache_1.0_spec-1.0-alpha-1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/javaee-api-8.0-6-tomcat.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/tomee-tck-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/openejb-core-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/openejb-core-eclipselink-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/activemq-client-5.16.3.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/activemq-jdbc-store-5.16.5.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/bval-jsr-2.0.6.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/catalina.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/commons-cli-1.4.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/commons-collections-3.2.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/commons-dbcp2-2.3.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/commons-lang3-3.12.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/commons-logging-1.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/commons-pool2-2.11.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/cts-8.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/dbprocedures-8.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/derby-10.14.2.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/derbyclient-10.14.2.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/derbynet-10.14.2.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/eclipselink-2.7.9.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/el-api.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/geronimo-connector-3.1.4.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/geronimo-javamail_1.6_mail-1.0.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/geronimo-mail-2.0.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/geronimo-transaction-3.1.4.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/hawtbuf-1.11.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/howl-1.0.1-1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/hsqldb-2.5.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/istack-commons-runtime-3.0.11.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/jackson-annotations-2.13.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/jackson-core-2.13.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/jackson-databind-2.13.2.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/jakarta.activation-1.2.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/jakarta.xml.bind-api-2.3.3.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/jaspic-api.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/javaee-api-8.0-6-tomcat.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/jaxb-runtime-2.3.3.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/johnzon-core-1.2.18.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/johnzon-jaxrs-1.2.18.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/johnzon-jsonb-1.2.18.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/johnzon-jsonp-strict-1.2.18.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/johnzon-mapper-1.2.18.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/jsp-api.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/mbean-annotation-api-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openejb-api-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openejb-core-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openejb-core-eclipselink-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openejb-cxf-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openejb-cxf-rs-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openejb-cxf-transport-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openejb-javaagent.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openejb-jee-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openejb-jee-accessors-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openejb-jpa-integration-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openejb-loader-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openjpa-3.2.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openwebbeans-ee-2.0.27.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openwebbeans-ee-common-2.0.27.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openwebbeans-ejb-2.0.27.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openwebbeans-el22-2.0.27.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openwebbeans-impl-2.0.27.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openwebbeans-spi-2.0.27.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/openwebbeans-web-2.0.27.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/quartz-openejb-shade-2.2.4.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/serp-1.15.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/servlet-api.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/slf4j-api-1.7.36.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/stax-ex-1.8.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/swizzle-stream-1.6.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/sxc-jaxb-core-0.8.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/sxc-runtime-0.8.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/tomcat-api.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/tomcat-juli.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/tomcat-util-scan.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/tomcat-util.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/tomcat-websocket.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/tomee-catalina-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/tomee-security-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/tsharness-8.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/tssv-8.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/txw2-2.3.3.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/webdeployer-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/websocket-api.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/whitebox-8.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/xbean-asm9-shaded-4.21.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/xbean-bundleutils-4.21.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/xbean-finder-shaded-4.21.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/xbean-naming-4.21.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/lib/xbean-reflect-4.21.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/commons-logging-1.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/eclipselink-2.7.9.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/derby-10.14.2.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/derbyclient-10.14.2.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/openejb-client-8.0.13-SNAPSHOT.jar:/home/ec2-user/jakartaee8tck/lib/javatest.jar:/home/ec2-user/jakartaee8tck/lib/tsharness.jar:/home/ec2-user/jakartaee8tck/lib/cts.jar:/home/ec2-user/jakartaee8tck/lib/dbprocedures.jar:/home/ec2-user/jakartaee8tck/lib/commons-httpclient-3.1.jar:/home/ec2-user/jakartaee8tck/lib/jdom-1.1.3.jar:/home/ec2-user/jakartaee8tck/lib/jaxb-api.jar:/home/ec2-user/jakartaee8tck/lib/jaxb-impl.jar:/home/ec2-user/jakartaee8tck/lib/jaxb-xjc.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/jasper-el.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/cxf-shade-8.0.13-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/woodstox-core-6.2.4.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/stax2-api-4.2.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/xmlschema-core-2.2.5.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/cxf-rt-rs-sse-3.4.5.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/johnzon-core-1.2.18.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/johnzon-jaxrs-1.2.18.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/johnzon-jsonb-1.2.18.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/johnzon-jsonp-strict-1.2.18.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/johnzon-mapper-1.2.18.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-api.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-coyote.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-dbcp.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-i18n-cs.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-i18n-de.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-i18n-es.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-i18n-fr.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-i18n-ja.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-i18n-ko.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-i18n-pt-BR.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-i18n-ru.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-i18n-zh-CN.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-jdbc.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-jni.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-util-scan.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-util.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/tomcat-websocket.jar -Dopenejb.client.moduleId=jpa_core_et_detach_manyXone_stateless3_vehicle_client org.apache.openejb.client.Main -p /home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/harnesstmp//tmp/tstest.jte -t detachMX1Test1 -vehicle stateless3 Jun 24, 2022 6:08:44 PM org.apache.openejb.client.EventLogger log INFO: RemoteInitialContextCreated{providerUri=http://localhost:44535/tomee/ejb} Jun 24, 2022 6:08:44 PM org.apache.openejb.client.EventLogger log INFO: RemoteInitialContextCreated{providerUri=http://localhost:44535/tomee/ejb} Jun 24, 2022 6:08:44 PM org.apache.openejb.client.EventLogger log INFO: RemoteInitialContextCreated{providerUri=http://localhost:44535/tomee/ejb} Jun 24, 2022 6:08:44 PM org.apache.openejb.client.EventLogger log INFO: RemoteInitialContextCreated{providerUri=http://localhost:44535/tomee/ejb} ************************************************************ * props file set to "/tmp/ec2-user-cts-props.txt" ************************************************************ 06-24-2022 18:08:44: TRACE: ####### Value of harness.socket.retry.count is "10" 06-24-2022 18:08:44: TRACE: ####### Value of harness.log.port is "35021" 06-24-2022 18:08:44: TRACE: ####### Actual bind value of harness.log.port is "35021" 06-24-2022 18:08:44: TRACE: in ServiceEETest.run() method 06-24-2022 18:08:44: TRACE: Vehicle to be used for this test is: stateless3 Jun 24, 2022 6:08:44 PM org.apache.openejb.client.EventLogger log INFO: RemoteInitialContextCreated{providerUri=http://localhost:44535/tomee/ejb} 06-24-2022 18:08:44: TRACE: stateless3 runner looked up vehicle: proxy=org.apache.openejb.client.StatelessEJBObjectHandler@293a5bf6 In PostContruct ===== Starting detachMX1Test1 in stateless3 ===== 06-24-2022 18:08:44: SVR-TRACE: in custom vehicle so call on EETest. 06-24-2022 18:08:44: SVR-TRACE: *** in EETest.run(argv,p) 06-24-2022 18:08:44: SVR-TRACE: TESTCLASS=com.sun.ts.tests.jpa.core.entitytest.detach.manyXone.Client 06-24-2022 18:08:44: SVR-TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jpa.core.entitytest.detach.manyXone.Client 06-24-2022 18:08:44: SVR-TRACE: ** IN getRunMethod: testname=detachMX1Test1 06-24-2022 18:08:44: SVR-TRACE: ** GOT RUN METHOD! 06-24-2022 18:08:44: SVR-TRACE: **runmethod=detachMX1Test1 06-24-2022 18:08:44: SVR-TRACE: ABOUT TO GET SETUP METHOD! 06-24-2022 18:08:44: SVR-TRACE: No setupMethod annotation present 06-24-2022 18:08:44: SVR-TRACE: getSetupMethod - checking for testcase specific setup method: detachMX1Test1_setup 06-24-2022 18:08:44: SVR-TRACE: getSetupMethod - checking for default class specific setup method 06-24-2022 18:08:44: SVR-TRACE: GOT SETUP METHOD! 06-24-2022 18:08:44: SVR-TRACE: No cleanupMethod annotation present 06-24-2022 18:08:44: SVR-TRACE: getCleanupMethod - checking for testcase specific cleanup method: detachMX1Test1_cleanup 06-24-2022 18:08:44: SVR-TRACE: getCleanupMethod - checking for default class specific cleanup method 06-24-2022 18:08:44: SVR-TRACE: GOT CLEANUP METHOD! 06-24-2022 18:08:44: SVR-TRACE: ABOUT TO INVOKE SETUP METHOD! 06-24-2022 18:08:44: SVR-TRACE: setup 06-24-2022 18:08:44: SVR-TRACE: PMClientBase.setup 06-24-2022 18:08:44: SVR-TRACE: Persistence Unit Name =CTS-EM 06-24-2022 18:08:44: SVR-TRACE: Second Persistence Unit Name =JPATCK2 06-24-2022 18:08:44: SVR-TRACE: platform.mode is set to javaEE, so tests are running in JavaEE environment. 06-24-2022 18:08:44: SVR: Current properties: 06-24-2022 18:08:44: SVR-TRACE: Key:deployManageruri.2, value:[deployer:Sun:AppServer::localhost:4848] 06-24-2022 18:08:44: SVR-TRACE: Key:harness.socket.retry.count, value:[10] 06-24-2022 18:08:44: SVR-TRACE: Key:deployManageruri.1, value:[openejb:vm] 06-24-2022 18:08:44: SVR-TRACE: Key:harness.temp.directory, value:[/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/harnesstmp//tmp] 06-24-2022 18:08:44: SVR-TRACE: Key:porting.ts.HttpsURLConnection.class.1, value:[org.apache.openejb.cts.HTTPSURLConnectionImpl] 06-24-2022 18:08:44: SVR-TRACE: Key:vi.admin.user, value:[admin] 06-24-2022 18:08:44: SVR-TRACE: Key:all.props, value:[false] 06-24-2022 18:08:44: SVR-TRACE: Key:porting.ts.HttpsURLConnection.class.2, value:[com.sun.ts.lib.implementation.sun.javaee.SunRIHttpsURLConnection] 06-24-2022 18:08:44: SVR-TRACE: Key:orb.port, value:[2809] 06-24-2022 18:08:44: SVR-TRACE: Key:porting.ts.deploy.class.1, value:[org.apache.openejb.cts.deploy.StandardDeployment14] 06-24-2022 18:08:44: SVR-TRACE: Key:porting.ts.deploy.class.2, value:[com.sun.ts.lib.implementation.sun.javaee.glassfish.AutoDeployment] 06-24-2022 18:08:44: SVR-TRACE: Key:javaee.level, value:[full] 06-24-2022 18:08:44: SVR-TRACE: Key:vi.admin.passwd, value:[adminadmin] 06-24-2022 18:08:44: SVR-TRACE: Key:current.keywords, value:[all] 06-24-2022 18:08:44: SVR-TRACE: Key:javax.persistence.jdbc.url, value:[jdbc:derby://localhost:39777/derbydb;create=true] 06-24-2022 18:08:44: SVR-TRACE: Key:javax.persistence.jdbc.user, value:[cts] 06-24-2022 18:08:44: SVR-TRACE: Key:wsdlRepository2, value:[/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/harnesstmp//wsdlRepository2] 06-24-2022 18:08:44: SVR-TRACE: Key:porting.ts.login.class.1, value:[org.apache.openejb.cts.LoginContextImpl] 06-24-2022 18:08:44: SVR-TRACE: Key:porting.ts.login.class.2, value:[com.sun.ts.lib.implementation.sun.javaee.SunRILoginContext] 06-24-2022 18:08:44: SVR-TRACE: Key:wsdlRepository1, value:[/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp719232096575404819dir/gbuild/work/workspace-1/project-11118/target/harnesstmp//wsdlRepository1] 06-24-2022 18:08:44: SVR-TRACE: Key:testName, value:[detachMX1Test1] 06-24-2022 18:08:44: SVR-TRACE: Key:securedWebServicePort, value:[33469] 06-24-2022 18:08:44: SVR-TRACE: Key:deployManagerJarFile.2, value:[/home/ec2-user/glassfish5/glassfish/lib/deployment/sun-as-jsr88-dm.jar] 06-24-2022 18:08:44: SVR-TRACE: Key:deployManagerJarFile.1, value:[target/apache-tomee-plume-8.0.13-SNAPSHOT/lib/openejb-core-8.0.13-SNAPSHOT.jar] 06-24-2022 18:08:44: SVR-TRACE: Key:finder, value:[cts] 06-24-2022 18:08:44: SVR-TRACE: Key:javax.persistence.provider, value:[org.eclipse.persistence.jpa.PersistenceProvider] 06-24-2022 18:08:44: SVR-TRACE: Key:variable.mapper, value:[org.apache.el.lang.VariableMapperImpl] 06-24-2022 18:08:44: SVR-TRACE: Key:javax.persistence.jdbc.driver, value:[org.apache.derby.jdbc.ClientDriver] 06-24-2022 18:08:44: SVR-TRACE: Key:harness.log.delayseconds, value:[1] 06-24-2022 18:08:44: SVR-TRACE: Key:harness.log.traceflag, value:[true] 06-24-2022 18:08:44: SVR-TRACE: Key:deployManageruname.2, value:[admin] 06-24-2022 18:08:44: SVR-TRACE: Key:deployManageruname.1, value:[ignored] 06-24-2022 18:08:44: SVR-TRACE: Key:test_classname, value:[com.sun.ts.tests.jpa.core.entitytest.detach.manyXone.Client] 06-24-2022 18:08:44: SVR-TRACE: Key:persistence.unit.name.2, value:[JPATCK2] 06-24-2022 18:08:44: SVR-TRACE: Key:deployManagerpasswd.2, value:[] 06-24-2022 18:08:44: SVR-TRACE: Key:deployManagerpasswd.1, value:[ignored] 06-24-2022 18:08:44: SVR-TRACE: Key:orb.host, value:[localhost] 06-24-2022 18:08:44: SVR-TRACE: Key:jpa.provider.implementation.specific.properties, value:[eclipselink.logging.level=OFF] 06-24-2022 18:08:44: SVR-TRACE: Key:harness.log.port, value:[35021] 06-24-2022 18:08:44: SVR-TRACE: Key:harness.host, value:[172.31.88.208] 06-24-2022 18:08:44: SVR-TRACE: Key:vehicle, value:[stateless3] 06-24-2022 18:08:44: SVR-TRACE: Key:namingServicePort2, value:[3700] 06-24-2022 18:08:44: SVR-TRACE: Key:bin.dir, value:[/home/ec2-user/jakartaee8tck/bin] 06-24-2022 18:08:44: SVR-TRACE: Key:namingServicePort1, value:[2809] 06-24-2022 18:08:44: SVR-TRACE: Key:persistence.second.level.caching.supported, value:[true] 06-24-2022 18:08:44: SVR-TRACE: Key:namingServiceHost2, value:[localhost] 06-24-2022 18:08:44: SVR-TRACE: Key:namingServiceHost1, value:[localhost] 06-24-2022 18:08:44: SVR-TRACE: Key:porting.ts.url.class.2, value:[com.sun.ts.lib.implementation.sun.common.SunRIURL] 06-24-2022 18:08:44: SVR-TRACE: Key:porting.ts.url.class.1, value:[org.apache.openejb.cts.URLImpl] 06-24-2022 18:08:44: SVR-TRACE: Key:webServerPort, value:[44535] 06-24-2022 18:08:44: SVR-TRACE: Key:porting.ts.jms.class.2, value:[com.sun.ts.lib.implementation.sun.javaee.SunRIJMSAdmin] 06-24-2022 18:08:44: SVR-TRACE: Key:platform.mode, value:[javaEE] 06-24-2022 18:08:44: SVR-TRACE: Key:vehicle_archive_name, value:[jpa_core_et_detach_manyXone_vehicles] 06-24-2022 18:08:44: SVR-TRACE: Key:porting.ts.jms.class.1, value:[org.apache.openejb.cts.JMSAdminImpl] 06-24-2022 18:08:44: SVR-TRACE: Key:porting.ts.deploy2.class.2, value:[com.sun.ts.lib.implementation.sun.javaee.SunRIDeployment2] 06-24-2022 18:08:44: SVR-TRACE: Key:javax.persistence.jdbc.password, value:[cts] 06-24-2022 18:08:44: SVR-TRACE: Key:persistence.unit.name, value:[CTS-EM] 06-24-2022 18:08:44: SVR-TRACE: Key:porting.ts.deploy2.class.1, value:[org.apache.openejb.cts.DeploymentImpl] 06-24-2022 18:08:44: SVR-TRACE: removeTestData 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper isActive():false 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper isActive():false 06-24-2022 18:08:44: SVR-TRACE: in UserTransactionWrapper.begin() [EL Warning]: 2022-06-24 18:08:44.79--UnitOfWork(549831470)--Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.9.v20210604-2c549e2208): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: org.apache.derby.shared.common.error.DerbySQLIntegrityConstraintViolationException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'SQL220624180829450' defined on 'AEJB_MX1_UNI_BTOB'. Error Code: 20000 Call: INSERT INTO AEJB_MX1_UNI_BTOB (ID, NAME, VALUE) VALUES (?, ?, ?) bind => [3 parameters bound] Query: InsertObjectQuery(com.sun.ts.tests.jpa.core.entitytest.detach.manyXone.A@619285d7) 24-Jun-2022 18:08:44.790 WARNING [http-nio-44535-exec-1] org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion Unexpected exception from beforeCompletion; transaction will roll back javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.9.v20210604-2c549e2208): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: org.apache.derby.shared.common.error.DerbySQLIntegrityConstraintViolationException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'SQL220624180829450' defined on 'AEJB_MX1_UNI_BTOB'. Error Code: 20000 Call: INSERT INTO AEJB_MX1_UNI_BTOB (ID, NAME, VALUE) VALUES (?, ?, ?) bind => [3 parameters bound] Query: InsertObjectQuery(com.sun.ts.tests.jpa.core.entitytest.detach.manyXone.A@619285d7) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl$1.handleException(EntityManagerSetupImpl.java:788) at org.eclipse.persistence.transaction.AbstractSynchronizationListener.handleException(AbstractSynchronizationListener.java:277) at org.eclipse.persistence.transaction.AbstractSynchronizationListener.beforeCompletion(AbstractSynchronizationListener.java:172) at org.eclipse.persistence.transaction.JTASynchronizationListener.beforeCompletion(JTASynchronizationListener.java:70) at org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(TransactionImpl.java:527) at org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(TransactionImpl.java:512) at org.apache.geronimo.transaction.manager.TransactionImpl.beforePrepare(TransactionImpl.java:413) at org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:262) at org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:252) at org.apache.openejb.core.CoreUserTransaction.commit(CoreUserTransaction.java:91) at org.apache.openejb.core.transaction.EjbUserTransaction.commit(EjbUserTransaction.java:38) at org.apache.openejb.core.BaseContext$UserTransactionWrapper.commit(BaseContext.java:285) at com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper.commit(UserTransactionWrapper.java:87) at com.sun.ts.tests.jpa.core.entitytest.detach.manyXone.Client.detachMX1Test1(Client.java:107) 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) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at com.sun.ts.lib.harness.EETest.run(EETest.java:596) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115) at com.sun.ts.tests.common.vehicle.ejb3share.EJB3ShareBaseBean.runTest(EJB3ShareBaseBean.java:73) 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) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:205) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:186) at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:191) at org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:102) 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) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:205) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:186) at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:85) at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:252) at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:212) at org.apache.openejb.server.ejbd.EjbRequestHandler.doEjbObject_BUSINESS_METHOD(EjbRequestHandler.java:371) at org.apache.openejb.server.ejbd.EjbRequestHandler.processRequest(EjbRequestHandler.java:182) at org.apache.openejb.server.ejbd.EjbDaemon.processEjbRequest(EjbDaemon.java:360) at org.apache.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:247) at org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:104) at org.apache.openejb.server.httpd.ServerServlet.service(ServerServlet.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.tomee.catalina.OpenEJBSecurityListener$RequestCapturer.invoke(OpenEJBSecurityListener.java:97) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1743) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) 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) Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.9.v20210604-2c549e2208): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: org.apache.derby.shared.common.error.DerbySQLIntegrityConstraintViolationException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'SQL220624180829450' defined on 'AEJB_MX1_UNI_BTOB'. Error Code: 20000 Call: INSERT INTO AEJB_MX1_UNI_BTOB (ID, NAME, VALUE) VALUES (?, ?, ?) bind => [3 parameters bound] Query: InsertObjectQuery(com.sun.ts.tests.jpa.core.entitytest.detach.manyXone.A@619285d7) at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:333) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:908) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:970) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:640) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:567) at org.eclipse.persistence.internal.sessions.AbstractSession.basicExecuteCall(AbstractSession.java:2105) at org.eclipse.persistence.sessions.server.ClientSession.executeCall(ClientSession.java:313) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:277) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:263) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.insertObject(DatasourceCallQueryMechanism.java:413) at org.eclipse.persistence.internal.queries.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:167) at org.eclipse.persistence.internal.queries.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:182) at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:504) at org.eclipse.persistence.queries.InsertObjectQuery.executeCommit(InsertObjectQuery.java:82) at org.eclipse.persistence.queries.InsertObjectQuery.executeCommitWithChangeSet(InsertObjectQuery.java:92) at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:316) at org.eclipse.persistence.queries.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:60) at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:911) at org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:810) at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:110) at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:87) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:3004) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1898) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1880) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1830) at org.eclipse.persistence.internal.sessions.CommitManager.commitNewObjectsForClassWithChangeSet(CommitManager.java:229) at org.eclipse.persistence.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:128) at org.eclipse.persistence.internal.sessions.AbstractSession.writeAllObjectsWithChangeSet(AbstractSession.java:4409) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabase(UnitOfWorkImpl.java:1503) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1593) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.issueSQLbeforeCompletion(UnitOfWorkImpl.java:3281) at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.issueSQLbeforeCompletion(RepeatableWriteUnitOfWork.java:357) at org.eclipse.persistence.transaction.AbstractSynchronizationListener.beforeCompletion(AbstractSynchronizationListener.java:160) ... 62 more Caused by: org.apache.derby.shared.common.error.DerbySQLIntegrityConstraintViolationException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'SQL220624180829450' defined on 'AEJB_MX1_UNI_BTOB'. at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(Unknown Source) at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source) at org.apache.derby.client.am.ClientPreparedStatement.executeUpdate(Unknown Source) 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) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.apache.tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:118) at jdk.proxy3/jdk.proxy3.$Proxy111.executeUpdate(Unknown Source) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:898) ... 93 more Caused by: ERROR 23505: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'SQL220624180829450' defined on 'AEJB_MX1_UNI_BTOB'. at org.apache.derby.client.am.ClientStatement.completeExecute(Unknown Source) at org.apache.derby.client.net.NetStatementReply.parseEXCSQLSTTreply(Unknown Source) at org.apache.derby.client.net.NetStatementReply.readExecute(Unknown Source) at org.apache.derby.client.net.StatementReply.readExecute(Unknown Source) at org.apache.derby.client.net.NetPreparedStatement.readExecute_(Unknown Source) at org.apache.derby.client.am.ClientPreparedStatement.readExecute(Unknown Source) at org.apache.derby.client.am.ClientPreparedStatement.flowExecute(Unknown Source) at org.apache.derby.client.am.ClientPreparedStatement.executeUpdateX(Unknown Source) ... 101 more 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.begin().getStatus():0 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():0 06-24-2022 18:08:44: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper isActive():true 06-24-2022 18:08:44: SVR-TRACE: in UserTransactionWrapper.commit() 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():0 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper isActive():false 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: INVOKED SETUP METHOD! 06-24-2022 18:08:44: SVR-TRACE: ABOUT TO INVOKE EETEST RUN METHOD! 06-24-2022 18:08:44: SVR-TRACE: Begin detachMX1Test1 06-24-2022 18:08:44: SVR-TRACE: Persist Instance 06-24-2022 18:08:44: SVR-TRACE: Entered createA method 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper isActive():false 06-24-2022 18:08:44: SVR-TRACE: in UserTransactionWrapper.begin() 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.begin().getStatus():0 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():0 06-24-2022 18:08:44: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper isActive():true 06-24-2022 18:08:44: SVR-TRACE: in UserTransactionWrapper.commit() 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():0 06-24-2022 18:08:44: SVR-TRACE: Call EntityManager.clear() 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: Clearing context 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: Trying to clear cache via call to EMF.getCache().evictAll(). 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: EMF.getCache().evictAll() was executed. 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper isActive():false 06-24-2022 18:08:44: SVR-TRACE: in UserTransactionWrapper.begin() 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.begin().getStatus():0 06-24-2022 18:08:44: SVR-TRACE: Call getEntityManager.contains to determine if the instance is detached 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: Status is false as expected, try perist() 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR: Did not throw IllegalArgumentException 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():0 06-24-2022 18:08:44: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper isActive():true 06-24-2022 18:08:44: SVR-TRACE: in UserTransactionWrapper.commit() 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():0 06-24-2022 18:08:44: SVR: or, Transaction commit will fail. Test the commit failed by testing the transaction is marked for rollback 06-24-2022 18:08:44: SVR: Received exception TransactionRolledbackException or PersistenceException 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper isActive():false 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: Cleanup data 06-24-2022 18:08:44: SVR-TRACE: removeTestData 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper isActive():false 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper isActive():false 06-24-2022 18:08:44: SVR-TRACE: in UserTransactionWrapper.begin() 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.begin().getStatus():0 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():0 06-24-2022 18:08:44: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper isActive():true 06-24-2022 18:08:44: SVR-TRACE: in UserTransactionWrapper.commit() 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():0 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper isActive():false 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: cleanup complete, calling super.cleanup 06-24-2022 18:08:44: SVR-TRACE: Rolling back any existing transaction before closing EMF and EM if one exists. 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper isActive():false 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.UserTransactionWrapper isActive():false 06-24-2022 18:08:44: SVR-TRACE: UserTransactionWrapper.isActive().getStatus():6 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: Clearing context 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: Trying to clear cache via call to EMF.getCache().evictAll(). 06-24-2022 18:08:44: SVR-TRACE: Using existing entity manager class:org.apache.openejb.persistence.JtaEntityManager isOpen:true 06-24-2022 18:08:44: SVR-TRACE: EMF.getCache().evictAll() was executed. 06-24-2022 18:08:44: SVR: detachMX1Test1 in vehicle passed 06-24-2022 18:08:45: TRACE: SLEPT FOR: 1000 STATUS:Passed. Passed. ******************************************************************************** Finished Test: PASSED........com/sun/ts/tests/jpa/core/entitytest/detach/manyXone/Client.java#detachMX1Test1_from_stateless3 ********************************************************************************