[jboss-jira] [JBoss JIRA] Commented: (AS7-680) Add BinderService dependency for infinispan hibernate 2LC

Scott Marlow (JIRA) jira-events at lists.jboss.org
Sat Apr 30 00:19:20 EDT 2011


    [ https://issues.jboss.org/browse/AS7-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599221#comment-12599221 ] 

Scott Marlow commented on AS7-680:
----------------------------------

Unit test used persistence.xml properties:

    <property name="hibernate.cache.use_second_level_cache" value="true"/>
    <property name="hibernate.cache.use_query_cache" value="false"/>
    <property name="hibernate.cache.region.factory_class" value="org.hibernate.cache.infinispan.JndiInfinispanRegionFactory"/>
    <property name="hibernate.cache.infinispan.cachemanager" value="java:jboss/infinispan/hibernate"/>


> Add BinderService dependency for infinispan hibernate 2LC
> ---------------------------------------------------------
>
>                 Key: AS7-680
>                 URL: https://issues.jboss.org/browse/AS7-680
>             Project: Application Server 7
>          Issue Type: Task
>          Components: JPA / Hibernate
>    Affects Versions: 7.0.0.Beta3
>            Reporter: Paul Ferraro
>            Assignee: Scott Marlow
>             Fix For: 7.0.0.CR1
>
>
> To make sure the cache manager specified by the hibernate.cache.infinispan.cachemanager persistence.xml property is started, the deployer needs to specify a dependency on the appropriate BinderService.  i.e. with ServiceName:
> org.jboss.as.naming.deployment.ContextNames.JAVA_CONTEXT_SERVICE_NAME.append(value)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list