JBoss Community

Re: How to add Listory logger

created by Adam Bach in jBPM - View the full discussion

I have changed persistence.xml to use MySQL classes and data source to:

<datasources>

  <local-tx-datasource>

    <jndi-name>jdbc/testDS1</jndi-name>

    <connection-url>jdbc:mysql://localhost:3308/jirajbpm</connection-url>

    <!--connection-url>jdbc:h2:mem:mydb</connection-url-->

    <driver-class>com.mysql.jdbc.jdbc2.optional.MysqlDataSource</driver-class>

    <user-name>root</user-name>

    <password></password>

  </local-tx-datasource>

</datasources>

 

I have rebuilt jbpm project and put console client and server WARs in jboss default deploy. But I started getting the same error:

java.lang.ClassNotFoundException: org.drools.persistence.session.SessionInfo

and this is while executing line 132 of class CommandDelegate which is

Persistence.createEntityManagerFactory("org.jbpm.persistence.jpa");

 

Previously it was working fine and never missed this class. I did put drools-persistence-jpa-5.2.0.Final.jar in all possible lib dirs but it didnt help.

 

Any advice???

Reply to this message by going to Community

Start a new discussion in jBPM at Community