Check the question "*My process fails with a selectionFailure; What can I do?" in the FAQ:*
http://ode.apache.org/faq.html Matthieu On 4/1/08, Adam Nowak <[EMAIL PROTECTED]> wrote: > > Hello Matthieu, > > Thank you for all the advice; I have finally been able to publish a > process and invoke it. > However, when I invoke the process I run into the following Assignment > Fault: > ERROR - GeronimoLog.error(104) | Assignment Fault: { > http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure,lineNo=30,faultExplanation=No > results for expression: {OXPath10Expression /return} > > Included with the email are the files I have deployed along with the > stdout log of tomcat (stdout.log). > > Cheers! > ~Adam > > Matthieu Riou wrote: > > On 4/1/08, Adam Nowak <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: > > Hello Jean-Claude, > > I am using Tomcat with ODE and if you are using tomcat, you can find all > the stdout messages in %tomcat directory%/logs/stdout_date.log. > > I make sure that each web service I try to invoke via a process has a > copy of the respective Web Service WSDL in the deployment directory. > Currently in my hello deploy directory I have, hello.bpel, deploy.xml, > helloArtifacts.wsdl (Contains the Partner Links) and helloService.wsdl > (The WSDL of the external service). > > Am I missing any files that would index the process in > http://localhost:8080/ode/services/listServices? Do I have to make a > separate WSDL for my BPEL Process? If so, do I point the soap:address > location to http://localhost:8080/ode/process/processName ? > > Yes, your process must have its own WSDL that describes the interface that > the process implements (that's BPEL). And the WSDL the process implements > should have a soap address that looks like > http://localhost:8080/ode/processes/processName. > > Matthieu > > Cheers! > > ~Adam > > > Jean-Claude Moissinac wrote: > > I'm also novice with ODE but... > > You need a provide for the BPEL process, but you need also an invoke > for the called process. > > My experience is also that the WSDL for the called process must be > present in the deployment directory, not referenced outside of that > directory. > > I need an advice: how do you obtain all the messages on stdout that > you have copied above? > > 2008/4/1, Adam Nowak <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>: > > Hello Matthieu, > > 1) I changed my BPEL process to receive instead of invoke. > 2) I changed the <invoke> to <provide> within the deploy.xml. > > The following is thrown when I deploy the process: > > DEBUG - GeronimoLog.debug(66) | Process store event: > > {ProcessStoreEvent#DEPLOYED:{http://service.idcor.src}hello-54} > > DEBUG - GeronimoLog.debug(66) | Ignoring store event: > > {ProcessStoreEvent#DEPLOYED:{http://service.idcor.src}hello-54} > > DEBUG - GeronimoLog.debug(66) | Process store event: > > {ProcessStoreEvent#ACTVIATED:{http://service.idcor.src}hello-54} > DEBUG - GeronimoLog.debug(66) | register: { > > http://service.idcor.src}hello-54 > > DEBUG - GeronimoLog.debug(66) | Registering process > > {http://service.idcor.src}hello-54 with server. > DEBUG - GeronimoLog.debug(66) | Register process: > serviceId={ > > http://service.idcor.src}helloService:helloServiceSOAP11port_http, > > process=BpelProcess[{http://service.idcor.src}hello-54] > > DEBUG - GeronimoLog.debug(66) | Activating > > {http://service.idcor.src}hello-54 > DEBUG - GeronimoLog.debug(66) | Destroying service > {http://service.idcor.src}helloService port > > helloServiceSOAP11port_http > > DEBUG - GeronimoLog.debug(66) | Couldn't find service > {http://service.idcor.src}helloService port > > helloServiceSOAP11port_http > > to destroy. > WARN - GeronimoLog.warn(92) | Deployment failed within the engine, > > store > > undeploying process. > > DEBUG - GeronimoLog.debug(66) | Process store event: > > {ProcessStoreEvent#UNDEPLOYED:{http://service.idcor.src}hello-54} > DEBUG - GeronimoLog.debug(66) | Deactivating process > {http://service.idcor.src}hello-54 > INFO - GeronimoLog.info(79) | Unregistered process > {http://service.idcor.src}hello-54. > ERROR - GeronimoLog.error(108) | Deployment of hello failed, aborting > for now. > org.apache.ode.bpel.iapi.ContextException: Could not activate endpoint > for service {http://service.idcor.src}helloService and port > helloServiceSOAP11port_http > at > org.apache.ode.axis2.BindingContextImpl.activateMyRoleEndpoint( > > BindingContextImpl.java:62) > > at org.apache.ode.bpel.engine.BpelProcess.activate(BpelProcess.java > > :500) > > at > org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess( > > BpelEngineImpl.java:232) > > at > org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java > > :282) > > at org.apache.ode.axis2.ODEServer.handleEvent(ODEServer.java:543) > at org.apache.ode.axis2.ODEServer.access$100(ODEServer.java:73) > at > > > org.apache.ode.axis2.ODEServer$ProcessStoreListenerImpl.onProcessStoreEvent > (ODEServer.java:529) > > at > org.apache.ode.store.ProcessStoreImpl.fireEvent(ProcessStoreImpl.java > > :501) > > at > org.apache.ode.store.ProcessStoreImpl.fireStateChange( > > ProcessStoreImpl.java:507) > > at > org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java > > :284) > > at > org.apache.ode.axis2.deploy.DeploymentPoller.check( > > DeploymentPoller.java:144) > > at > org.apache.ode.axis2.deploy.DeploymentPoller.access$300( > > DeploymentPoller.java:55) > > at > org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run( > > DeploymentPoller.java:188) > > Caused by: org.apache.ode.axis2.OdeFault: The soap:address used for > service WSDL definition {http://service.idcor.src}helloService and > > port > > helloServiceSOAP11port_http should be of the form > http://hostname:port/ode/processes/myProcessEndpointName > at > org.apache.ode.axis2.hooks.ODEAxisService.extractServiceName( > > ODEAxisService.java:160) > > at > org.apache.ode.axis2.hooks.ODEAxisService.createService( > > ODEAxisService.java:60) > > at org.apache.ode.axis2.ODEServer.createService(ODEServer.java:306) > at > org.apache.ode.axis2.BindingContextImpl.activateMyRoleEndpoint( > > BindingContextImpl.java:59) > > ... 12 more > > Here is my new deploy.xml: > > <deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" > <http://www.apache.org/ode/schemas/dd/2007/03> > xmlns:tns="http://service.idcor.src" <http://service.idcor.src>> > <process name="tns:hello"> > > <active>true</active> > <provide partnerLink="helloServicePLink"> > > <service name="tns:helloService" > > port="helloServiceSOAP11port_http" /> > > </provide> > </process> > </deploy> > > Here is my new hello.bpel: > > <bpws:process exitOnStandardFault="yes" name="hello" > > suppressJoinFailure="yes" targetNamespace="http://service.idcor.src > > " > > xmlns:bpws=" > > http://docs.oasis-open.org/wsbpel/2.0/process/executable" > > xmlns:ns="http://service.idcor.srcArtifacts" > <http://service.idcor.srcArtifacts> > xmlns:tns="http://service.idcor.src" <http://service.idcor.src>> > <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" > <http://schemas.xmlsoap.org/wsdl/> > > location="helloService.wsdl" namespace=" > > http://service.idcor.src"/> > > <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" > <http://schemas.xmlsoap.org/wsdl/> > > location="helloArtifacts.wsdl" > > namespace="http://service.idcor.srcArtifacts" > <http://service.idcor.srcArtifacts>/> > > <bpws:partnerLinks> > <bpws:partnerLink myRole="in" name="helloServicePLink" > partnerLinkType="ns:helloServicePLinkType"/> > </bpws:partnerLinks> > <bpws:variables> > <bpws:variable messageType="tns:helloRequest" > name="helloServicePLinkResponse"/> > </bpws:variables> > <bpws:sequence> > <bpws:receive name="hello_Receive" operation="hello" > partnerLink="helloServicePLink" > portType="tns:helloServicePortType" > variable="helloServicePLinkResponse"/> > </bpws:sequence> > </bpws:process> > > Cheers! > > ~Adam > > > Adam Nowak wrote: > > Hi Matthieu, > > > > Thanks for the advice; I will make the appropriate changes and let > > you > > > know how it goes. > > > > Cheers! > > ~Adam > > > > Matthieu Riou wrote: > >> Hi Adam, > >> > >> It's actually what I mentioned earlier, your process doesn't have > > any > > >> receive and doesn't define any <provide partnerLink="..."> in its > >> deployment > >> descriptor. If your process never receives any message, ODE doesn't > >> need to > >> create a service for it. Your helloWorld is maybe a bit too simple > > :) > > >> > >> Cheers, > >> Matthieu > >> > >> On 3/31/08, Adam Nowak <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: > >> > >>> Hello Matthieu, > >>> > >>> With a little bit of playing around I have managed to find the > > process > > >>> (helloProcess) using the Management API. > >>> However, when I visit > > http://localhost:8080/ode/services/listServices, > > >>> the process still does not appear on the list. > >>> > >>> Here is my deploy.xml: > >>> <deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" > <http://www.apache.org/ode/schemas/dd/2007/03> > >>> xmlns:tns="http://service.idcor.src" <http://service.idcor.src>> > >>> <process name="tns:helloProcess"> > >>> <active>true</active> > >>> <invoke partnerLink="helloPartnerLink"> > >>> <service name="tns:helloService" > >>> port="helloServiceSOAP11port_http" > >>> /> > >>> </invoke> > >>> </process> > >>> </deploy> > >>> > >>> Here is my helloProcess.bpel > >>> <bpws:process exitOnStandardFault="yes" name="helloProcess" > >>> suppressJoinFailure="yes" > >>> targetNamespace="http://service.idcor.src" <http://service.idcor.src> > >>> > >>> xmlns:bpws=" > > http://docs.oasis-open.org/wsbpel/2.0/process/executable" > > >>> xmlns:ns="http://service.idcor.srcArtifacts" > <http://service.idcor.srcArtifacts> > >>> xmlns:tns="http://service.idcor.src" <http://service.idcor.src>> > >>> <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" > <http://schemas.xmlsoap.org/wsdl/> > >>> location="helloProcessArtifacts.wsdl" > >>> namespace="http://service.idcor.srcArtifacts" > <http://service.idcor.srcArtifacts>/> > >>> <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" > <http://schemas.xmlsoap.org/wsdl/> > >>> location="helloService.wsdl" > >>> namespace="http://service.idcor.src > >>> "/> > >>> <bpws:partnerLinks> > >>> <bpws:partnerLink name="helloPartnerLink" > >>> partnerLinkType="ns:helloServicePartnerLinkType" > >>> partnerRole="you"/> > >>> </bpws:partnerLinks> > >>> <bpws:variables> > >>> <bpws:variable messageType="tns:helloResponse" > >>> name="helloServiceLinkResponse"/> > >>> <bpws:variable messageType="tns:helloRequest" > >>> name="helloServiceLinkRequest"/> > >>> </bpws:variables> > >>> <bpws:sequence> > >>> <bpws:invoke inputVariable="helloServiceLinkRequest" > >>> name="Invoke_Hello" operation="hello" > >>> outputVariable="helloServiceLinkResponse" > >>> partnerLink="helloPartnerLink" > >>> portType="tns:helloServicePortType"/> > >>> </bpws:sequence> > >>> </bpws:process> > >>> > >>> Here is my helloProcessArtifacts.wsdl: > >>> <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" > <http://schemas.xmlsoap.org/wsdl/> > >>> xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" > <http://docs.oasis-open.org/wsbpel/2.0/plnktype> > >>> xmlns:tns="http://service.idcor.srcArtifacts" > <http://service.idcor.srcArtifacts> > >>> xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" > <http://docs.oasis-open.org/wsbpel/2.0/varprop> > >>> xmlns:wsdl="http://service.idcor.src" <http://service.idcor.src> > name="helloProcessArtifacts" > >>> targetNamespace="http://service.idcor.srcArtifacts" > <http://service.idcor.srcArtifacts>> > >>> <plnk:partnerLinkType name="helloServicePartnerLinkType"> > >>> <plnk:role name="me" portType="wsdl:helloServicePortType"/> > >>> <plnk:role name="you" portType="wsdl:helloServicePortType"/> > >>> </plnk:partnerLinkType> > >>> <import location="helloService.wsdl" > >>> namespace="http://service.idcor.src" <http://service.idcor.src>/> > >>> </definitions> > >>> > >>> Here is my helloService.wsdl: > >>> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > <http://schemas.xmlsoap.org/wsdl/> > >>> xmlns:ns1="http://org.apache.axis2/xsd" <http://org.apache.axis2/xsd> > >>> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" > <http://www.w3.org/2006/05/addressing/wsdl> > >>> xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" > <http://schemas.xmlsoap.org/wsdl/http/> > >>> xmlns:ns0="http://service.idcor.src" <http://service.idcor.src> > >>> xmlns:xs="http://www.w3.org/2001/XMLSchema" > <http://www.w3.org/2001/XMLSchema> > >>> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" > <http://schemas.xmlsoap.org/wsdl/mime/> > >>> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > <http://schemas.xmlsoap.org/wsdl/soap/> > >>> xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" > <http://schemas.xmlsoap.org/wsdl/soap12/> > >>> targetNamespace="http://service.idcor.src" <http://service.idcor.src>> > >>> <wsdl:documentation>helloService</wsdl:documentation> > >>> <wsdl:types> > >>> <xs:schema xmlns:ns="http://service.idcor.src" > <http://service.idcor.src> > >>> attributeFormDefault="qualified" elementFormDefault="qualified" > >>> targetNamespace="http://service.idcor.src" <http://service.idcor.src>> > >>> <xs:element name="helloResponse"> > >>> <xs:complexType> > >>> <xs:sequence> > >>> <xs:element minOccurs="0" name="return" > >>> nillable="true" type="xs:string"/> > >>> > >>> </xs:sequence> > >>> </xs:complexType> > >>> </xs:element> > >>> <xs:element name="helloParam"> > >>> <xs:complexType> > >>> <xs:sequence> > >>> <xs:element minOccurs="0" name="s" > >>> nillable="true" type="xs:string"/> > >>> </xs:sequence> > >>> </xs:complexType> > >>> > >>> </xs:element> > >>> <xs:element name="helloParamResponse"> > >>> <xs:complexType> > >>> <xs:sequence> > >>> <xs:element minOccurs="0" name="return" > >>> nillable="true" type="xs:string"/> > >>> </xs:sequence> > >>> </xs:complexType> > >>> </xs:element> > >>> </xs:schema> > >>> > >>> </wsdl:types> > >>> <wsdl:message name="helloRequest"/> > >>> <wsdl:message name="helloResponse"> > >>> <wsdl:part name="parameters" element="ns0:helloResponse"/> > >>> </wsdl:message> > >>> <wsdl:message name="helloParamRequest"> > >>> <wsdl:part name="parameters" element="ns0:helloParam"/> > >>> </wsdl:message> > >>> <wsdl:message name="helloParamResponse"> > >>> > >>> <wsdl:part name="parameters" > > element="ns0:helloParamResponse"/> > > >>> </wsdl:message> > >>> <wsdl:portType name="helloServicePortType"> > >>> <wsdl:operation name="hello"> > >>> <wsdl:input message="ns0:helloRequest" > >>> wsaw:Action="urn:hello"/> > >>> <wsdl:output message="ns0:helloResponse" > >>> wsaw:Action="urn:helloResponse"/> > >>> </wsdl:operation> > >>> <wsdl:operation name="helloParam"> > >>> <wsdl:input message="ns0:helloParamRequest" > >>> wsaw:Action="urn:helloParam"/> > >>> > >>> <wsdl:output message="ns0:helloParamResponse" > >>> wsaw:Action="urn:helloParamResponse"/> > >>> </wsdl:operation> > >>> </wsdl:portType> > >>> <wsdl:binding name="helloServiceSOAP11Binding" > >>> type="ns0:helloServicePortType"> > >>> <soap:binding transport=" > > http://schemas.xmlsoap.org/soap/http" > > >>> style="document"/> > >>> <wsdl:operation name="hello"> > >>> <soap:operation soapAction="urn:hello" > > style="document"/> > > >>> <wsdl:input> > >>> <soap:body use="literal"/> > >>> > >>> </wsdl:input> > >>> <wsdl:output> > >>> <soap:body use="literal"/> > >>> </wsdl:output> > >>> </wsdl:operation> > >>> <wsdl:operation name="helloParam"> > >>> <soap:operation soapAction="urn:helloParam" > >>> style="document"/> > >>> <wsdl:input> > >>> <soap:body use="literal"/> > >>> > >>> </wsdl:input> > >>> <wsdl:output> > >>> <soap:body use="literal"/> > >>> </wsdl:output> > >>> </wsdl:operation> > >>> </wsdl:binding> > >>> <wsdl:binding name="helloServiceSOAP12Binding" > >>> type="ns0:helloServicePortType"> > >>> <soap12:binding > >>> transport="http://schemas.xmlsoap.org/soap/http" > <http://schemas.xmlsoap.org/soap/http> > >>> style="document"/> > >>> <wsdl:operation name="hello"> > >>> > >>> <soap12:operation soapAction="urn:hello" > > style="document"/> > > >>> <wsdl:input> > >>> <soap12:body use="literal"/> > >>> </wsdl:input> > >>> <wsdl:output> > >>> <soap12:body use="literal"/> > >>> </wsdl:output> > >>> </wsdl:operation> > >>> <wsdl:operation name="helloParam"> > >>> > >>> <soap12:operation soapAction="urn:helloParam" > >>> style="document"/> > >>> <wsdl:input> > >>> <soap12:body use="literal"/> > >>> </wsdl:input> > >>> <wsdl:output> > >>> <soap12:body use="literal"/> > >>> </wsdl:output> > >>> </wsdl:operation> > >>> </wsdl:binding> > >>> > >>> <wsdl:binding name="helloServiceHttpBinding" > >>> type="ns0:helloServicePortType"> > >>> <http:binding verb="POST"/> > >>> <wsdl:operation name="hello"> > >>> <http:operation location="helloService/hello"/> > >>> <wsdl:input> > >>> <mime:content type="text/xml" part="hello"/> > >>> </wsdl:input> > >>> <wsdl:output> > >>> <mime:content type="text/xml" part="hello"/> > >>> > >>> </wsdl:output> > >>> </wsdl:operation> > >>> <wsdl:operation name="helloParam"> > >>> <http:operation location="helloService/helloParam"/> > >>> <wsdl:input> > >>> <mime:content type="text/xml" part="helloParam"/> > >>> </wsdl:input> > >>> <wsdl:output> > >>> <mime:content type="text/xml" part="helloParam"/> > >>> > >>> </wsdl:output> > >>> </wsdl:operation> > >>> </wsdl:binding> > >>> <wsdl:service name="helloService"> > >>> <wsdl:port name="helloServiceSOAP11port_http" > >>> binding="ns0:helloServiceSOAP11Binding"> > >>> <soap:address > >>> location="http://localhost:8080/axis2/services/helloService" > <http://localhost:8080/axis2/services/helloService>/> > >>> </wsdl:port> > >>> <wsdl:port name="helloServiceSOAP12port_http" > >>> binding="ns0:helloServiceSOAP12Binding"> > >>> <soap12:address > >>> location="http://localhost:8080/axis2/services/helloService" > <http://localhost:8080/axis2/services/helloService>/> > >>> > >>> </wsdl:port> > >>> <wsdl:port name="helloServiceHttpport" > >>> binding="ns0:helloServiceHttpBinding"> > >>> <http:address > > <http:address>>> > location="http://localhost:8080/axis2/services/helloService" > <http://localhost:8080/axis2/services/helloService>/> > >>> </wsdl:port> > >>> </wsdl:service> > >>> </wsdl:definitions> > >>> > >>> > >>> Cheers! > >>> > >>> ~Adam > >>> > >>> > >>> Matthieu Riou wrote: > >>> > >>>> Hi Adam, > >>>> > >>>> That's pretty strange, you don't seem to have any error or > >>>> exception at > >>>> deployment. Does your process declare any <provide> element in > > your > > >>>> deploy.xml ? I don't have anything else that could give you that > >>>> type of > >>>> behavior on top of my head, so if it's not a missing <provide> > > I'd > > >>>> > >>> create a > >>> > >>>> Jira issue and attach your process to it. That way I can have a > >>>> look at > >>>> > >>> the > >>> > >>>> whole thing and see what's wrong. > >>>> > >>>> Cheers, > >>>> Matthieu > >>>> > >>>> On 3/31/08, Adam Nowak <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: > >>>> > >>>> > >>>>> Good Afternoon, > >>>>> > >>>>> I have created a BPEL process called helloProcess. The process > >>>>> calls a > >>>>> web-service which takes no parameters and returns the string > > "Hello". > > >>>>> Every time I go to deploy the process, a .cbp file is generated, > >>>>> > >>> however > >>> > >>>>> helloProcess does not show up in my ODE Process list > >>>>> (http://localhost:8080/ode/services/listServices). > >>>>> > >>>>> Here is the output of my stdout log for Tomcat: > >>>>> DEBUG - GeronimoLog.debug(66) | Process store event: > >>>>> {ProcessStoreEvent#DEPLOYED:{ > >>>>> > >>> http://service.idcor.src}helloParamProcess-32 > >>> > >>>>> } > >>>>> DEBUG - GeronimoLog.debug(66) | Ignoring store event: > >>>>> {ProcessStoreEvent#DEPLOYED:{ > >>>>> > >>> http://service.idcor.src}helloParamProcess-32 > >>> > >>>>> } > >>>>> DEBUG - GeronimoLog.debug(66) | Process store event: > >>>>> {ProcessStoreEvent#ACTVIATED:{ > >>>>> http://service.idcor.src}helloParamProcess-32} > >>>>> DEBUG - GeronimoLog.debug(66) | register: > >>>>> {http://service.idcor.src}helloParamProcess-32 > >>>>> DEBUG - GeronimoLog.debug(66) | Registering process > >>>>> {http://service.idcor.src}helloParamProcess-32 with server. > >>>>> DEBUG - GeronimoLog.debug(66) | Activating > >>>>> {http://service.idcor.src}helloParamProcess-32 > >>>>> DEBUG - GeronimoLog.debug(66) | Activated > >>>>> {http://service.idcor.src}helloParamProcess-32 > >>>>> DEBUG - GeronimoLog.debug(66) | Rehydrating process > >>>>> {http://service.idcor.src}helloParamProcess-32 > >>>>> DEBUG - GeronimoLog.debug(66) | Processing <invoke> element for > >>>>> process > >>>>> {http://service.idcor.src}helloParamProcess-32: partnerlink > >>>>> helloPartnerLink --> > >>>>> { > > http://service.idcor.src}helloService:helloServiceSOAP11port_http > > >>>>> DEBUG - GeronimoLog.debug(66) | Setting external service with > > empty > > >>>>> namespace replication > >>>>> DEBUG - GeronimoLog.debug(66) | Created external service > >>>>> {http://service.idcor.src}helloService > >>>>> DEBUG - GeronimoLog.debug(66) | Activated > >>>>> {http://service.idcor.src}helloParamProcess-32 partnerrole > >>>>> helloPartnerLink: EPR is > > [EMAIL PROTECTED] > > >>>>> DEBUG - GeronimoLog.debug(66) | Creating process DAO for > >>>>> { > >>>>> > >>> > > http://service.idcor.src}helloParamProcess-32(guid=hqejbhcnphr35qs4ifkfq4) > > >>> > >>> > >>>>> INFO - GeronimoLog.info(79) | Registered process > >>>>> {http://service.idcor.src}helloParamProcess-32. > >>>>> INFO - GeronimoLog.info(79) | Deployment of artifact bpelTest > >>>>> successful: [{http://service.idcor.src}helloParamProcess-32] > >>>>> > >>>>> PS. I am new to BPEL + Apache ODE so any help would be greatly > >>>>> appreciated. > >>>>> > >>>>> Cheers! > >>>>> > >>>>> ~Adam > >>>>> > >>>>> > >>>>> > >>>> > >>> > >> > >> > > > > > > > > 2008-04-01 16:53:57,406 INFO org.apache.axis2.deployment.ModuleDeployer - > Deploying module: addressing-1.2 > 2008-04-01 16:53:57,437 INFO org.apache.axis2.deployment.ModuleDeployer - > Deploying module: rahas-1.3 > 2008-04-01 16:53:57,812 INFO org.apache.axis2.deployment.ModuleDeployer - > Deploying module: rampart-1.3 > 2008-04-01 16:53:57,812 INFO org.apache.axis2.deployment.ModuleDeployer - > Deploying module: soapmonitor-1.2 > 2008-04-01 16:53:57,968 INFO org.apache.axis2.deployment.ServiceDeployer- > Deploying Web service: > testService.aar > 2008-04-01 16:53:57,968 INFO org.apache.axis2.deployment.ServiceDeployer- > Deploying Web service: test_service_hello.aar > 2008-04-01 16:53:57,984 INFO org.apache.axis2.deployment.ServiceDeployer- > Deploying Web service: > version.aar > DEBUG - GeronimoLog.debug(66) | Loading properties > WARN - GeronimoLog.warn(92) | Config file C:\Tomcat > 6.0\webapps\ode\WEB-INF\conf\ode-axis2.properties not found, default > values will be used. > DEBUG - GeronimoLog.debug(66) | Initializing transaction manager > DEBUG - GeronimoLog.debug(66) | Initializing transaction manager using > org.apache.ode.il.EmbeddedGeronimoFactory > DEBUG - GeronimoLog.debug(66) | Creating data source. > DEBUG - GeronimoLog.debug(66) | Starting DAO. > INFO - GeronimoLog.info(79) | Using DAO Connection Factory class > org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl. > DEBUG - GeronimoLog.debug(66) | DAO started. > DEBUG - GeronimoLog.debug(66) | Initializing BPEL process store. > DEBUG - GeronimoLog.debug(66) | Initializing BPEL server. > DEBUG - GeronimoLog.debug(66) | ODE initializing > DEBUG - GeronimoLog.debug(66) | BPEL SERVER initializing > DEBUG - GeronimoLog.debug(66) | BPEL SERVER starting. > INFO - GeronimoLog.info(79) | BPEL Server Started. > DEBUG - GeronimoLog.debug(66) | Initializing JCA adapter. > INFO - GeronimoLog.info(79) | Poller started. > INFO - GeronimoLog.info(79) | Process deployment polling started on path > C:\Tomcat 6.0\webapps\ode\WEB-INF\processes. > INFO - GeronimoLog.info(79) | ODE Service Engine has been started. > DEBUG - GeronimoLog.debug(66) | Process store event: > {ProcessStoreEvent#DEPLOYED:{http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73> > } > DEBUG - GeronimoLog.debug(66) | Ignoring store event: > {ProcessStoreEvent#DEPLOYED:{http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73> > } > DEBUG - GeronimoLog.debug(66) | Process store event: > {ProcessStoreEvent#ACTVIATED:{http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73> > } > DEBUG - GeronimoLog.debug(66) | register: { > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73> > DEBUG - GeronimoLog.debug(66) | Registering process { > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73>with > server. > DEBUG - GeronimoLog.debug(66) | Register process: serviceId={ > http://service.idcor.src/Process}helloService:helloServiceSOAP11port_http<http://service.idcor.src/Process%7DhelloService:helloServiceSOAP11port_http>, > process=BpelProcess[{http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73> > ] > DEBUG - GeronimoLog.debug(66) | Activating { > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73> > DEBUG - GeronimoLog.debug(66) | Destroying service { > http://service.idcor.src/Process}helloService<http://service.idcor.src/Process%7DhelloService>port > helloServiceSOAP11port_http > DEBUG - GeronimoLog.debug(66) | Couldn't find service { > http://service.idcor.src/Process}helloService<http://service.idcor.src/Process%7DhelloService>port > helloServiceSOAP11port_http to destroy. > DEBUG - GeronimoLog.debug(66) | Create AxisService: service={ > http://service.idcor.src/Process}helloService<http://service.idcor.src/Process%7DhelloService>port=helloServiceSOAP11port_http > WSDL= > hello.wsdl BPEL=hello.bpel > DEBUG - GeronimoLog.debug(66) | Looking for Axis2 service configuration > file: > file:/C:/Tomcat%206.0/webapps/ode/WEB-INF/processes/hello/helloService.axis2 > DEBUG - GeronimoLog.debug(66) | Axis2 service configuration not found: > file:/C:/Tomcat%206.0/webapps/ode/WEB-INF/processes/hello/helloService.axis2 > DEBUG - GeronimoLog.debug(66) | Setting service with empty namespace > replication > DEBUG - GeronimoLog.debug(66) | Created Axis2 service { > http://service.idcor.src/Process}helloService<http://service.idcor.src/Process%7DhelloService> > DEBUG - GeronimoLog.debug(66) | Activated { > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73>myrole > client: EPR is > [EMAIL PROTECTED] > DEBUG - GeronimoLog.debug(66) | Activated { > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73> > DEBUG - GeronimoLog.debug(66) | Rehydrating process { > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73> > DEBUG - GeronimoLog.debug(66) | Processing <invoke> element for process { > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73>: > partnerlink helloServicePLink --> { > http://service.idcor.src}helloService:helloServiceSOAP11port_http<http://service.idcor.src%7DhelloService:helloServiceSOAP11port_http> > DEBUG - GeronimoLog.debug(66) | Setting external service with empty > namespace replication > DEBUG - GeronimoLog.debug(66) | Created external service { > http://service.idcor.src}helloService<http://service.idcor.src%7DhelloService> > DEBUG - GeronimoLog.debug(66) | Activated { > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73>partnerrole > helloServicePLink: EPR is > [EMAIL PROTECTED] > DEBUG - GeronimoLog.debug(66) | Creating process DAO for { > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73>(guid=hqejbhcnphr35u76nvbmu8) > INFO - GeronimoLog.info(79) | Registered process { > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73> > . > INFO - GeronimoLog.info(79) | Deployment of artifact hello successful: [{ > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73> > ] > DEBUG - GeronimoLog.debug(66) | Found a header in incoming message, > checking if there are endpoints there. > DEBUG - GeronimoLog.debug(66) | Received request message for > helloService.{http://service.idcor.src/Process}hello<http://service.idcor.src/Process%7Dhello> > DEBUG - GeronimoLog.debug(66) | Starting transaction. > DEBUG - GeronimoLog.debug(66) | Routed: svcQname { > http://service.idcor.src/Process}helloService<http://service.idcor.src/Process%7DhelloService>--> > BpelProcess[{ > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73> > ] > DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation: > name=hello > style=REQUEST_RESPONSE,1 > Input: name=null > Message: > name={http://service.idcor.src/Process}helloRequest<http://service.idcor.src/Process%7DhelloRequest> > extension attribute: { > http://www.w3.org/2006/05/addressing/wsdl}Action=urn:hello<http://www.w3.org/2006/05/addressing/wsdl%7DAction=urn:hello> > Output: name=null > Message: > name={http://service.idcor.src/Process}helloResponse<http://service.idcor.src/Process%7DhelloResponse> > Part: name=parameters > elementName={http://service.idcor.src/Process}helloResponse<http://service.idcor.src/Process%7DhelloResponse> > extension attribute: { > http://www.w3.org/2006/05/addressing/wsdl}Action=urn:helloResponse<http://www.w3.org/2006/05/addressing/wsdl%7DAction=urn:helloResponse>from > service { > http://service.idcor.src/Process}helloService<http://service.idcor.src/Process%7DhelloService> > DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX > {MyRoleMex#hqejbhcnphr35u76nvbmua [Client hqejbhcnphr35u76nvbmu9] calling { > http://service.idcor.src/Process}helloService.hello(...)<http://service.idcor.src/Process%7DhelloService.hello%28...%29> > } > DEBUG - GeronimoLog.debug(66) | Message content: <?xml version="1.0" > encoding="UTF-8"?> > <message/> > DEBUG - GeronimoLog.debug(66) | Routed: svcQname { > http://service.idcor.src/Process}helloService<http://service.idcor.src/Process%7DhelloService>--> > BpelProcess[{ > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73> > ] > DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> BpelProcess[{ > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73> > ] > DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX > {MyRoleMex#hqejbhcnphr35u76nvbmua [Client hqejbhcnphr35u76nvbmu9] calling { > http://service.idcor.src/Process}helloService.hello(...)<http://service.idcor.src/Process%7DhelloService.hello%28...%29> > } > DEBUG - GeronimoLog.debug(66) | Commiting transaction. > DEBUG - GeronimoLog.debug(66) | >> > handleWorkEvent(jobData={mexid=hqejbhcnphr35u76nvbmua, pid={ > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73>, > type=INVOKE_INTERNAL}) > DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid > hqejbhcnphr35u76nvbmua > DEBUG - GeronimoLog.debug(66) | GET MEX property > org.apache.ode.bpel.myRoleSessionId = null > DEBUG - GeronimoLog.debug(66) | GET MEX property > org.apache.ode.bpel.myRoleSessionId = null > DEBUG - GeronimoLog.debug(66) | GET MEX property > org.apache.ode.bpel.partnerRoleSessionId = null > DEBUG - GeronimoLog.debug(66) | INPUTMSG: 16.hello: MSG RCVD keys=[] > mySessionId=null partnerSessionId=null > DEBUG - GeronimoLog.debug(66) | INPUTMSG: 16.hello: routing failed, > CREATING NEW INSTANCE > DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for > instance 3851. INDEXED STATE={} > DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: USING > CORRELATOR 16.hello > DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: CHECKING > for NEW INSTANCE match > DEBUG - GeronimoLog.debug(66) | INPUTMSGMATCH: Changing process instance > state from ready to active > DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: FOUND match > for NEW instance mexRef={MyRoleMex#hqejbhcnphr35u76nvbmua [Client > hqejbhcnphr35u76nvbmu9] calling { > http://service.idcor.src/Process}helloService.hello(...)<http://service.idcor.src/Process%7DhelloService.hello%28...%29> > } > DEBUG - GeronimoLog.debug(66) | INVOKING PARTNER: > partnerLink={PartnerLinkInstance > partnerLinkDecl=OPartnerLink#17,scopeInstanceId=3901}, op=hello > channel=InvokeResponseChannel#17) > DEBUG - GeronimoLog.debug(66) | INVOKE PARTNER (SEP): sessionId=null > partnerSessionId=null > DEBUG - GeronimoLog.debug(66) | Routed: svcQname { > http://service.idcor.src}helloService<http://service.idcor.src%7DhelloService>--> > null > DEBUG - GeronimoLog.debug(66) | Invoking a partner operation: hello > DEBUG - GeronimoLog.debug(66) | The service to invoke is the external > service [EMAIL PROTECTED] > DEBUG - GeronimoLog.debug(66) | Resolving endpoint reference <?xml > version="1.0" encoding="UTF-8"?> > <service-ref > xmlns="http://docs.oasis-open.org/wsbpel/2.0/serviceref"><EndpointReference > xmlns="http://www.w3.org/2005/08/addressing"><Metadata><ServiceName > xmlns="http://www.w3.org/2006/05/addressing/wsdl" > EndpointName="helloServiceSOAP11port_http" xmlns:servicens=" > http://service.idcor.src > ">servicens:helloService</ServiceName></Metadata><Address> > http://idcor.com:8080/axis2/services/helloService > </Address></EndpointReference></service-ref> > DEBUG - GeronimoLog.debug(66) | GET MEX property > org.apache.ode.bpel.partnerRoleSessionId = null > DEBUG - GeronimoLog.debug(66) | GET MEX property > org.apache.ode.bpel.myRoleSessionId = null > DEBUG - GeronimoLog.debug(66) | My-Role EPR not specified, SEP will not be > used. > DEBUG - GeronimoLog.debug(66) | Axis2 sending message to > http://idcor.com:8080/axis2/services/helloService using MEX > {PartnerRoleMex#hqejbhcnphr35u76nvbmud [PID { > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73>] > calling [EMAIL PROTECTED](...)} > DEBUG - GeronimoLog.debug(66) | Message: <?xml version="1.0" > encoding="utf-8"?><soapenv:Envelope xmlns:soapenv=" > http://schemas.xmlsoap.org/soap/envelope/ > "><soapenv:Body></soapenv:Body></soapenv:Envelope> > DEBUG - GeronimoLog.debug(66) | replyAsync mex=hqejbhcnphr35u76nvbmud > DEBUG - GeronimoLog.debug(66) | Setting execution state on instance 3851 > DEBUG - GeronimoLog.debug(66) | Sending stateful TO epr in message header > using session null > DEBUG - GeronimoLog.debug(66) | Sending a message containing wsa endpoints > in headers for session passing. > DEBUG - GeronimoLog.debug(66) | <?xml version="1.0" > encoding="utf-8"?><soapenv:Envelope xmlns:soapenv=" > http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><addr:To > xmlns:addr="http://www.w3.org/2005/08/addressing"> > http://idcor.com:8080/axis2/services/helloService</addr:To><addr:Action > xmlns:addr="http://www.w3.org/2005/08/addressing">urn:hello</addr:Action><addr:ReplyTo > xmlns:addr="http://www.w3.org/2005/08/addressing"><addr:Address> > http://www.w3.org/2005/08/addressing/anonymous</addr:Address></addr:ReplyTo><addr:MessageID > xmlns:addr="http://www.w3.org/2005/08/addressing > ">uuid:hqejbhcnphr35u76nvbmue</addr:MessageID></soapenv:Header><soapenv:Body></soapenv:Body></soapenv:Envelope> > DEBUG - GeronimoLog.debug(66) | Found a header in incoming message, > checking if there are endpoints there. > DEBUG - GeronimoLog.debug(66) | Got service response: <?xml version="1.0" > encoding="utf-8"?><soapenv:Envelope xmlns:soapenv=" > http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa=" > http://www.w3.org/2005/08/addressing"><soapenv:Header><wsa:Action>urn:helloResponse</wsa:Action><wsa:RelatesTo>uuid:hqejbhcnphr35u76nvbmue</wsa:RelatesTo></soapenv:Header><soapenv:Body><ns:helloResponse > xmlns:ns="http://service.idcor.src > "><ns:return>Hello</ns:return></ns:helloResponse></soapenv:Body></soapenv:Envelope> > DEBUG - GeronimoLog.debug(66) | Received response for MEX > {PartnerRoleMex#hqejbhcnphr35u76nvbmud [PID { > http://service.idcor.src/Process}hello-73<http://service.idcor.src/Process%7Dhello-73>] > calling null.hello(...)} > DEBUG - GeronimoLog.debug(66) | RESPONSE (NORMAL): <?xml version="1.0" > encoding="UTF-8"?> > <message><parameters><helloResponse xmlns="http://service.idcor.src" > xmlns:ns="http://service.idcor.src" xmlns:soapenv=" > http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa=" > http://www.w3.org/2005/08/addressing > "><return>Hello</return></helloResponse></parameters></message> > DEBUG - GeronimoLog.debug(66) | reply mex=hqejbhcnphr35u76nvbmud > DEBUG - GeronimoLog.debug(66) | create work event for > mex=hqejbhcnphr35u76nvbmud > DEBUG - GeronimoLog.debug(66) | Thread[pool-2-thread-1,5,main]: > lock(iid=3851, time=1MICROSECONDS) > DEBUG - GeronimoLog.debug(66) | Thread[pool-2-thread-1,5,main]: > lock(iid=3851, time=1MICROSECONDS)-->GRANTED > DEBUG - GeronimoLog.debug(66) | >> > handleWorkEvent(jobData={mexid=hqejbhcnphr35u76nvbmud, iid=3851, > type=INVOKE_RESPONSE, channel=17}) > DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for > instance 3851. INDEXED STATE={{OScope 'hello_Receive' > id=22}::8=[SCOPE(...)], {OScope 'hello_Receive' > id=22}::7=[ACTIVITYGUARD(...)], > OSequence#18-main::2=[SEQUENCE(self=(OSequence#18-main,TerminationChannel#3,ParentScopeChannel#5), > [EMAIL PROTECTED], remaining=[{OScope > 'hello_Receive' id=22}, {OAssign : BuildResponseMessage, > joinCondition=null}, OReply#36-replyOutput])], {OScope > '__PROCESS_SCOPE:hello' id=3}::0=[ACTIVE(...)], > OInvoke#23-hello_Receive::9=[ACTIVITYGUARD(...)], > OSequence#18-main::1=[ACTIVITYGUARD(...)], > OInvoke#23-hello_Receive::10=[INVOKE(...)], {OScope 'hello_Receive' > id=22}::8=[ACTIVE(...)], {OScope '__PROCESS_SCOPE:hello' > id=3}::0=[SCOPE(...)]} > DEBUG - GeronimoLog.debug(66) | InvokeResponse event for iid 3851 > DEBUG - GeronimoLog.debug(66) | Invoking message response for mexid > hqejbhcnphr35u76nvbmud and channel 17 > DEBUG - GeronimoLog.debug(66) | Triggering response > ERROR - GeronimoLog.error(104) | Assignment Fault: { > http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure,lineNo=30,faultExplanation=No<http://docs.oasis-open.org/wsbpel/2.0/process/executable%7DselectionFailure,lineNo=30,faultExplanation=No>results > for expression: {OXPath10Expression /return} > DEBUG - GeronimoLog.debug(66) | ProcessImpl completed with fault '{ > http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure<http://docs.oasis-open.org/wsbpel/2.0/process/executable%7DselectionFailure> > ' > DEBUG - GeronimoLog.debug(66) | Processing an async reply from service { > http://service.idcor.src/Process}helloService<http://service.idcor.src/Process%7DhelloService> > DEBUG - GeronimoLog.debug(66) | Thread[pool-2-thread-1,5,main]: > unlock(iid=3851) > DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback > DEBUG - GeronimoLog.debug(66) | Handling response for MEX > {MyRoleMex#hqejbhcnphr35u76nvbmua [Client hqejbhcnphr35u76nvbmu9] calling { > http://service.idcor.src/Process}helloService.hello(...)<http://service.idcor.src/Process%7DhelloService.hello%28...%29> > } > DEBUG - GeronimoLog.debug(66) | Starting transaction. > DEBUG - GeronimoLog.debug(66) | Fault response message: { > http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure<http://docs.oasis-open.org/wsbpel/2.0/process/executable%7DselectionFailure> > DEBUG - GeronimoLog.debug(66) | Returning fault: <?xml version="1.0" > encoding="utf-8"?><soapenv:Envelope xmlns:soapenv=" > http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring > xmlns:axis2ns1="http://docs.oasis-open.org/wsbpel/2.0/process/executable > ">axis2ns1:selectionFailure</faultstring><detail></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope> > DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr35u76nvbmua > DEBUG - GeronimoLog.debug(66) | Comitting transaction. > DEBUG - GeronimoLog.debug(66) | Reply for helloService.{ > http://service.idcor.src/Process}hello<http://service.idcor.src/Process%7Dhello> > DEBUG - GeronimoLog.debug(66) | Reply message <?xml version="1.0" > encoding="utf-8"?><soapenv:Envelope xmlns:soapenv=" > http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring > xmlns:axis2ns1="http://docs.oasis-open.org/wsbpel/2.0/process/executable > ">axis2ns1:selectionFailure</faultstring><detail></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope> > > >
