Some questions
rdeveloper87 Dec 18, 2013 3:07 AMHi,
I am trying to get my hands wet with the KIE workbench.
I am able to run the junit and launch the processes from eclipse.
However when the same processes are pushed to the server workbench using GIT , they have validation issues.
So these processes cannot be opened in workbench and also i face deployment issues with the kjar.
Some of the exceptions/errors / warnings are as follows:
1.
10:20:09,754 ERROR [org.drools.core.xml.ExtensibleXmlParser] (MSC service thread 1-5) (null: 55, 91): cvc-complex-type.3.2.2: Attribute 'id' is not allowed to appear in element 'drools:global'.
This one maybe because i have added a global variable?
2.
10:20:10,031 ERROR [org.drools.core.xml.ExtensibleXmlParser] (MSC service thread 1-5) (null: 16, 28): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn2:outMessageRef'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":documentation, "http://www.omg.org/spec/BPMN/20100524/MODEL":extensionElements, "http://www.omg.org/spec/BPMN/20100524/MODEL":inMessageRef}' is expected.
10:20:10,056 ERROR [stderr] (MSC service thread 1-5) java.lang.IllegalArgumentException: No messages found
3.
Another question is, If i have a kjar with pom dependencies to customized maven modules.
In such a case, i have added the dependent jars in the guvnor repository. Is this correct from the part of implementation?
4.
Also, if i have some service calls (to my custom project) being utilized in one of my script tasks , how are these dependencies going to be realized.
Currently my process fails to open stating it cannot resolve these imports and dependencies.
5.
10:20:12,114 ERROR [org.jbpm.kie.services.impl.bpmn2.BPMN2DataServiceImpl] (MSC service thread 1-5) Error: unable to parse xml : Exception class java.lang.IllegalArgumentException : No messages found
10:20:12,128 WARN [org.jbpm.console.ng.bd.backend.server.DeploymentManagerEntryPointImpl] (MSC service thread 1-5) Error when deploying unit com.cis.ep3m.business.services:ep3m-business-service:1.0-SNAPSHOT [strategy=SINGLETON] error message null
6.
11:34:03,210 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jbpm-console].[StencilSetServiceServlet]] (http-localhost-127.0.0.1-8080-4) Servlet.service() for servlet StencilSetServiceServlet threw exception: java.lang.IllegalArgumentException: java.io.FileNotFoundException: D:\installerjb\jbpm-installer\jboss-as-7.1.1.Final\standalone\deployments\jbpm-console.war\org.kie.workbench.KIEWebapp\stencilsets\bpmn2.0jbpm\stencilset\org.jbpm.designer.jBPMDesigner\stencilsets\bpmn2.0jbpm\bpmn2.0jbpm.json (The system cannot find the path specified)
at org.jbpm.designer.web.stencilset.impl.LocalStencilSetImpl.getResourceContents(LocalStencilSetImpl.java:46) [jbpm-designer-backend-6.0.0.Final.jar:6.0.0.Final]
at org.jbpm.designer.web.stencilset.impl.StencilSetServiceServlet.doGet(StencilSetServiceServlet.java:113) [jbpm-designer-backend-6.0.0.Final.jar:6.0.0.Final]
.
.
.
Caused by: java.io.FileNotFoundException: D:\installerjb\jbpm-installer\jboss-as-7.1.1.Final\standalone\deployments\jbpm-console.war\org.kie.workbench.KIEWebapp\stencilsets\bpmn2.0jbpm\stencilset\org.jbpm.designer.jBPMDesigner\stencilsets\bpmn2.0jbpm\bpmn2.0jbpm.json (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method) [rt.jar:1.7.0_45]
at java.io.FileInputStream.<init>(FileInputStream.java:146) [rt.jar:1.7.0_45]
at org.jbpm.designer.web.stencilset.impl.LocalStencilSetImpl.getResourceContents(LocalStencilSetImpl.java:44) [jbpm-designer-backend-6.0.0.Final.jar:6.0.0.Final]
7.
11:34:03,018 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) java.lang.IllegalArgumentException: Could not find BPMNDI information
11:34:03,023 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshallProcess(Bpmn2JsonMarshaller.java:381)
11:34:03,029 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshallDefinitions(Bpmn2JsonMarshaller.java:288)
11:34:03,034 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshall(Bpmn2JsonMarshaller.java:113)
11:34:03,039 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.jbpm.designer.web.profile.impl.JbpmProfileImpl$2.parseModel(JbpmProfileImpl.java:245)
11:34:03,043 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.jbpm.designer.web.repository.impl.UUIDBasedJbpmRepository.load(UUIDBasedJbpmRepository.java:37)
11:34:03,048 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at org.jbpm.designer.web.server.UUIDBasedRepositoryServlet.doGet(UUIDBasedRepositoryServlet.java:116)
11:34:03,053 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
11:34:03,056 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
8.
org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=0, size=0
at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:352)
at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshallTask(Bpmn2JsonMarshaller.java:1462)
at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshallFlowElement(Bpmn2JsonMarshaller.java:782)
at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshallProcess(Bpmn2JsonMarshaller.java:396)
at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshallDefinitions(Bpmn2JsonMarshaller.java:288)
at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshall(Bpmn2JsonMarshaller.java:113)
at org.jbpm.designer.web.profile.impl.JbpmProfileImpl$2.parseModel(JbpmProfileImpl.java:245)
at org.jbpm.designer.web.repository.impl.UUIDBasedJbpmRepository.load(UUIDBasedJbpmRepository.java:37)
at org.jbpm.designer.web.server.UUIDBasedRepositoryServlet.doGet(UUIDBasedRepositoryServlet.java:116)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
Any help on this will be appreciated.
Regards,
Reuben.