Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9157

Can't deploy a deployment containing an org.jboss.ejb.client.EJBClientInterceptor registered using ServiceLoader

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 11.0.0.Beta1
    • Component/s: EJB
    • Labels:
      None

      Description

      A simple jar containing one class which implements org.jboss.ejb.client.EJBClientInterceptor and has a META-INF/services/org.jboss.ejb.client.EJBClientInterceptor file for registering it, will fail to deploy with:

      14:59:30,677 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.ejb3.ejbClientContext.deployment."interceptor-1.0-SNAPSHOT.jar": org.jboss.msc.service.StartException in service jboss.ejb3.ejbClientContext.deployment."interceptor-1.0-SNAPSHOT.jar": Failed to start service
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978) [jboss-msc-1.2.7.SP1-redhat-1.jar:1.2.7.SP1-redhat-1]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_144]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_144]
      	at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_144]
      Caused by: java.lang.IllegalStateException
      	at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47) [jboss-msc-1.2.7.SP1-redhat-1.jar:1.2.7.SP1-redhat-1]
      	at org.jboss.as.ejb3.remote.EJBClientContextService.start(EJBClientContextService.java:101)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032) [jboss-msc-1.2.7.SP1-redhat-1.jar:1.2.7.SP1-redhat-1]
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955) [jboss-msc-1.2.7.SP1-redhat-1.jar:1.2.7.SP1-redhat-1]
      	... 3 more
      
      14:59:30,682 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.ejb3.ejbClientContext.deployment.\"interceptor-1.0-SNAPSHOT.jar\"" => "Failed to start service
          Caused by: java.lang.IllegalStateException"}}
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  fjuma Farah Juma
                  Reporter:
                  fjuma Farah Juma
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: