Discussion:
[jboss-user] [jBPM] - Process Instance View Issue in JBPM 5.4.0 console
S Das
2012-12-20 09:24:49 UTC
Permalink
S Das [https://community.jboss.org/people/sibendu] created the discussion

"Process Instance View Issue in JBPM 5.4.0 console"

To view the discussion, visit: https://community.jboss.org/message/784240#784240

--------------------------------------------------------------
Hi All ,

I am new  in JBPM development world. I was trying to develop some JBPM processes(consists of user task) in WebDesigner and was able to test them through JBPM-console.
After deleting some test processes from Guvnor , I am not able to see the other running processes in JBPM-console.

For information , I have also developed a process in eclipse , added it into guvnor and successfully build it.. Still the problem persists.

Can anyone please tell me how to troubleshoot this situation ?

Many Thanks in advance ,

Sibendu
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/784240#784240]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Thomas Setiabudi
2012-12-21 00:47:35 UTC
Permalink
Thomas Setiabudi [https://community.jboss.org/people/thomas.setiabudi] created the discussion

"Re: Process Instance View Issue in JBPM 5.4.0 console"

To view the discussion, visit: https://community.jboss.org/message/784377#784377

--------------------------------------------------------------
Hi S Das,

There are some things that you need to check here:
1. Have you tried to restart the server and is the problem gone after restart?
2. After you start the process, can you confirm if the process instance is really created by checking the Database table "ProcessInstanceLog" ?
3. Can you clear the server.log and try to start a new process instance, then see whether there is any error in the log?
4. this one is similar to 3.  Clear the server.log, and try to get list of process instance, then see whether there is any error in the log.



Regards,
Thomas Setiabudi
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/784377#784377]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
S Das
2012-12-21 08:33:01 UTC
Permalink
S Das [https://community.jboss.org/people/sibendu] created the discussion

"Re: Process Instance View Issue in JBPM 5.4.0 console"

To view the discussion, visit: https://community.jboss.org/message/784411#784411

--------------------------------------------------------------
Hi Thomas ,

Thanks for your reply. I have tried the steps that u wrote except the 2nd one. Because, I could not find a way to locate  Database table "ProcessInstanceLog" .
Can you please tell me the steps tp connect  this table?

And in the server.log i am having an error like the following

ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/drools-guvnor].[Resteasy]] (http-localhost-127.0.0.1-8080-10) Servlet.service() for servlet Resteasy threw exception: java.lang.IllegalStateException
at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:408) [jbossweb-7.0.13.Final.jar:]
at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:152) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.jboss.resteasy.plugins.server.servlet.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:71) [resteasy-jaxrs-2.3.2.Final.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.handleFailure(SynchronousDispatcher.java:265) [resteasy-jaxrs-2.3.2.Final.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.handleWriterException(SynchronousDispatcher.java:393) [resteasy-jaxrs-2.3.2.Final.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:219) [resteasy-jaxrs-2.3.2.Final.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.handleWriteResponseException(SynchronousDispatcher.java:203) [resteasy-jaxrs-2.3.2.Final.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:510) [resteasy-jaxrs-2.3.2.Final.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.3.2.Final.jar:]
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.2.Final.jar:]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.2.Final.jar:]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.2.Final.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65) [solder-impl-3.1.1.Final.jar:3.1.1.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74) [solder-impl-3.1.1.Final.jar:3.1.1.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]
and

ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 91, 52): cvc-complex-type.4: Attribute 'type' must appear on element 'bpmn2:relationship'.
13:59:19,707 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 94, 92): cvc-elt.4.2: Cannot resolve 'drools:Scenario' to a type definition for element 'drools:Scenario'.
13:59:19,717 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 95, 100): cvc-elt.4.2: Cannot resolve 'drools:ScenarioParameters_._type' to a type definition for element 'drools:ScenarioParameters'.
13:59:19,717 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 96, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
13:59:19,727 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 97, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.
13:59:19,737 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 98, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.
13:59:19,747 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 104, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
13:59:19,757 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 105, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.
13:59:19,767 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 106, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.
13:59:19,767 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 111, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
13:59:19,787 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 112, 75): cvc-elt.4.2: Cannot resolve 'drools:ControlParameters' to a type definition for element 'drools:ControlParameters'.
13:59:19,797 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 113, 63): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Probability'.
13:59:19,797 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 118, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
13:59:19,798 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 119, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.
13:59:19,803 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 120, 66): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:ProcessingTime'.
13:59:19,815 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 125, 77): cvc-elt.4.2: Cannot resolve 'drools:ResourceParameters' to a type definition for element 'drools:ResourceParameters'.
13:59:19,829 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 126, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Quantity'.
13:59:19,844 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 129, 64): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:Workinghours'.
13:59:19,854 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 133, 69): cvc-elt.4.2: Cannot resolve 'drools:CostParameters' to a type definition for element 'drools:CostParameters'.
13:59:19,861 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 134, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:UnitCost'.
13:59:19,870 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 139, 159): cvc-elt.4.2: Cannot resolve 'drools:ElementParameters_._type' to a type definition for element 'drools:ElementParameters'.
13:59:19,878 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 140, 69): cvc-elt.4.2: Cannot resolve 'drools:TimeParameters' to a type definition for element 'drools:TimeParameters'.
13:59:19,886 ERROR [org.drools.xml.ExtensibleXmlParser] (http-localhost-127.0.0.1-8080-10) (null: 141, 60): cvc-elt.4.2: Cannot resolve 'drools:Parameter' to a type definition for element 'drools:WaitTime'.


I am little helpless here. Will you please suggest something??

--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/784411#784411]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2012-12-27 17:37:19 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Process Instance View Issue in JBPM 5.4.0 console"

To view the discussion, visit: https://community.jboss.org/message/785109#785109

--------------------------------------------------------------
would be best if you could provide complete server log so that could give more information. The first error seems to be rather interesting as it indicates something went wrong on the server. The other errors are printed by xml parser during validation phase so should be more considered warnings (already fixed on master) and are caused by additional meta data for simulation that the parser is not aware of. Moreover, since you see these warning that means that processes are retrieved from guvnor and console tries to load them.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/785109#785109]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
sayan dutta
2013-01-02 07:13:43 UTC
Permalink
sayan dutta [https://community.jboss.org/people/neokiing] created the discussion

"Re: Process Instance View Issue in JBPM 5.4.0 console"

To view the discussion, visit: https://community.jboss.org/message/787005#787005

--------------------------------------------------------------
Hi Maciej ,
Thanks a ton for the reply . I am also having the same problem. I have provided the server log below. If you please help me out that would be really appreciated.
Thanks & Regards,
neokiing

--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/787005#787005]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
sayan dutta
2013-01-09 12:22:00 UTC
Permalink
sayan dutta [https://community.jboss.org/people/neokiing] created the discussion

"Re: Process Instance View Issue in JBPM 5.4.0 console"

To view the discussion, visit: https://community.jboss.org/message/789699#789699

--------------------------------------------------------------
Hi All ,

I found the solution. Actually the problem was occuring becoz of the uploaded POJO model. I have removed the model from Guvnor . After building the package everything is working fine.
Thanks ,
Sayan
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/789699#789699]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...