******************************************************************************** Beginning Test: com/sun/ts/tests/jpa/core/annotations/discriminatorValue/Client.java#discriminatorValueTest_from_appmanagedNoTx ******************************************************************************** Undeploying apps... StandardDeployment14.isDeployed() Deployed Modules: Search for s1as runtime files match:`jpa_core_annotations_discrinimatorValue_vehicles.ear` Valid runtime files after sweep: /home/ec2-user/jakartaee91tck/dist/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/jpa_core_annotations_discrinimatorValue_appmanagedNoTx_vehicle_ejb.jar.sun-ejb-jar.xml /home/ec2-user/jakartaee91tck/dist/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/jpa_core_annotations_discrinimatorValue_appmanaged_vehicle_ejb.jar.sun-ejb-jar.xml /home/ec2-user/jakartaee91tck/dist/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/jpa_core_annotations_discrinimatorValue_stateful3_vehicle_ejb.jar.sun-ejb-jar.xml /home/ec2-user/jakartaee91tck/dist/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/jpa_core_annotations_discrinimatorValue_stateless3_vehicle_ejb.jar.sun-ejb-jar.xml Deploying apps for forward rebuildable... Search for s1as runtime files match:`jpa_core_annotations_discrinimatorValue_vehicles.ear` Valid runtime files after sweep: /home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/harnesstmp//tmp/jpa_core_annotations_discrinimatorValue_appmanagedNoTx_vehicle_ejb.jar.sun-ejb-jar.xml /home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/harnesstmp//tmp/jpa_core_annotations_discrinimatorValue_appmanaged_vehicle_ejb.jar.sun-ejb-jar.xml /home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/harnesstmp//tmp/jpa_core_annotations_discrinimatorValue_stateful3_vehicle_ejb.jar.sun-ejb-jar.xml /home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/harnesstmp//tmp/jpa_core_annotations_discrinimatorValue_stateless3_vehicle_ejb.jar.sun-ejb-jar.xml StandardDeployment14.deploy() Starting to distribute: /home/ec2-user/jakartaee91tck/dist/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/jpa_core_annotations_discrinimatorValue_vehicles.ear file: /home/ec2-user/jakartaee91tck/dist/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/jpa_core_annotations_discrinimatorValue_vehicles.ear plan: java.io.ByteArrayInputStream@5cfc1716 amd Obtained CACHED DeploymentManager amd Obtained CACHED DeploymentManager $$$$$$$$$$ Deployment SUCCEEDED for "/home/ec2-user/jakartaee91tck/dist/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/jpa_core_annotations_discrinimatorValue_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 = :: 03-13-2021 04:26:39: Harness - harness.executeMode is set to "0" 03-13-2021 04:26:39: Harness - keywords (to be passed to tests) set to: all 03-13-2021 04:26:39: Harness - sClassPathFromExecProps = :: command: com.sun.ts.lib.harness.ExecTSTestCmd SYSTEMROOT= /home/ec2-user/jdk8/jre/bin/java -Dopenejb.server.uri=http://localhost:36227/tomee/ejb -DResource/javax.sql.DataSource=datasource:org.apache.derby.jdbc.ClientDataSource:jdbc:derby://localhost:41905/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/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/src/test/keystores/clientcert.jks -Djavax.net.ssl.keyStorePassword=changeit -Djavax.net.ssl.trustStore=/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/src/test/keystores/ssl-truststore -Djavax.net.ssl.trustStorePassword=changeit -cp /home/ec2-user/jakartaee91tck/dist/com/sun/ts/tests/jpa/core/annotations/discriminatorValue/jpa_core_annotations_discrinimatorValue_vehicles/lib/jpa_core_annotations_discrinimatorValue.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/apps/jpa_core_annotations_discrinimatorValue_vehicles/jpa_core_annotations_discrinimatorValue_appmanaged_vehicle_client.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/javaee-api-8.0-5.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/tomee-tck-8.0.7-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/openejb-core-8.0.7-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/openejb-core-eclipselink-8.0.7-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/FastInfoset-1.2.16.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/activemq-client-5.16.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/activemq-jdbc-store-5.16.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/bval-jsr-2.0.5.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/catalina.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/commons-cli-1.4.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/commons-collections-3.2.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/commons-collections4-4.4.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/commons-dbcp2-2.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/commons-lang3-3.11.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/commons-logging-1.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/commons-pool2-2.3.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/cts-9.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/dbprocedures-9.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/derby-10.14.2.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/derbyclient-10.14.2.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/derbynet-10.14.2.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/eclipselink-3.0.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/el-api.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/geronimo-connector-3.1.4.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/geronimo-javamail_1.6_mail-1.0.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/geronimo-jms_1.1_spec-1.1.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/geronimo-mail-2.0.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/geronimo-transaction-3.1.4.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/hawtbuf-1.11.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/howl-1.0.1-1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/hsqldb-2.3.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/istack-commons-runtime-3.0.8.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/jackson-annotations-2.12.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/jackson-core-2.12.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/jackson-databind-2.12.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/jakarta.activation-1.2.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/jakarta.xml.bind-api-2.3.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/jaspic-api.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/javaee-api-8.0-5.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/jaxb-runtime-2.3.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/jsp-api.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/mbean-annotation-api-8.0.7-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openejb-api-8.0.7-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openejb-core-8.0.7-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openejb-core-eclipselink-8.0.7-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openejb-javaagent.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openejb-jee-8.0.7-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openejb-jee-accessors-8.0.7-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openejb-jpa-integration-8.0.7-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openejb-loader-8.0.7-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openjpa-3.1.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openwebbeans-ee-2.0.22-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openwebbeans-ee-common-2.0.22-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openwebbeans-ejb-2.0.22-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openwebbeans-el22-2.0.22-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openwebbeans-impl-2.0.22-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openwebbeans-spi-2.0.22-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/openwebbeans-web-2.0.22-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/quartz-openejb-shade-2.2.4.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/serp-1.15.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/servlet-api.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/slf4j-api-1.7.21.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/stax-ex-1.8.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/swizzle-stream-1.6.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/sxc-jaxb-core-0.8.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/sxc-runtime-0.8.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/tomcat-api.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/tomcat-juli.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/tomcat-util-scan.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/tomcat-util.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/tomcat-websocket.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/tomee-catalina-8.0.7-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/tomee-security-8.0.7-SNAPSHOT.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/tsharness-9.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/tssv-9.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/txw2-2.3.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/websocket-api.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/whitebox-9.1.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/xbean-asm-util-4.18.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/xbean-asm7-shaded-4.14.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/xbean-asm8-shaded-4.17.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/xbean-asm9-shaded-4.18.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/xbean-bundleutils-4.14.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/xbean-finder-shaded-4.14.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/xbean-naming-4.14.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/lib/xbean-reflect-4.14.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/commons-logging-1.2.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/eclipselink-3.0.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/derby-10.14.2.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/derbyclient-10.14.2.0.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/openejb-client-8.0.7-SNAPSHOT.jar:/home/ec2-user/jakartaee91tck/lib/javatest.jar:/home/ec2-user/jakartaee91tck/lib/tsharness.jar:/home/ec2-user/jakartaee91tck/lib/cts.jar:/home/ec2-user/jakartaee91tck/lib/dbprocedures.jar:/home/ec2-user/jakartaee91tck/lib/commons-httpclient-3.1.jar:/home/ec2-user/jakartaee91tck/lib/jdom-1.1.3.jar:/home/ec2-user/jakartaee91tck/lib/jaxb-api.jar:/home/ec2-user/jakartaee91tck/lib/jaxb-impl.jar:/home/ec2-user/jakartaee91tck/lib/jaxb-xjc.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/jasper-el.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/cxf-rt-rs-client-3.3.8.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/cxf-rt-transports-http-3.3.8.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/cxf-core-3.3.8.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/woodstox-core-5.0.3.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/stax2-api-3.1.4.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/xmlschema-core-2.2.5.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/cxf-rt-frontend-jaxrs-3.3.8.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/cxf-rt-rs-sse-3.3.8.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/johnzon-core-1.2.10.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/johnzon-jaxrs-1.2.10.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/johnzon-jsonb-1.2.10.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/johnzon-jsonp-strict-1.2.10.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/johnzon-mapper-1.2.10.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-api.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-coyote.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-dbcp.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-i18n-cs.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-i18n-de.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-i18n-es.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-i18n-fr.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-i18n-ja.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-i18n-ko.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-i18n-pt-BR.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-i18n-ru.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-i18n-zh-CN.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-jdbc.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-jni.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-util-scan.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-util.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/lib/tomcat-websocket.jar:/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/apache-tomee-plume-9.0.0-M5-SNAPSHOT/apps/jpa_core_annotations_discrinimatorValue_vehicles/jpa_core_annotations_discrinimatorValue_appmanagedNoTx_vehicle_client.jar -Dopenejb.client.moduleId=jpa_core_annotations_discrinimatorValue_appmanagedNoTx_vehicle_client org.apache.openejb.client.Main -p /home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/harnesstmp//tmp/tstest.jte -t discriminatorValueTest -vehicle appmanagedNoTx Mar 13, 2021 4:26:41 AM org.apache.openejb.client.EventLogger log INFO: RemoteInitialContextCreated{providerUri=http://localhost:36227/tomee/ejb} Mar 13, 2021 4:26:41 AM org.apache.openejb.client.EventLogger log INFO: RemoteInitialContextCreated{providerUri=http://localhost:36227/tomee/ejb} Mar 13, 2021 4:26:41 AM org.apache.openejb.client.EventLogger log INFO: RemoteInitialContextCreated{providerUri=http://localhost:36227/tomee/ejb} Mar 13, 2021 4:26:41 AM org.apache.openejb.client.EventLogger log INFO: RemoteInitialContextCreated{providerUri=http://localhost:36227/tomee/ejb} ************************************************************ * props file set to "/tmp/ec2-user-cts-props.txt" ************************************************************ 03-13-2021 04:26:41: TRACE: ####### Value of harness.socket.retry.count is "10" 03-13-2021 04:26:41: TRACE: ####### Value of harness.log.port is "36599" 03-13-2021 04:26:41: TRACE: ####### Actual bind value of harness.log.port is "36599" 03-13-2021 04:26:41: TRACE: in ServiceEETest.run() method 03-13-2021 04:26:41: TRACE: Vehicle to be used for this test is: appmanagedNoTx Mar 13, 2021 4:26:41 AM org.apache.openejb.client.EventLogger log INFO: RemoteInitialContextCreated{providerUri=http://localhost:36227/tomee/ejb} 03-13-2021 04:26:41: TRACE: application-managed resource-local runner looked up vehicle: proxy=org.apache.openejb.client.StatefulEJBObjectHandler@1936f0f5 [EL Info]: 2021-03-13 04:26:41.891--ServerSession(441127380)--EclipseLink, version: Eclipse Persistence Services - 3.0.0.v202012081010 ===== Starting discriminatorValueTest in appmanagedNoTx ===== 03-13-2021 04:26:41: SVR-TRACE: in custom vehicle so call on EETest. 03-13-2021 04:26:41: SVR-TRACE: *** in EETest.run(argv,p) 03-13-2021 04:26:41: SVR-TRACE: TESTCLASS=com.sun.ts.tests.jpa.core.annotations.discriminatorValue.Client 03-13-2021 04:26:42: SVR-TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jpa.core.annotations.discriminatorValue.Client 03-13-2021 04:26:42: SVR-TRACE: ** IN getRunMethod: testname=discriminatorValueTest 03-13-2021 04:26:42: SVR-TRACE: ** GOT RUN METHOD! 03-13-2021 04:26:42: SVR-TRACE: **runmethod=discriminatorValueTest 03-13-2021 04:26:42: SVR-TRACE: ABOUT TO GET SETUP METHOD! 03-13-2021 04:26:42: SVR-TRACE: No setupMethod annotation present 03-13-2021 04:26:42: SVR-TRACE: getSetupMethod - checking for testcase specific setup method: discriminatorValueTest_setup 03-13-2021 04:26:42: SVR-TRACE: getSetupMethod - checking for default class specific setup method 03-13-2021 04:26:42: SVR-TRACE: GOT SETUP METHOD! 03-13-2021 04:26:42: SVR-TRACE: No cleanupMethod annotation present 03-13-2021 04:26:42: SVR-TRACE: getCleanupMethod - checking for testcase specific cleanup method: discriminatorValueTest_cleanup 03-13-2021 04:26:42: SVR-TRACE: getCleanupMethod - checking for default class specific cleanup method 03-13-2021 04:26:42: SVR-TRACE: GOT CLEANUP METHOD! 03-13-2021 04:26:42: SVR-TRACE: ABOUT TO INVOKE SETUP METHOD! 03-13-2021 04:26:42: SVR-TRACE: setup 03-13-2021 04:26:42: SVR-TRACE: PMClientBase.setup 03-13-2021 04:26:42: SVR-TRACE: Persistence Unit Name =CTS-EM-NOTX 03-13-2021 04:26:42: SVR-TRACE: Second Persistence Unit Name =JPATCK2 03-13-2021 04:26:42: SVR-TRACE: platform.mode is set to jakartaEE, so tests are running in JakartaEE environment. 03-13-2021 04:26:42: SVR: Current properties: 03-13-2021 04:26:42: SVR-TRACE: Key:porting.ts.deploy2.class.1, value:[org.apache.openejb.cts.DeploymentImpl] [EL Warning]: 2021-03-13 04:26:42.094--UnitOfWork(1308079533)--Exception [EclipseLink-4002] (Eclipse Persistence Services - 3.0.0.v202012081010): 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 'SQL210313042529020' defined on 'PRODUCT_TABLE'. Error Code: 20000 Call: INSERT INTO PRODUCT_TABLE (ID, NAME, QUANTITY, PRODUCT_TYPE) VALUES (?, ?, ?, ?) bind => [4 parameters bound] Query: InsertObjectQuery(Product[id: discriminatorValueTest, name: discriminatorValueTest, quantity: 1]) 03-13-2021 04:26:42: SVR-TRACE: Key:platform.mode, value:[jakartaEE] 03-13-2021 04:26:42: SVR-TRACE: Key:harness.host, value:[172.31.80.89] 03-13-2021 04:26:42: SVR-TRACE: Key:jpa.provider.implementation.specific.properties, value:[eclipselink.logging.level=OFF] 03-13-2021 04:26:42: SVR-TRACE: Key:persistence.second.level.caching.supported, value:[true] 03-13-2021 04:26:42: SVR-TRACE: Key:securedWebServicePort, value:[41677] 03-13-2021 04:26:42: SVR-TRACE: Key:current.keywords, value:[all] 03-13-2021 04:26:42: SVR-TRACE: Key:harness.socket.retry.count, value:[10] 03-13-2021 04:26:42: SVR-TRACE: Key:jakarta.persistence.provider, value:[org.eclipse.persistence.jpa.PersistenceProvider] 03-13-2021 04:26:42: SVR-TRACE: Key:webServerPort, value:[36227] 03-13-2021 04:26:42: SVR-TRACE: Key:porting.ts.login.class.2, value:[com.sun.ts.lib.implementation.sun.javaee.GlassFishLoginContext] 03-13-2021 04:26:42: SVR-TRACE: Key:porting.ts.login.class.1, value:[org.apache.openejb.cts.LoginContextImpl] 03-13-2021 04:26:42: SVR-TRACE: Key:namingServicePort2, value:[3700] 03-13-2021 04:26:42: SVR-TRACE: Key:namingServicePort1, value:[2809] 03-13-2021 04:26:42: SVR-TRACE: Key:vehicle, value:[appmanagedNoTx] 03-13-2021 04:26:42: SVR-TRACE: Key:jakarta.persistence.jdbc.driver, value:[org.apache.derby.jdbc.ClientDriver] 03-13-2021 04:26:42: SVR-TRACE: Key:harness.log.delayseconds, value:[1] 03-13-2021 04:26:42: SVR-TRACE: Key:wsdlRepository2, value:[/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/harnesstmp//wsdlRepository2] 03-13-2021 04:26:42: SVR-TRACE: Key:jakarta.persistence.jdbc.url, value:[jdbc:derby://localhost:41905/derbydb;create=true] 03-13-2021 04:26:42: SVR-TRACE: Key:persistence.unit.name.2, value:[JPATCK2] 03-13-2021 04:26:42: SVR-TRACE: Key:wsdlRepository1, value:[/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/harnesstmp//wsdlRepository1] 03-13-2021 04:26:42: SVR-TRACE: Key:test_classname, value:[com.sun.ts.tests.jpa.core.annotations.discriminatorValue.Client] 03-13-2021 04:26:42: SVR-TRACE: Key:variable.mapper, value:[org.apache.el.lang.VariableMapperImpl] 03-13-2021 04:26:42: SVR-TRACE: Key:vi.admin.user, value:[admin] 03-13-2021 04:26:42: SVR-TRACE: Key:orb.port, value:[2809] 03-13-2021 04:26:42: SVR-TRACE: Key:namingServiceHost2, value:[localhost] 03-13-2021 04:26:42: SVR-TRACE: Key:harness.temp.directory, value:[/home/ec2-user/gbuild-aws/node/target/apache-tomee/temp/temp1417828395735935575dir/gbuild/work/workspace-1/project-8189/target/harnesstmp//tmp] 03-13-2021 04:26:42: SVR-TRACE: Key:vi.admin.passwd, value:[adminadmin] 03-13-2021 04:26:42: SVR-TRACE: Key:namingServiceHost1, value:[localhost] 03-13-2021 04:26:42: SVR-TRACE: Key:harness.log.traceflag, value:[true] 03-13-2021 04:26:42: SVR-TRACE: Key:jakarta.persistence.jdbc.password, value:[cts] 03-13-2021 04:26:42: SVR-TRACE: Key:javaee.level, value:[full] 03-13-2021 04:26:42: SVR-TRACE: Key:porting.ts.deploy.class.2, value:[com.sun.ts.lib.implementation.sun.javaee.glassfish.AutoDeployment] 03-13-2021 04:26:42: SVR-TRACE: Key:porting.ts.deploy.class.1, value:[org.apache.openejb.cts.deploy.StandardDeployment14] 03-13-2021 04:26:42: SVR-TRACE: Key:bin.dir, value:[] 03-13-2021 04:26:42: SVR-TRACE: Key:harness.log.port, value:[36599] 03-13-2021 04:26:42: SVR-TRACE: Key:orb.host, value:[localhost] 03-13-2021 04:26:42: SVR-TRACE: Key:persistence.unit.name, value:[CTS-EM-NOTX] 03-13-2021 04:26:42: SVR-TRACE: Key:porting.ts.url.class.2, value:[com.sun.ts.lib.implementation.sun.common.SunRIURL] 03-13-2021 04:26:42: SVR-TRACE: Key:porting.ts.url.class.1, value:[org.apache.openejb.cts.URLImpl] 03-13-2021 04:26:42: SVR-TRACE: Key:porting.ts.HttpsURLConnection.class.2, value:[com.sun.ts.lib.implementation.sun.javaee.SunRIHttpsURLConnection] 03-13-2021 04:26:42: SVR-TRACE: Key:porting.ts.jms.class.2, value:[com.sun.ts.lib.implementation.sun.javaee.SunRIJMSAdmin] 03-13-2021 04:26:42: SVR-TRACE: Key:porting.ts.HttpsURLConnection.class.1, value:[org.apache.openejb.cts.HTTPSURLConnectionImpl] 03-13-2021 04:26:42: SVR-TRACE: Key:porting.ts.jms.class.1, value:[org.apache.openejb.cts.JMSAdminImpl] 03-13-2021 04:26:42: SVR-TRACE: Key:testName, value:[discriminatorValueTest] 03-13-2021 04:26:42: SVR-TRACE: Key:jakarta.persistence.jdbc.user, value:[cts] 03-13-2021 04:26:42: SVR-TRACE: Key:vehicle_archive_name, value:[jpa_core_annotations_discrinimatorValue_vehicles] 03-13-2021 04:26:42: SVR-TRACE: Key:finder, value:[cts] 03-13-2021 04:26:42: SVR-TRACE: Key:all.props, value:[false] 03-13-2021 04:26:42: SVR-TRACE: Key:porting.ts.deploy2.class.2, value:[com.sun.ts.lib.implementation.sun.javaee.SunRIDeployment2] 03-13-2021 04:26:42: SVR-TRACE: removeTestData 03-13-2021 04:26:42: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.EntityTransactionWrapper isActive():false 03-13-2021 04:26:42: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.EntityTransactionWrapper isActive():false 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.EntityTransactionWrapper isActive():true 03-13-2021 04:26:42: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.EntityTransactionWrapper isActive():false 03-13-2021 04:26:42: SVR-TRACE: INVOKED SETUP METHOD! 03-13-2021 04:26:42: SVR-TRACE: ABOUT TO INVOKE EETEST RUN METHOD! 03-13-2021 04:26:42: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.EntityTransactionWrapper isActive():false 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Clearing context 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Trying to clear cache via call to EMF.getCache().evictAll(). 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: EMF.getCache().evictAll() was executed. 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: finding PartProduct with id 'discriminatorValueTest' 03-13-2021 04:26:42: SVR-TRACE: Received expected PartProduct:PartProduct[id: discriminatorValueTest, name: discriminatorValueTest, quantity: 1, partNumber: 1] 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-ERROR: Unexpected exception occurred 03-13-2021 04:26:42: SVR-ERROR: jakarta.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 3.0.0.v202012081010): 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 'SQL210313042529020' defined on 'PRODUCT_TABLE'. Error Code: 20000 Call: INSERT INTO PRODUCT_TABLE (ID, NAME, QUANTITY, PRODUCT_TYPE) VALUES (?, ?, ?, ?) bind => [4 parameters bound] Query: InsertObjectQuery(Product[id: discriminatorValueTest, name: discriminatorValueTest, quantity: 1]) at org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush(EntityManagerImpl.java:980) at com.sun.ts.tests.jpa.core.annotations.discriminatorValue.Client.discriminatorValueTest(Client.java:139) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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:75) at com.sun.ts.tests.common.vehicle.appmanagedNoTx.AppManagedNoTxVehicleBean.runTest(AppManagedNoTxVehicleBean.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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.stateful.StatefulContainer.removeEJBObject(StatefulContainer.java:602) at org.apache.openejb.core.stateful.StatefulContainer.invoke(StatefulContainer.java:377) 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 jakarta.servlet.http.HttpServlet.service(HttpServlet.java:733) 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:202) 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:143) 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:346) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 3.0.0.v202012081010): 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 'SQL210313042529020' defined on 'PRODUCT_TABLE'. Error Code: 20000 Call: INSERT INTO PRODUCT_TABLE (ID, NAME, QUANTITY, PRODUCT_TYPE) VALUES (?, ?, ?, ?) bind => [4 parameters bound] Query: InsertObjectQuery(Product[id: discriminatorValueTest, name: discriminatorValueTest, quantity: 1]) at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:334) 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:2045) at org.eclipse.persistence.sessions.server.ClientSession.executeCall(ClientSession.java:312) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:282) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:268) at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.insertObject(DatasourceCallQueryMechanism.java:421) at org.eclipse.persistence.internal.queries.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:175) at org.eclipse.persistence.internal.queries.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:191) at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:507) at org.eclipse.persistence.queries.InsertObjectQuery.executeCommit(InsertObjectQuery.java:83) at org.eclipse.persistence.queries.InsertObjectQuery.executeCommitWithChangeSet(InsertObjectQuery.java:94) at org.eclipse.persistence.internal.queries.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:319) at org.eclipse.persistence.queries.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:61) at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:912) at org.eclipse.persistence.queries.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:811) at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:112) at org.eclipse.persistence.queries.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:89) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2984) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1844) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1826) at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1776) at org.eclipse.persistence.internal.sessions.CommitManager.commitNewObjectsForClassWithChangeSet(CommitManager.java:248) at org.eclipse.persistence.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:147) at org.eclipse.persistence.internal.sessions.AbstractSession.writeAllObjectsWithChangeSet(AbstractSession.java:4329) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabase(UnitOfWorkImpl.java:1496) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithPreBuiltChangeSet(UnitOfWorkImpl.java:1642) at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.writeChanges(RepeatableWriteUnitOfWork.java:473) at org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush(EntityManagerImpl.java:975) ... 53 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 'SQL210313042529020' defined on 'PRODUCT_TABLE'. 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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:114) at com.sun.proxy.$Proxy107.executeUpdate(Unknown Source) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:898) ... 83 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 'SQL210313042529020' defined on 'PRODUCT_TABLE'. 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) ... 91 more 03-13-2021 04:26:42: SVR-TRACE: cleanup 03-13-2021 04:26:42: SVR-TRACE: removeTestData 03-13-2021 04:26:42: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.EntityTransactionWrapper isActive():true 03-13-2021 04:26:42: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.EntityTransactionWrapper isActive():true 03-13-2021 04:26:42: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.EntityTransactionWrapper isActive():false 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.EntityTransactionWrapper isActive():true 03-13-2021 04:26:42: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.EntityTransactionWrapper isActive():false 03-13-2021 04:26:42: SVR-TRACE: cleanup complete, calling super.cleanup 03-13-2021 04:26:42: SVR-TRACE: Rolling back any existing transaction before closing EMF and EM if one exists. 03-13-2021 04:26:42: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.EntityTransactionWrapper isActive():false 03-13-2021 04:26:42: SVR-TRACE: Transaction class:com.sun.ts.tests.common.vehicle.ejb3share.EntityTransactionWrapper isActive():false 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Clearing context 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: Trying to clear cache via call to EMF.getCache().evictAll(). 03-13-2021 04:26:42: SVR-TRACE: Using existing entity manager class:org.eclipse.persistence.internal.jpa.EntityManagerImpl isOpen:true 03-13-2021 04:26:42: SVR-TRACE: EMF.getCache().evictAll() was executed. 03-13-2021 04:26:42: SVR: discriminatorValueTest in vehicle passed 03-13-2021 04:26:43: TRACE: SLEPT FOR: 1000 STATUS:Passed. Passed. ******************************************************************************** Finished Test: PASSED........com/sun/ts/tests/jpa/core/annotations/discriminatorValue/Client.java#discriminatorValueTest_from_appmanagedNoTx ********************************************************************************