Stefan,<br><br>The dev mailinglist is not the correct place for these kinds of questions. They belong in the userforum. And even if it was a question for the devs it should go in the dev forum. The dev mailinglist is only used for small internal (dev-group) related announcements etc... <br>
<br>Regards,<br><br>Ronald<br><br><div class="gmail_quote">2009/4/29 Stefan Droog <span dir="ltr">&lt;sdroog@educator.eu&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div link="blue" vlink="purple" lang="EN-US">
<div>
<p>Hi all,</p>
<p> </p>
<p>Currently I get the following error message. Does someone knows what goes wrong.</p>
<p> </p>
<p>Configuration:</p>
<p style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">           
</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">&lt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(63, 127, 127);">service</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">
<span style="color: rgb(127, 0, 127);">name</span><span style="color: black;">=</span><i><span style="color: rgb(42, 0, 255);">&quot;persistence&quot;</span></i><span style="color: teal;">&gt;</span></span></p>
<p style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">                 
</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">&lt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(63, 127, 127);">factory</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">&gt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>

<p style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">                       
</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">&lt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(63, 127, 127);">bean</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">
<span style="color: rgb(127, 0, 127);">class</span><span style="color: black;">=</span><i><span style="color: rgb(42, 0, 255);">&quot;org.jbpm.persistence.db.DbPersistenceServiceFactory&quot;</span></i><span style="color: teal;">&gt;</span></span></p>

<p style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">                             
</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">&lt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(63, 127, 127);">field</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">
<span style="color: rgb(127, 0, 127);">name</span><span style="color: black;">=</span><i><span style="color: rgb(42, 0, 255);">&quot;isTransactionEnabled&quot;</span></i><span style="color: teal;">&gt;&lt;</span><span style="color: rgb(63, 127, 127);">false</span>
<span style="color: teal;">/&gt;&lt;/</span><span style="color: rgb(63, 127, 127);">field</span><span style="color: teal;">&gt;</span></span></p>
<p style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">                             
</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">&lt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(63, 127, 127);">field</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">
<span style="color: rgb(127, 0, 127);">name</span><span style="color: black;">=</span><i><span style="color: rgb(42, 0, 255);">&quot;isCurrentSessionEnabled&quot;</span></i><span style="color: teal;">&gt;&lt;</span><span style="color: rgb(63, 127, 127);">false</span>
<span style="color: teal;">/&gt;&lt;/</span><span style="color: rgb(63, 127, 127);">field</span><span style="color: teal;">&gt;</span><span style="color: black;">                     
</span></span></p>
<p style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">                       
</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">&lt;/</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(63, 127, 127);">bean</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">&gt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>

<p style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">                 
</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">&lt;/</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(63, 127, 127);">factory</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">&gt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>

<p style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">           
</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">&lt;/</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(63, 127, 127);">service</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">&gt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>

<p style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">           
</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">&lt;</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(63, 127, 127);">service</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">
<span style="color: rgb(127, 0, 127);">name</span><span style="color: black;">=</span><i><span style="color: rgb(42, 0, 255);">&quot;tx&quot;</span></i>
<span style="color: rgb(127, 0, 127);">factory</span><span style="color: black;">=</span><i><span style="color: rgb(42, 0, 255);">&quot;org.jbpm.tx.TxServiceFactory&quot;</span></i>
<span style="color: teal;">/&gt;</span></span></p>
<p><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">     
</span></p>
<p>Regards,</p>
<p>Stefan</p>
<p> </p>
<p>2009-04-29 15:23:57,968 [server-tomcat-thread-2] ERROR org.jbpm.persistence.db.DbPersistenceService  - hibernate flush failed</p>
<p>org.hibernate.HibernateException: instance not of expected entity type: org.jbpm.context.exe.variableinstance.UnpersistableInstance is not a: org.jbpm.context.exe.VariableInstance</p>
<p>                at org.hibernate.persister.entity.AbstractEntityPersister.getSubclassEntityPersister(AbstractEntityPersister.java:3663)</p>
<p>                at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1374)</p>
<p>                at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:203)</p>
<p>                at org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:535)</p>
<p>                at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:103)</p>
<p>                at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)</p>
<p>                at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:534)</p>
<p>                at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:526)</p>
<p>                at org.hibernate.engine.CascadingAction$5.cascade(CascadingAction.java:241)</p>
<p>                at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:291)</p>
<p>                at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:239)</p>
<p>                at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:192)</p>
<p>                at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:319)</p>
<p>                at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:265)</p>
<p>                at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:242)</p>
<p>                at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:192)</p>
<p>                at org.hibernate.engine.Cascade.cascade(Cascade.java:153)</p>
<p>                ……</p>
<p>2009-04-29 15:23:57,968 [server-tomcat-thread-2] ERROR org.jbpm.svc.Services  - problem closing service &#39;persistence&#39;</p>
<p>org.jbpm.persistence.JbpmPersistenceException: hibernate flush session failed</p>
<p>                at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:207)</p>
<p>                at org.jbpm.svc.Services.close(Services.java:243)</p>
<p>                at org.jbpm.JbpmContext.close(JbpmContext.java:133)</p>
<p>                …….</p>
</div>
<br>
<hr>
<font color="Gray" face="Arial" size="1">The information contained in this communication is confidential, intended solely for the use of the individual or entity to whom it is addressed and may be legally privileged and protected by professional secrecy. Access
 to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it is prohibited and may be unlawful. Please immediately contact
 the sender if you have received this message in error. This email does not constitute any commitment from Cordys Holding BV or any of its subsidiaries except when expressly agreed in a written agreement between the intended recipient and Cordys Holding BV
 or its subsidiaries. Cordys is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. Cordys does not guarantee that the integrity of this communication has been maintained
 nor that the communication is free of viruses, interceptions or interference. If you are not the intended recipient of this communication please return the communication to the sender and delete and destroy all copies.<br>

</font>
</div>

<br>_______________________________________________<br>
jbpm-dev mailing list<br>
<a href="mailto:jbpm-dev@lists.jboss.org">jbpm-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jbpm-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jbpm-dev</a><br>
<br></blockquote></div><br>