Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:


Go Back   Caucho Forums > Resin

Reply
 
Thread Tools Display Modes
  #1  
Old 12-26-2013, 04:11 PM
karomann karomann is offline
Junior Member
 
Join Date: Dec 2013
Posts: 1
Default CDI extension (spring data) in Resin 4.0.38 not working (?)

Hi,
does CanDI/Resin support CDI extensions? I wanted to use Spring Data as a CDI extension in my web application. I put the spring-data-jpa-1.4.3.RELEASE.jar containing appropriate META-INF/services/javax.enterprise.inject.spi.Extension file into my .war file, but the extension does not seem to be picked up by Resin - on startup I get a javax.enterprise.inject.UnsatisfiedResolutionExcep tion: Can't find a bean for 'interface pl.aw.services.MyEntityRepository' because no beans implementing that class have been registered with the injection manager InjectManager[web-approduction/webapp/default/mywar-1.0-SNAPSHOT].

Do I need e.g. to manually register a CDI extension in some xml file in order for it to work?

The .war archive deploys and works correctly on JBoss EAP 6.1. I am using Resin 4.0.38 Open Source version.

Thanks in advance
Reply With Quote
Reply

Tags
cdi, cdi extension, spring data

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:16 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.