<!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;">
    Can't get Twitter service task to work when deployed via Guvnor
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/andymcc">Andy McC</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/807854#807854">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>[My set up: Windows 7 and 8, jBPM-5.4.0.Final, Eclipse Helios]</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>This is probably another newbie issue, but I have a simple Twitter process that runs in Eclipse that I just can't get to run via Guvnor. (HTTP Status 500 window and the message "Could not find work item handler for Twitter")</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>From the working Eclipse version I've:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ol><li style="text-align: start;">Copied over my BPMN task, jbmp-twitter.jar and twitter4j-core-2.2.2.jar using the Eclipse-&gt;Guvnor tooling.</li><li style="text-align: start;">In Gunvor, and using the "connect to service repository" utility in Designer, I've downloaded the Twitter service task from <a class="jive-link-external-small" href="http://people.redhat.com/kverlaen/repository/" rel="nofollow">http://people.redhat.com/kverlaen/repository/</a> (There's an issue with the stencil set not updating properly in Designer or Eclipse which I'm going to put on Jira, but all the "bits" seem to have been added to defaultPackage OK)</li><li style="text-align: start;">I've then updated the twitter.properties file with the data for my account</li><li style="text-align: start;">Added the content of twitter.wid to WorkDefinitions.conf (This may be something I'm doing wrong)</li><li style="text-align: start;">Generated png and default task forms, everything is green-ticked in Guvnor and the package validates and builds OK.</li><li style="text-align: start;">I've then copied jbmp-twitter.jar, twitter4j-core-2.2.2.jar and twitter.properties into jbpm-installer/dependencies and run ant install.demo (I've also tried copying directly into jbpm-gwt-console-server.war/WEB-INF/lib but making no difference)</li></ol><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="text-align: start;">I can start the process from jbpm-console but it fails with an HTTP Status 500 window and the message "Could not find work item handler for Twitter".</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="text-align: start;">Can anyone see what step I've missed along the way? Do the jars need to be copied somewhere else in addition to the steps above?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="text-align: start;">Really grateful for any help - it took me while to get the Email task working in both Eclipse and Guvnor and I finally thought I'd sorted out the steps in my mind.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="text-align: start;">Regards and thanks,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="text-align: start;">Andy McC</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/807854#807854">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>