<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: Any help with Jbpm-Console problem please.
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/quangtin3">quangtin3</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/754132#754132">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><blockquote class="jive-quote"><p>Luis Victor wrote:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p> succeeded.09:27:01,836 INFO&#160; [stdout] (http-localhost-127.0.0.1-8080-11) INFO&#160; 16-08 09:27:01,835 (DemoAuthenticator.java:authenticate:65)&#160;&#160;&#160;&#160;&#160; Demo login for user (admin) succeeded.09:27:32,960 ERROR [stderr] (Thread-17)<strong> java.lang.IllegalArgumentException: org.hibernate.QueryParameterException: could not locate named parameter [userId]</strong>09:27:32,960 ERROR [stderr] (Thread-17)&#160;&#160;&#160;&#160; at org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:206)09:27:32,960 ERROR [stderr] (Thread-17)&#160;&#160;&#160;&#160; at org.jbpm.task.service.TaskServiceSession.getTasksAssignedAsPotentialOwnerByStatusByGroup(TaskServiceSession.java:1011)09:27:32,961 ERROR [stderr] (Thread-17)&#160;&#160;&#160;&#160; at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:356)09:27:32,961 ERROR [stderr] (Thread-17)&#160;&#160;&#160;&#160; at org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:44)09:27:32,961 ERROR [stderr] (Thread-17)&#160;&#160;&#160;&#160; at org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:85)09:27:32,961 ERROR [stderr] (Thread-17)&#160;&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:619)09:27:32,962 ERROR [stderr] (Thread-17) Caused by: org.hibernate.QueryParameterException: could not locate named parameter [userId]09:27:32,962 ERROR [stderr] (Thread-17)&#160;&#160;&#160;&#160; at org.hibernate.engine.query.ParameterMetadata.getNamedParameterDescriptor(ParameterMetadata.java:99)09:27:32,962 ERROR [stderr] (Thread-17)&#160;&#160;&#160;&#160; at org.hibernate.engine.query.ParameterMetadata.getNamedParameterExpectedType(ParameterMetadata.java:105)09:27:32,962 ERROR [stderr] (Thread-17)&#160;&#160;&#160;&#160; at org.hibernate.impl.AbstractQueryImpl.determineType(AbstractQueryImpl.java:437)09:27:32,962 ERROR [stderr] (Thread-17)&#160;&#160;&#160;&#160; at org.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:407)09:27:32,963 ERROR [stderr] (Thread-17)&#160;&#160;&#160;&#160; at org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:201)</p><p>...</p><p>09:27:32,971 ERROR [stderr] (Thread-33)&#160;&#160;&#160;&#160; ... 1 more09:27:52,957 ERROR [stderr] (http-localhost-127.0.0.1-8080-1) <strong>java.lang.RuntimeException: Timeout : unable to retrieve results</strong>09:27:52,957 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)&#160;&#160;&#160;&#160; at org.jbpm.task.service.responsehandlers.BlockingTaskSummaryResponseHandler.getResults(BlockingTaskSummaryResponseHandler.java:41)09:27:52,958 ERROR [stderr] (http-localhost-127.0.0.1-8080-1) </p><p>...</p></blockquote><p>Hi Luis Victor,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>* For the [userId] parameter issue, I get the changes of </p><ol><li style="text-align: start;">src/main/java/org/jbpm/task/service/TaskServiceSession.java and</li><li style="text-align: start;">src/main/resources/META-INF/Taskorm.xml</li></ol><p>in revision 4a47527163854b233cdb9599f54c9320e945a372 for patching to 5.3.0.Final (d7640b9c0ba87d771862e8534cc607ca0f4d1aff). I attached these modified files and result <strong>jbpm-human-task-core-5.3.0.Final.jar</strong> file too. Of course the's another way that only need to modify Taskorm.xml, but personally I like the change in 4a47527163854b233cdb9599f54c9320e945a372 commit.</p><p>Update <strong>jbpm-human-task-core-5.3.0.Final.jar, </strong>in jbpm-install/lib/:</p><ol><li style="text-align: start;">jbpm-5.3.0.Final-bin.zip</li><li style="text-align: start;">inside jbpm-5.3.0.Final-gwt-console.zip, update jbpm-gwt-console-server-5.3.0.Final.war /WEB-INF/lib/</li><li style="text-align: start;">update jbpm-human-task-war-5.3.0.Final.war/WEB-INF/lib/ and 4. another file inside jbpm-5.3.0.Final-human-task-war.zip</li></ol><p style="text-align: start;">I think, for long run, you'd better checkout, switch branche, checkout Final revision, apply change build it with maven so all this file will be updated with jbpm-human-task-core-5.3.0.Final.jar and your Maven local repository too (In case you change your database to MySQL and run ant start.demo.db, your jbpm-install/task-service will use your maven repository).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="text-align: start;">The way we replace with <a class="jive-link-external-small" href="http://snapshots.jboss.org/maven2/org/jbpm/jbpm-human-task-war/5.3.0-SNAPSHOT/jbpm-human-task-war-5.3.0-20120706.045301-549.war">jbpm-human-task-war-5.3.0-20120706.045301-549.war</a> seem doesn't work well, I will update that post with a notice, incase someone else looks at it.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="text-align: start;">* I have the <strong>java.lang.RuntimeException: Timeout : unable to retrieve results, </strong>too! But even with this occasion issues, I still completed user-guide tutorial. Our another setup with MySQL doesn't have this issue.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="text-align: start;">I hope this works for your side.</p><p style="text-align: start;">- Quang</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/754132#754132">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>