[jboss-user] [jBPM] - Re: The process instance Couldn't completed

Alexis Lalas do-not-reply at jboss.com
Fri May 27 17:26:26 EDT 2011


Alexis Lalas [http://community.jboss.org/people/alexis_lalas] created the discussion

"Re: The process instance Couldn't completed"

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

--------------------------------------------------------------
Hi Kris and Filip, I've added <mapping-file>META-INF/orm.xml</mapping-file>  to my /jbpm-gwt-console-server/WEB-INF/classes/META-INF/persistence.xml , but the error but the error persists.



Now my File --> ./jbpm-gwt-console-server/WEB-INF/classes/META-INF/persistence.xml  has the following lines
=======================================================
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<persistence version="1.0"
             xsi:schemaLocation=" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence
                                  http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd
                                  http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm 
                                  http://java.sun.com/xml/ns/persistence/orm_1_0.xsd http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
             xmlns:orm=" http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm"
             xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
             xmlns=" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence">


  <persistence-unit name="org.drools.persistence.jpa" transaction-type="JTA">
    <provider>org.hibernate.ejb.HibernatePersistence</provider>
    <jta-data-source>java:jdbc/testDS1</jta-data-source>        
    <mapping-file>META-INF/orm.xml</mapping-file>     <!--              - - - -  My new line - - - -    -->
    <class>org.jbpm.persistence.processinstance.ProcessInstanceInfo</class>
    <class>org.drools.persistence.info.SessionInfo</class>
    <class>org.drools.persistence.info.WorkItemInfo</class>
    <properties>
      <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>                  
      <property name="hibernate.max_fetch_depth" value="3"/>
      <property name="hibernate.hbm2ddl.auto" value="create" />
      <property name="hibernate.show_sql" value="false" /> 
      <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup" />
    </properties>   

  </persistence-unit>

</persistence>


=======================================================


Could anyone solve this problem?
Thanks.
--------------------------------------------------------------

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

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/20110527/8bb4797b/attachment-0001.html 


More information about the jboss-user mailing list