-
Bug
-
Resolution: Done
-
Major
-
None
-
None
A WildFly 8.2.1.Final server, migrated to WildFly 10.0.0.Final, throws an error when running WildFly 10 basic integration test org.jboss.as.test.integration.jpa.epcpropagation.shallow.ShallowExtendedPersistenceContextInheritanceTestCase
Server log is attached, to replicate the test error:
1. Download and unzip WildFly 8.2.1.Final binary distribution at http://download.jboss.org/wildfly/8.2.1.Final/wildfly-8.2.1.Final.zip
2. Download and unzip WildFly 10.0.0.Final source code at https://github.com/wildfly/wildfly/archive/10.0.0.Final.zip
3. Build WildFly 10.0.0.Final from sources
cd wildfly-10.0.0.Final ./build.sh -DskipTests
4. Download and unzip WildFly Server Migration master source code at https://github.com/wildfly/wildfly-server-migration/archive/master.zip
5. Build WildFly Server Migration master from sources
cd ../wildfly-server-migration-master mvn install unzip build/target/wildfly-server-migration-1.0.0.Alpha1-SNAPSHOT.zip
6. Migrate WildFly 8 to WildFly 10
/wildfly-server-migration/server-migration.sh --source ../wildfly-8.2.1.Final --target ../wildfly-10.0.0.Final/dist/target/wildfly-10.0.0.Final --interactive false
7. Configure migrated standalone-full.xml for the basic testsuite
sed -e 's|<pooled-connection-factory name="hornetq-ra" transaction="xa" entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory" connectors="in-vm"/>|<pooled-connection-factory name="activemq-ra" transaction="xa" connectors="in-vm" entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory"/>|' -e 's|<resource-adapter-ref resource-adapter-name="${ejb.resource-adapter-name:hornetq-ra}"/>|<resource-adapter-ref resource-adapter-name="${ejb.resource-adapter-name:activemq-ra.rar}"/>|' -e 's|<resource-adapter-ref resource-adapter-name="${ejb.resource-adapter-name:hornetq-ra.rar}"/>|<resource-adapter-ref resource-adapter-name="${ejb.resource-adapter-name:activemq-ra.rar}"/>|' -e 's|<pooled-connection-factory name="hornetq-ra" transaction="xa" entries="java:/JmsXA" connectors="in-vm"/>|<pooled-connection-factory name="activemq-ra" transaction="xa" connectors="in-vm" entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory"/>|' -i '' ../wildfly-10.0.0.Final/dist/target/wildfly-10.0.0.Final/standalone/configuration/standalone-full.xml
8. Run the test
mvn -f ../wildfly-10.0.0.Final/testsuite/pom.xml clean test -Dts.basic -Dtest=ShallowExtendedPersistenceContextInheritanceTestCase
- clones
-
CMTOOL-15 org.jboss.as.test.integration.ee.injection.resource.infinispan.InfinispanInjectionTestCase error after WildFly 8 to WildFly 10 Server Migration
- Closed