[jboss-user] [jBPM] - Re: Task activity failure to save history data of the task

jan piel do-not-reply at jboss.com
Thu Feb 17 02:57:19 EST 2011


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110217/79385e75/attachment.html 


More information about the jboss-user mailing list