<!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: How can I see process in JBPM 5.3.0 console?
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/cybiks">Anatoliy Kalenskiy</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/756964#756964">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Thanks a lot,&#160; for you reply!</p><p> It works - I can see my process in jbpm-console in Process Overview. </p><p>But I can't see any process instances.</p><p><a class="jive-link-external-small" href="http://localhost:8080/gwt-console-server/rs/process/definitions" target="_blank">http://localhost:8080/gwt-console-server/rs/process/definitions</a><span>&#160;&#160; :</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>{"definitions":[{"id":"com.example.myprocess","name":"MyProcess","version":0,"packageName":"defaultPackage","deploymentId":"N/A","suspended":false}]}</p><p>But </p><p><a class="jive-link-external-small" href="http://localhost:8080/gwt-console-server/rs/process/definition/com.example.myprocess/instances" target="_blank">http://localhost:8080/gwt-console-server/rs/process/definition/com.example.myprocess/instances</a><span> :</span></p><p>{"instances":[]}</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p> I am in debug prosess - I can see that my process starts and&#160; stops on some debug point inside my hander for service task. So,as I think , one process instances should be created.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I use spring config like:</p><p><span>&lt;beans xmlns="</span><a class="jive-link-external-small" href="http://www.springframework.org/schema/beans" target="_blank">http://www.springframework.org/schema/beans</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160; xmlns:xsi="</span><a class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160; xmlns:jbpm="</span><a class="jive-link-external-small" href="http://drools.org/schema/drools-spring" target="_blank">http://drools.org/schema/drools-spring</a><span>"</span></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160; xsi:schemaLocation="</span><a class="jive-link-external-small" href="http://www.springframework.org/schema/beans" target="_blank">http://www.springframework.org/schema/beans</a><span> </span><a class="jive-link-external-small" href="http://www.springframework.org/schema/beans/spring-beans-2.0.xsd" target="_blank">http://www.springframework.org/schema/beans/spring-beans-2.0.xsd</a></p><p><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><a class="jive-link-external-small" href="http://drools.org/schema/drools-spring" target="_blank">http://drools.org/schema/drools-spring</a><span> </span><a class="jive-link-external-small" href="http://drools.org/schema/drools-spring.xsd" target="_blank">http://drools.org/schema/drools-spring.xsd</a><span> "&gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;jbpm:kbase id="kbase"&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;jbpm:resources&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;jbpm:resource type="BPMN2" source="classpath:MyProcess.bpmn"/&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/jbpm:resources&gt;</p><p>&#160;&#160;&#160; &lt;/jbpm:kbase&gt;</p><p>&#160;&#160;&#160; &lt;jbpm:ksession id="ksession" type="stateful" kbase="kbase"&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;jbpm:configuration&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;jbpm:work-item-handlers&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;jbpm:work-item-handler name="ServiceTask1" ref="event1Handler"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;jbpm:work-item-handler name="ServiceTask2" ref="event2Handler"/&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/jbpm:work-item-handlers&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/jbpm:configuration&gt;</p><p>&#160;&#160;&#160; &lt;/jbpm:ksession&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160; &lt;bean id="event1Handler" class="com.example.MyEvent1HandlerHandler"&gt;</p><p>&#160;&#160;&#160; &lt;/bean&gt;</p><p>&#160;&#160;&#160; &lt;bean id="event2Handler" class="com.example.MyEvent2HandlerHandler"&gt;</p><p>&#160;&#160;&#160; &lt;/bean&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;/beans&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>So I put breackpoint inside MyEvent1HandlerHandler.executeWorkItem and stay here -so my process runs but I can't see anty process instances in JBPM console.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>So where jbpm console takes information about current instances? From PROCESSINSTANCELOG ? I have such empty table in my scheme...</p><p>Possible problem connected with transaction management? </p><p>When information for new instances stores in DB and retreaves by JBPM console? </p><p>Possible I should somehow specify when such information should be stored? </p><p>(I have reconffigured all wars to use my connection to Oracle DB that I use for application, not H2).</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/756964#756964">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>