<!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="http://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: How add a form to human task
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/stellina_rosa">stellina_rosa</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/606039#606039">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>I'm trying to run the example at <a class="jive-link-blog-small" href="http://community.jboss.org/people/bpmn2user/blog/2011/04/03/jbpm5-human-task-api-usage-example">http://community.jboss.org/people/bpmn2user/blog/2011/04/03/jbpm5-human-task-api-usage-example</a> but when I run TaskServer.java I have this error: </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">SLF4J: Defaulting to no-operation (NOP) logger implementation</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">SLF4J: See <a class="jive-link-external-small" href="http://www.slf4j.org/codes.html#StaticLoggerBinder" target="_blank">http://www.slf4j.org/codes.html#StaticLoggerBinder</a> for further details.</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">Hibernate: select task0_.id as col_0_0_, deadline1_.id as col_1_0_, deadline1_.deadline_date as col_2_0_ from Task task0_, Deadline deadline1_ where (deadline1_.id in (select startdeadl2_.id from Deadline startdeadl2_ where task0_.id=startdeadl2_.Deadlines_StartDeadLine_Id) or deadline1_.id in (select enddeadlin3_.id from Deadline enddeadlin3_ where task0_.id=enddeadlin3_.Deadlines_EndDeadLine_Id)) and deadline1_.escalated=0 order by deadline1_.deadline_date</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">Hibernate: insert into OrganizationalEntity (DTYPE, id) values ('User', ?)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">Hibernate: insert into OrganizationalEntity (DTYPE, id) values ('User', ?)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">Hibernate: insert into OrganizationalEntity (DTYPE, id) values ('User', ?)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">Server started ...</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">Exception in thread "Thread-4" java.lang.RuntimeException: Server Exception with class class org.jbpm.task.service.mina.MinaTaskServer using port 9123</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">          at org.jbpm.task.service.mina.BaseMinaTaskServer.run(BaseMinaTaskServer.java:53)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">          at java.lang.Thread.run(Unknown Source)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">Caused by: java.net.BindException: Address already in use: bind</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">          at sun.nio.ch.Net.bind(Native Method)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">          at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">          at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">          at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:251)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">          at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:48)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">          at org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(AbstractPollingIoAcceptor.java:523)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">          at org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$200(AbstractPollingIoAcceptor.java:65)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">          at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:407)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">          at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)</span></p><p><span style="font-family: 'courier new', courier; font-size: 8pt;">          ... 1 more</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p> I only understand that the port 9123 is already in use... but where??? Another doubt: where is the description of the gui in this example? I thought that if I don't use ftl file, I can define my gui with my favourite code (for example using swing or awt)... sorry but this example is not clear for me... if you have tried it, can you explain me the steps?</p><p>I'm confused...!! please help me!</p><p><span style="font-family: 'courier new', courier; font-size: 8pt;"><br/></span></p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/606039#606039">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://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>