Announcement Announcement Module
Collapse
No announcement yet.
jboss clustering for spring swf2-JPA Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • jboss clustering for spring swf2-JPA

    Hi,
    I am trying jboss clustering for Spring webflow2 and jpa. session got replicated but the flow continuation is not happening with JpaFlowExecutionListener. Iam using 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>

    advice required please.

    Thanks in advance,
    Prabhuji
Working...
X