Announcement Announcement Module

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions ( project, this forum has been decommissioned in favour of Spring Extensions one at:

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Costin Leau
SpringSource - Spring Training, Consulting, and Support - "From the Source"
See more
See less
Tangosol Coherence not working Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tangosol Coherence not working


    I am trying to use the Declarative Caching Services with Coherence and used the Dev2Dev article on the same to try it out. But after set up I happen to see that everytime a call is posted to the Hibernate to load the object. Please find below the config file:

    <beans xmlns=""

    <coherence:config failQuietly="false"/>
    <bean id="entityManagerFactory"
    class="org.springframework.orm.jpa.LocalContainerE ntityManagerFactoryBean">
    <property name="persistenceUnitName" value="UserProfile"/>
    <property name="dataSource" ref="dataSource"/>

    <property name="jpaVendorAdapter">
    <bean class="org.springframework.orm.jpa.vendor.Hibernat eJpaVendorAdapter">
    <property name="showSql" value="true" />
    <property name="generateDdl" value="false" />
    <property name="databasePlatform" value="org.hibernate.dialect.Oracle10gDialect"/>
    <property name="jpaProperties">
    <prop key="hibernate.jdbc.batch_size">100</prop>

    <bean id="dataSource"
    class="org.springframework.jdbc.datasource.DriverM anagerDataSource">

    <bean id="transactionManager"
    class="org.springframework.orm.jpa.JpaTransactionM anager" >
    <property name="entityManagerFactory" ref="entityManagerFactory" />
    <property name="dataSource" ref="dataSource"/>

    <!-- <bean id="cacheManager"
    class="org.springmodules.cache.provider.jboss.Jbos sCacheManagerFactoryBean">
    <!-- Optional properties -->
    <!-- <property name="configLocation" value="classpath:org/springmodules/samples/cache-service.xml" />
    </bean> -->

    <!-- <bean id="cacheProviderFacade"
    class="org.springmodules.cache.provider.tangosol.C oherenceFacade">
    <property name="cacheManager" ref="cacheManager" />
    </bean> -->

    <bean id="serviceBean" class="com.test.coherence.spring.SpringServiceBean ">
    <property name="dao" ref="userDAO" />
    <bean id="userDAOTarget" class="com.test.coherence.spring.UserDAO">
    <property name="emf" ref="entityManagerFactory" />

    <coherenceroxy id="userDAO" refId="userDAOTarget">
    <coherence:caching methodName="getUserByID" cacheName="UPS-com.test.coherence.spring.UserCache"/>


    I have commented the CacheManager and CacheFacade entries as I could not locate the CoherenceCacheManager in SpringModules.jar.

    JPA entity also uses the same UPS- as a region name. Please help me in fixing this issue.

    Thanks in Advance
    Last edited by pckeyan; May 9th, 2008, 09:23 AM.

  • #2
    good idea,i support the landlord

    i support the landlord itgo for me think!Remember these are averages, and the Southwest has been in a drought for some time. Old timers in Prescott will tell you how almost every afternoon in July and August they got their "Monsoon Shower" almost like clockwork. They still get quite frequent short showers but for the last few years they have not been as regular.Prescott is a beautiful place, but unfortunately has changed a lot in the past twenty years or so. There is not a lot of work there, and what is there is mostly retail and service related. or wow gold is good There has been a lot of West Coast retirement therehi,the wow gold is good,and after school often play wow gold To anyone coming from the East or South, these showers will really seem insignificant, and actually quite welcome as the afternoon temperature climbs.


    • #3
      What is that junk by "netinfog", totally rubbish.


      • #4
        Hello Karthik

        I know it's an old post.But did you get any solution for this issue? I am having exactly similar configuration and not able to use spring caching. Thanks!