-
Enhancement
-
Resolution: Done
-
Major
-
None
See https://issues.redhat.com/browse/WFLY-14014 + https://github.com/wildfly/wildfly-core/pull/4392 for more details.
The idea is to handle the following failure during bytecode transformation which doesn't support duplicate classes currently. We will use untransformed application content:
2020-10-23 14:40:42,445 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "servlet_plu_singlethreadmodel_web.war")]): java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: Error occured during transformation. Error code 3 at org.wildfly.galleon.plugin.transformer.BataviaTransformer.transform(BataviaTransformer.java:55) at org.wildfly.galleon.plugin.transformer.JakartaTransformer.transform(JakartaTransformer.java:98) at org.wildfly.ee8to9.transformer.DeploymentTransformer.transform(DeploymentTransformer.java:40) at org.jboss.as.server.deployment.DeploymentAddHandler.addFromContentAdditionParameter(DeploymentAddHandler.java:220) at org.jboss.as.server.deployment.DeploymentAddHandler.execute(DeploymentAddHandler.java:137) at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:1005) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:744) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:468) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1415) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:431) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:248) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:304) [wildfly-elytron-auth-server-1.13.1.Final.jar:1.13.1.Final] at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:270) [wildfly-elytron-auth-server-1.13.1.Final.jar:1.13.1.Final] at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:248) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient.executeInModelControllerCl(ModelControllerClientFactoryImpl.java:259) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient.lambda$runOperation$0(ModelControllerClientFactoryImpl.java:249) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at org.jboss.as.controller.access.InVmAccess.runInVm(InVmAccess.java:63) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at org.jboss.as.controller.SecurityActions$InVmActions$2.lambda$runInVm$0(SecurityActions.java:162) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_191] at org.jboss.as.controller.SecurityActions$InVmActions$2.runInVm(SecurityActions.java:162) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at org.jboss.as.controller.SecurityActions.runInVm(SecurityActions.java:49) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient.runOperation(ModelControllerClientFactoryImpl.java:249) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient.access$600(ModelControllerClientFactoryImpl.java:114) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at org.jboss.as.controller.ModelControllerClientFactoryImpl$LocalClient$2.run(ModelControllerClientFactoryImpl.java:203) [wildfly-controller-14.0.0.Beta1.jar:14.0.0.Beta1] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_191] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_191] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [rt.jar:1.8.0_191] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_191] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_191] at org.jboss.threads.JBossThread.run(JBossThread.java:513) [jboss-threads-2.4.0.Final.jar:2.4.0.Final] Caused by: java.lang.RuntimeException: java.io.IOException: Error occured during transformation. Error code 3 at org.wildfly.extras.transformer.eclipse.ArchiveTransformerImpl.transform(ArchiveTransformerImpl.java:98) at org.wildfly.galleon.plugin.transformer.BataviaTransformer.transform(BataviaTransformer.java:65) at org.wildfly.galleon.plugin.transformer.BataviaTransformer.transform(BataviaTransformer.java:40) ... 31 more Caused by: java.io.IOException: Error occured during transformation. Error code 3 at org.wildfly.extras.transformer.eclipse.ArchiveTransformerImpl.transform(ArchiveTransformerImpl.java:117) at org.wildfly.extras.transformer.eclipse.ArchiveTransformerImpl.transform(ArchiveTransformerImpl.java:96) ... 33 more 2020-10-23 14:40:52,491 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) WFLYDS0004: Found servlet_plu_srattributeevent_web.war in deployment directory. To trigger deployment create a file called servlet_plu_srattributeevent_web.war.dodeploy 2
- blocks
-
WFLY-14014 servlet/pluggability/api/jakarta_servlet/singlethreadmodel/URLClient.java#singleModelTest is failing due to Galleon transformation failure caused by duplicate entry in application deployment
- Resolved