<!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;">
Process deployment questions
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/cdsosi">Franck cdsosi</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/752538#752538">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi community,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I have several questions on process deployment in jBPM 5.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>What are the different options for deploying a process for using it with JAS 7 within jBPM console for instance?</p><p>1- First option is drools-guvnor obsvously</p><p>2- This also can be done manualkly as <a class="jive-link-profile-small" href="https://community.jboss.org/people/tsurdilovic">Tihomir</a><span> told me in a previous post (</span><a class="jive-link-external-small" href="https://community.jboss.org/message/751628#751628#751628" target="_blank">https://community.jboss.org/message/751628#751628</a><span>) :</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="background-color: #eef4f9; font-size: 12px; color: #555555; font-family: 'Lucida Sans', 'Lucida Sans Unicode', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;">"You don't really need guvnor for deployment. You could create the .pkg yourself using drools-ant tasks and push it to your own servers for example and let the client applications consume it. You could also if you are using the jBPM Console place your process definitions and artifacts like process image, task forms, dependency jars (such as service node impls for example) on the console classpath and it will be able to see them"</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Is there any documentation on that 2nd solution or fas or anything else. I really want to understand how things are working and I must say that it is not the case <span> :( </span></p><p>Where do you put the pkg once made? Actually I can find where the pkg files are located on server side.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>3- I have install 5.3.0 Full package demo one more time and put some bpmn2 processes in ...\jbpm-installer\sample\evaluation\src\main\resources</p><p>I thought I would have to put them in drools-guvnor and then build binary package so that to make them available in jBPM console but I did not and open the jBPM console directly and all my processes were available, is there anything parameterized in the demo so that jBPM console automatically scans ...\jbpm-installer\sample\evaluation\src\main\resources directory? I can't see anything specifying that?</p><p>The jbpm.console.directory is empty in ...\jbpm-installer\jboss-as-7.0.2.Final\standalone\deployments\jbpm-gwt-console-server\WEB-INF\classes\jbpm.console.properties from the jbpm-gwt-console-server.war... Can anyone explain to me that?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>4- Another question delaing with deplyment : If I want to create a new Service Task with custom code Java Code with Domain Specific Service Task running on server, how do i make it available for process runtime engine. Do I need to make a jar and then what is the location to drop it so that it can be used at runtime?</p><p>Many exemples provided in user documentation seems to be eclipse oriented, I need to make things working remotly and I can find my way through documentation.</p><p>a- in file drools.session.conf from jbpm-gwt-console-server.war you specify which conf file to use (e.g. drools.workItemHandlers = CustomWorkItemHandlers.conf), correct?</p><p>b- in file CustomWorkItemHandlers.conf from jbpm-gwt-console-server.war you specify which class to instanciate (e.g. "Log": new org.jbpm.process.instance.impl.demo.SystemOutWorkItemHandler()), correct?</p><p>   => this class is located in ...\jbpm-installer\jboss-as-7.0.2.Final\standalone\deployments\jbpm-gwt-console-server\WEB-INF\lib\jbpm-flow-5.3.0.Final.jar</p><p>Do I need to put the jar in the jbpm-installer\jboss-as-7.0.2.Final\standalone\deployments\jbpm-gwt-console-server\WEB-INF\lib directory and then re-package it as a war (jbpm-gwt-console-server.war). Is this the case does JAS needs to be re-started or is there another place for JAS so that modifications can be updated without needind JAS restart?</p><p>Is there a step by step documentation /post / article describing how I can make a personal Service Task running on server side.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I must say that this makes a huge amount of questions but any help would be appreciated !!</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Kind Regards</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Franck</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/752538#752538">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>