Bug 1278424 - Interceptor bindings not registered for infinispan-remote jar
Interceptor bindings not registered for infinispan-remote jar
Status: VERIFIED
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan (Show other bugs)
6.6.0
Unspecified Unspecified
unspecified Severity high
: ER2
: 6.6.0
Assigned To: Sebastian Łaskawiec
Martin Gencur
:
Depends On:
Blocks: 1175272
  Show dependency treegraph
 
Reported: 2015-11-05 07:53 EST by Martin Gencur
Modified: 2015-11-19 04:19 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Martin Gencur 2015-11-05 07:53:46 EST
Getting the exception below when deploying JDG 6.6.0.ER1 infinispan-remote.jar into EAP. The deployment then fails completely.
Adding org.infinispan.cdi.AnnotationInjectExtension to META-INF/services/javax.enterprise.inject.spi.Extension and adding class file AnnotationInjectExtension to the infinispan-remote fixes that problem.

Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-000069 An interceptor must have at least one binding, but org.infinispan.cdi.interceptor.CachePutInterceptor has none
        at org.jboss.weld.bean.InterceptorImpl.<init>(InterceptorImpl.java:72)
        at org.jboss.weld.bean.InterceptorImpl.of(InterceptorImpl.java:59)
        at org.jboss.weld.bootstrap.AbstractBeanDeployer.createInterceptor(AbstractBeanDeployer.java:229)
        at org.jboss.weld.bootstrap.BeanDeployer.createBeans(BeanDeployer.java:151)
        at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:204)
        at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:349)
        at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:63)
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
        ... 3 more

It fails because interceptor bindings are not registered (https://github.com/infinispan/infinispan/blob/master/jcache/src/main/java/org/infinispan/jcache/annotation/AnnotationInjectExtension.java
Comment 3 Martin Gencur 2015-11-19 04:19:46 EST
Interceptor binginds properly registered in ER2.

Note You need to log in before you can comment on or make changes to this bug.