Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12464

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.CR1
    • 7.1.0.ER3
    • EJB
    • None

      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"}}
      

              fjuma1@redhat.com Farah Juma
              jmartisk@redhat.com Jan Martiska
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: