Yes, you are missing an orm.xml file. Probably you are not including in your dependencies drools-process-task.<br><br><div class="gmail_quote">On Wed, Apr 14, 2010 at 9:04 AM, HMandic <span dir="ltr">&lt;<a href="mailto:trbuhom@net.hr">trbuhom@net.hr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
OK, I fixed that problem.<br>
<br>
But now I have another one - I&#39;ve set up persistence for processes (flow)<br>
just like the documentation says, there are no problems with configuration<br>
and hibernate created those 5 tables.<br>
Then I start my test (in this case my custom class, no JUnit) I get this:<br>
<br>
************************************************************************<br>
14:54:58,968  WARN Configuration:490 - cannot get this JVM unique ID. Make<br>
sure it is configured and you only use ASCII characters. Will use IP address<br>
instead (unsafe for production usage!).<br>
14:54:59,015  WARN DiskJournal:136 - active log file is unclean, previous<br>
server crash ?<br>
14:54:59,250 ERROR SessionFactoryImpl:433 - Error in named query: TasksOwned<br>
org.hibernate.hql.ast.QuerySyntaxException: Task is not mapped [select new<br>
org.drools.task.query.TaskSummary( <a href="http://t.id" target="_blank">t.id</a>, names.text, subjects.text,<br>
descriptions.text, t.taskData.status, t.priority, t.taskData.skipable,<br>
t.taskData.actualOwner, t.taskData.createdBy, t.taskData.createdOn,<br>
t.taskData.activationTime, t.taskData.expirationTime) from Task t left join<br>
t.taskData.createdBy, I18NText names, I18NText subjects, I18NText<br>
descriptions where <a href="http://t.taskData.actualOwner.id" target="_blank">t.taskData.actualOwner.id</a> = :userId and names in<br>
elements( t.names) and names.language = :language and subjects in elements(<br>
t.subjects) and subjects.language = :language and descriptions in elements(<br>
t.descriptions) and descriptions.language = :language and<br>
t.taskData.expirationTime is null]<br>
        at<br>
org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:181)<br>
        at<br>
org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:111)<br>
        at org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:93)<br>
<br>
<br>
.......<br>
**********************************************************<br>
<br>
Any ideas?<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n3.nabble.com/Drools-Flow-Problem-with-Human-Task-tp713533p718463.html" target="_blank">http://n3.nabble.com/Drools-Flow-Problem-with-Human-Task-tp713533p718463.html</a><br>
</font><div><div></div><div class="h5">Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino &quot;Salaboy&quot; Mauricio -<br>