Bug 1278424

Summary: Interceptor bindings not registered for infinispan-remote jar
Product: [JBoss] JBoss Data Grid 6 Reporter: Martin Gencur <mgencur>
Component: InfinispanAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED UPSTREAM QA Contact: Martin Gencur <mgencur>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.6.0CC: jdg-bugs, pzapataf
Target Milestone: ER2   
Target Release: 6.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:48:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1175272    

Description Martin Gencur 2015-11-05 12:53:46 UTC
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 09:19:46 UTC
Interceptor binginds properly registered in ER2.

Comment 5 Red Hat Bugzilla 2025-02-10 03:48:25 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.