[jboss-user] [JBoss jBPM] - BPEL Problem
danesharman
do-not-reply at jboss.com
Wed Jan 9 07:19:58 EST 2008
Dear Friends,
I have designed a process in Intalio Designer with BPMN. The process was transformed to BPEL and then I decided to port it to the jBPM BPEL 1.1 GA.
But when I want to deploy the process, the following error message is shown:
15:19:42,265 ERROR [ProblemHandler] activity not found (HelloWorld.bpel) at /bpe
l:process
15:19:42,281 ERROR [[deploymentServlet]] Servlet.service() for servlet deploymen
tServlet threw exception
org.jbpm.bpel.xml.BpelParseException: 1 problem(s) found
at org.jbpm.bpel.par.GenericArchiveParser.readFromArchive(GenericArchive
Parser.java:59)
at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchiv
e.java:81)
at org.jbpm.bpel.web.DeploymentServlet.readProcessDefinition(DeploymentS
ervlet.java:169)
at org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:95)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
ctionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
kerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
The BPEL file is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<bpel:process xmlns:bpel="http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns:pnlk="http://schemas.xmlsoap.org/ws/2004/03/partner-link/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="HelloWorld" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:Client="http://example.com/HelloWorld/Client" xmlns:this="http://example.com/HelloWorld/HelloWorld" xmlns:tns="http://www.example.org/message" xmlns:diag="http://example.com/HelloWorld" xmlns:bpmn="http://www.intalio.com/bpms" queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" bpmn:label="HelloWorld" bpmn:id="_D_zJsBM9EdyPb_UILLtcZA" targetNamespace="http://example.com/HelloWorld/HelloWorld">
<bpel:import namespace="http://example.com/HelloWorld" location="HelloWorld.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<bpel:import namespace="http://example.com/HelloWorld/HelloWorld" location="HelloWorld-HelloWorld.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<bpel:partnerLinks>
<bpel:partnerLink name="clientAndHelloWorldPlkVar" partnerLinkType="diag:ClientAndHelloWorld" myRole="HelloWorld_for_Client"/>
</bpel:partnerLinks>
<bpel:variables>
<bpel:variable name="thisFirst-taskRequestMsg" messageType="this:first-taskRequest"/>
<bpel:variable name="thisFirst-taskResponseMsg" messageType="this:first-taskResponse"/>
</bpel:variables>
<bpel:sequence>
<bpel:receive partnerLink="clientAndHelloWorldPlkVar" portType="this:ForClient" operation="first-task" variable="thisFirst-taskRequestMsg" createInstance="yes" bpmn:label="first-task" bpmn:id="_iD0hgBM-EdyPb_UILLtcZA"></bpel:receive>
<bpel:assign name="init-variables-HelloWorld">
<bpel:copy bpmn:label="$thisFirst-taskResponseMsg out:_0aEDkBM_EdyPb_UILLtcZA">
<bpel:from>
<bpel:literal>
<this:first-taskResponse>
</this:first-taskResponse>
</bpel:literal>
</bpel:from>
<bpel:to>$thisFirst-taskResponseMsg.body</bpel:to>
</bpel:copy>
</bpel:assign>
<bpel:assign bpmn:label="reply" bpmn:id="_tHId8BM-EdyPb_UILLtcZA">
<bpel:copy>
<bpel:from>concat($thisFirst-taskRequestMsg.body, "World")</bpel:from>
<bpel:to>$thisFirst-taskResponseMsg.body</bpel:to>
</bpel:copy>
</bpel:assign>
<bpel:reply partnerLink="clientAndHelloWorldPlkVar" portType="this:ForClient" operation="first-task" variable="thisFirst-taskResponseMsg" bpmn:label="reply" bpmn:id="_tHId8BM-EdyPb_UILLtcZA"></bpel:reply>
</bpel:sequence>
</bpel:process>
When I compare the above BPEL to the BPEL of examples of jBPM, there are differences between them but in documentation of Intalio and jBPM it has been written that both of them support BPEL 2. Is it correct?
Thanks,
Arman
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118225#4118225
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118225
More information about the jboss-user
mailing list