Blog

Thursday 31 May 2012

seam3-persistence-framework 1.0.2 is out

We've fixed problems with DynEntityQuery not being refreshed when dynamic parameter value change. Artifacts are available at: http://artifactory.it-crowd.com.pl/repo

5 comments:

  1. g.jboss.msc.service.StartException in service jboss.deployment.unit."cdiweb.war".WeldService: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsa
    tisfied dependencies for type [EntityManager] with qualifiers [@Default] at injection point [[field] @Inject private pl.com.it_crowd.seam.framework.converter
    .EntityConverter.entityManager]
    at org.jboss.as.weld.services.WeldService.start(WeldService.java:83)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_31]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_31]
    at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]
    Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [EntityManager] with qualifiers [@Default] at injecti
    on point [[field] @Inject private pl.com.it_crowd.seam.framework.converter.EntityConverter.entityManager]
    at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:275)
    at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)
    at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)
    at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)
    at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)
    at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)
    at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)
    at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)
    at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)
    ... 5 more

    ReplyDelete
  2. I'm using Seam 3.1.0.Final

    I got the same error as RamkumaR, and I solved with the folloing:

    @ExtensionManaged
    @Produces
    @PersistenceUnit
    @ConversationScoped
    EntityManagerFactory producerField;

    ReplyDelete
  3. Bernard, is this project still on? Is it opensource?

    We are migrating some Seam 2 projects and searching some alternatives to replace Seam Persistence Framework.

    ReplyDelete
    Replies
    1. Hi Ronaldo,

      We're using this in production, so yes, it's alive. It's also open-source: https://github.com/it-crowd/seam3-persistence-framework

      Delete