JBoss Community

Re: jBPM5 Console Integration with Tomcat6

created by Anand Prakash in jBPM - View the full discussion

I also did all setup for Tomcat but only issue is with setting up datasource  JNDI and transaction manager.

I tried putting testDS in gwt-console-server.war web-inf folder ,then I added persistence related jars in Tomcat_Home/lib folder as well,but still same error I get related to finding persistence classes.


Could not initialize stateful knowledge session: No Persistence provider for EntityManager 
named org.drools.persistence.jpa

Here is the snippet from server.xml config from Tomcat(below config is the second option I tried)
<Context path="/jbpm-console" docBase="C:/Anand/apache-tomcat-5.5.31/webapps/gwt-console-server.war"
                debug="5" reloadable="true" crossContext="true">

        <Resource name="jdbc/testDS1" auth="Container" type="javax.sql.DataSource"
               maxActive="100" maxIdle="30" maxWait="10000" logAbandoned="true" removeAbandonedTimeout="60" removeAbandoned="true"
              username="jana" password="jana" driverClassName="oracle.jdbc.OracleDriver"



I don't see any error on server log ,only while loading process in web console I get the exception.

So basically some configuration related to transactionManager and Datasource could be the problem.Let me know if any info on this.




Reply to this message by going to Community

Start a new discussion in jBPM at Community