jan piel [http://community.jboss.org/people/jpiel] created the discussion

"Re: Task activity failure to save history data of the task"

To view the discussion, visit: http://community.jboss.org/message/587942#587942

--------------------------------------------------------------
Maybe you should expand your spring-configuration. I'm not an expert in this 
issue but I think there must be beans configured in a way like this:

     <bean id="sessionFactory"
          class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
          <property name="configLocation" 
value="classpath:jbpm.hibernate.cfg.xml" />
          <property name="dataSource" ref="dataSource" />
     </bean>

     <bean id="transactionManager"
          
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
          <property name="sessionFactory" ref="sessionFactory" />
          <property name="dataSource" ref="dataSource" />
     </bean>

     <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"
          destroy-method="close">
          <property name="driverClassName" value="YourDriver" />
          <property name="url" value="someUrl" />
          <property name="username" value="user" />
          <property name="password" value="password" />
     </bean>

But I don't use JBPM with Spring so I'm not confident at all.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/587942#587942]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to