Announcement Announcement Module
Collapse
No announcement yet.
Spring Webflow2 with Jpa for Jboss Cluster Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Webflow2 with Jpa for Jboss Cluster

    Hi,

    I am using Spring webflow2 and jpa. I am trying jboss clustering i got success in replication of session. But the flow continuation is not happening when i use JpaFlowExecutionListener. find the following configuration tags.
    ======================================
    <flow-executor id="flowExecutor">
    <flow-execution-listeners>
    <listener ref="jpaFlowExecutionListener"/>
    </flow-execution-listeners>
    <flow-execution-attributes>
    <always-redirect-on-pause value="true"/>
    </flow-execution-attributes
    </flow-executor>
    <beans:bean id="jpaFlowExecutionListener"
    class="org.springframework.webflow.persistence.Jpa FlowExecutionListener">
    <beans:constructor-arg ref="entityManagerFactory" />
    <beans:constructor-arg ref="transactionManager" />
    </beans:bean>

    <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerE ntityManagerFactoryBean"
    p:dataSource-ref="dataSource"
    persistenceUnitName="paymentPU"
    p:jpaVendorAdapter-ref="hibernateJpaVendorAdapter"
    persistence-xml-location="classpath:META-INF/persistence-spring.xml"
    p:jpaProperties-ref="jpaProperties">
    </bean>
    <bean id="hibernateJpaVendorAdapter" class="org.springframework.orm.jpa.vendor.Hibernat eJpaVendorAdapter" />
    <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionM anager"
    p:entityManagerFactory-ref="entityManagerFactory">
    </bean>

    ================================

    Please advice me.

    With Regards,
    T Mahesh
Working...
X