Error "JBAS011040: Could not resolve method ..." when deploying application

52 views
Skip to first unread message

Romain Larvet-Boyer

unread,
Jun 14, 2022, 10:30:34 AM6/14/22
to WildFly
Hello,

Wildfly 8 raises me the following error when I deploy an EAR :
 
15:00:54,239 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.subunit."clinique-diag-application-pack-8.2.7R4.0-SNAPSHOT.ear"."clinique-diag-application-services-8.2.7R4.0-SNAPSHOT.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."clinique-diag-application-pack-8.2.7R4.0-SNAPSHOT.ear"."clinique-diag-application-services-8.2.7R4.0-SNAPSHOT.jar".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment "clinique-diag-application-services-8.2.7R4.0-SNAPSHOT.jar" of deployment "clinique-diag-application-pack-8.2.7R4.0-SNAPSHOT.ear"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_181]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_181]
    at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_181]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014402: Could not merge data for ServiceDiagControleMcwmwDatasource
    at org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor.deploy(AbstractMergingProcessor.java:75)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
    ... 5 more
Caused by: java.lang.RuntimeException: JBAS011040: Could not resolve method Method ping(*.ExecutionContext) on class class *.AbstractService with annotations [NOT_SUPPORTED]
    at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:80)
    at org.jboss.as.ejb3.deployment.processors.merging.TransactionAttributeMergingProcessor.processTransactionAttributeAnnotation(TransactionAttributeMergingProcessor.java:91)
    at org.jboss.as.ejb3.deployment.processors.merging.TransactionAttributeMergingProcessor.handleAnnotations(TransactionAttributeMergingProcessor.java:74)
    at org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor.processComponentConfig(AbstractMergingProcessor.java:91)
    at org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor.deploy(AbstractMergingProcessor.java:73)
    ... 6 more

I have seen this error occuring in other contexts here: 

According to the replies in this thread, it seems to be a wildfly bug, adressed in https://issues.redhat.com/browse/WFLY-6430

Can you confirm me if this actually is a Wildfly bug, and if it has been fixed in a later version - and which one?

Any help would be greatly appreciated
Thanks in advance
Romain Larvet-Boyer
Reply all
Reply to author
Forward
0 new messages