ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddzi <d...@poczta.onet.pl>
Subject Re: Error invoking BPEL via JBI ODE inside servicemix...
Date Thu, 18 Sep 2008 07:16:47 GMT

Hi

It works fine. Thanks :)

Darek


Alex Boisvert-3 wrote:
> 
> In ode-jbi.properties, you need to set the following:
> 
> ode-jbi.messageMapper=org.apache.ode.jbi.msgmap.JbiWsdl11WrapperMapper
> 
> alex
> 
> On Wed, Sep 17, 2008 at 5:55 AM, ddzi <ddzi@poczta.onet.pl> wrote:
> 
>>
>> Hi All,
>>
>> I have a problem similar to
>>
>> http://www.nabble.com/Error-invoking-jbi-ODE-inside-servicemix-td8412119.html
>>
>> I have tried to deploy and invoke a some BPEL process with ODE (ver. 1.2)
>> inside servicemix (ver.3.2.2).
>>
>> After sending SOAP via CXF-BC consumer:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> "
>>
>> xmlns:typens="http://www.softwaremind.pl/WKI/WP4-test/TestScenario1/types
>> ">
>> <soapenv:Body>
>>  <typens:AnalyzeGraph>
>>                <typens:graphIdIn>test123</typens:graphIdIn>
>>          </typens:AnalyzeGraph>
>>  </soapenv:Body>
>> </soapenv:Envelope>
>>
>> I've got this error:
>>
>> STATUS: 500
>> <soap:Envelope
>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/
>> "><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Could
>> not find a mapper for request message for JBI MEX
>> ID:10.1.1.74-11c70069739-5:4; ODE MEX hqejbhcnphr3lkr3lesqf6 is failed.
>> </faultstring></soap:Fault></soap:Body></soap:Envelope>
>>
>> From servicemix.log:
>>
>> 14:34:25,968 | DEBUG | btpool0-1  | CxfBcComponent           |
>> emix.common.AsyncBaseLifeCycle  587 | Created correlation id:
>> ID:10.1.1.74-11c70069739-5:4
>> 14:34:25,968 | DEBUG | btpool0-1  | DeliveryChannelImpl      |
>> .messaging.DeliveryChannelImpl  458 | SendSync
>> ID:10.1.1.74-11c70069739-5:4
>> in DeliveryChannel{servicemix-cxf-bc}
>> 14:34:25,968 | DEBUG | btpool0-1  | SecuredBroker            |
>> mix.jbi.security.SecuredBroker   66 | send exchange with secure broker
>> 14:34:25,968 | DEBUG | btpool0-1  | SecuredBroker            |
>> mix.jbi.security.SecuredBroker   72 | service name
>> :{
>> http://www.softwaremind.pl/WKI/WP4-test/TestScenario1}TestScenario1Service
>> 14:34:25,968<http://www.softwaremind.pl/WKI/WP4-test/TestScenario1%7DTestScenario1Service14:34:25,968>|
>> DEBUG | btpool0-1  | SecuredBroker            |
>> mix.jbi.security.SecuredBroker   73 | operation name
>> :{http://www.softwaremind.pl/WKI/WP4-test/TestScenario1}analyzeGraph
>> 14:34:25,984<http://www.softwaremind.pl/WKI/WP4-test/TestScenario1%7DanalyzeGraph14:34:25,984>|
>> DEBUG | btpool0-1  | SedaFlow                 |
>> emix.jbi.nmr.flow.AbstractFlow  118 | Called Flow send
>> 14:34:25,984 | DEBUG | btpool0-1  | DeliveryChannelImpl      |
>> .messaging.DeliveryChannelImpl  693 | Waiting for exchange
>> ID:10.1.1.74-11c70069739-5:4 (a6e4e2) to be answered in
>> DeliveryChannel{servicemix-cxf-bc} from sendSync
>> 14:34:25,984 | DEBUG | pool-flow.seda.OdeBpelEngine-thread-9 | SedaQueue
>> | .jbi.nmr.flow.seda.SedaQueue$1  132 |
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@fcef50 dequeued
>> exchange: InOut[
>>  id: ID:10.1.1.74-11c70069739-5:4
>>  status: Active
>>  role: provider
>>  interface:
>> {
>> http://www.softwaremind.pl/WKI/WP4-test/TestScenario1}TestScenario1ServicePortType<http://www.softwaremind.pl/WKI/WP4-test/TestScenario1%7DTestScenario1ServicePortType>
>>  service:
>> {
>> http://www.softwaremind.pl/WKI/WP4-test/TestScenario1}TestScenario1Service<http://www.softwaremind.pl/WKI/WP4-test/TestScenario1%7DTestScenario1Service>
>>  endpoint: TestScenario1ServiceImplPort
>>  operation:
>> {http://www.softwaremind.pl/WKI/WP4-test/TestScenario1}analyzeGraph<http://www.softwaremind.pl/WKI/WP4-test/TestScenario1%7DanalyzeGraph>
>>  in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"
>> xmlns:msg="http://www.softwaremind.pl/WKI/WP4-test/TestScenario1"
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="analyzeGraph"
>> type="msg:analyzeGraph" version="1.0"><jbi:part><typens:AnalyzeGraph
>> xmlns:typens="http://www.softwaremind.pl/WKI/WP4-test/TestScenario1/types
>> ">
>>                                        <typens:graphIdIn
>> xmlns:typens="http://www.softwaremind.pl/WKI/WP4-test/TestScenario1/types
>> ">test123</typens:graphIdIn>
>>
>>  </typens:AnalyzeGraph></jbi:part></jbi:message>
>> ]
>> 14:34:25,984 | DEBUG | Thread-7   | DeliveryChannelImpl      |
>> .messaging.DeliveryChannelImpl  281 | Accepting
>> ID:10.1.1.74-11c70069739-5:4
>> in DeliveryChannel{OdeBpelEngine}
>> 14:34:25,984 | DEBUG | pool-5-thread-5 | OdeService               |
>> org.apache.ode.jbi.OdeService   225 | invokeOde() JBI
>> exchangeId=ID:10.1.1.74-11c70069739-5:4
>> endpoint={
>> http://www.softwaremind.pl/WKI/WP4-test/TestScenario1}TestScenario1Service:TestScenario1ServiceImplPort
>>
>> operation={http://www.softwaremind.pl/WKI/WP4-test/TestScenario1}analyzeGraph
>> 14:34:25,984<http://www.softwaremind.pl/WKI/WP4-test/TestScenario1%7DTestScenario1Service:TestScenario1ServiceImplPortoperation=%7Bhttp://www.softwaremind.pl/WKI/WP4-test/TestScenario1%7DanalyzeGraph14:34:25,984>|
>> DEBUG | pool-5-thread-5 | BpelEngineImpl           |
>> ode.bpel.engine.BpelEngineImpl  255 | Routed: svcQname
>> {
>> http://www.softwaremind.pl/WKI/WP4-test/TestScenario1}TestScenario1Service<http://www.softwaremind.pl/WKI/WP4-test/TestScenario1%7DTestScenario1Service>
>> --> BpelProcess[{
>> http://www.softwaremind.pl/WKI/Process}TestScenario1BPEL-4<http://www.softwaremind.pl/WKI/Process%7DTestScenario1BPEL-4>
>> ]
>> 14:34:25,984 | DEBUG | pool-5-thread-5 | ServiceMixMapper         |
>> de.jbi.msgmap.ServiceMixMapper   59 | isRecognized() message: <?xml
>> version="1.0" encoding="UTF-8"?>
>> <jbi:message name="analyzeGraph" type="msg:analyzeGraph" version="1.0"
>>  xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"
>>  xmlns:msg="http://www.softwaremind.pl/WKI/WP4-test/TestScenario1"
>>  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>  <jbi:part>
>>    <typens:AnalyzeGraph
>> xmlns:typens="http://www.softwaremind.pl/WKI/WP4-test/TestScenario1/types
>> ">
>>      <typens:graphIdIn
>> xmlns:typens="http://www.softwaremind.pl/WKI/WP4-test/TestScenario1/types
>> ">test123</typens:graphIdIn>
>>    </typens:AnalyzeGraph>
>>  </jbi:part>
>> </jbi:message>
>>
>> 14:34:25,984 | DEBUG | pool-5-thread-5 | ServiceMixMapper         |
>> de.jbi.msgmap.ServiceMixMapper   95 | no part data for parameters --
>> unrecognized.
>> 14:34:25,984 | ERROR | pool-5-thread-5 | OdeService               |
>> org.apache.ode.jbi.OdeService   239 | Could not find a mapper for request
>> message for JBI MEX ID:10.1.1.74-11c70069739-5:4; ODE MEX
>> hqejbhcnphr3lkr3lesqf6 is failed.
>> 14:34:25,984 | DEBUG | pool-5-thread-5 | OdeService               |
>> org.apache.ode.jbi.OdeService   272 | Rolling back ODE MEX
>> {MyRoleMex#hqejbhcnphr3lkr3lesqf6 [Client ID:10.1.1.74-11c70069739-5:4]
>> calling
>> {
>> http://www.softwaremind.pl/WKI/WP4-test/TestScenario1}TestScenario1Service.analyzeGraph(...)<http://www.softwaremind.pl/WKI/WP4-test/TestScenario1%7DTestScenario1Service.analyzeGraph%28...%29>
>> }
>> 14:34:25,984 | DEBUG | pool-5-thread-5 | sql                      |
>> utils.LoggingDataSourceWrapper   77 | getConnection (tx=2)
>> 14:34:25,984 | DEBUG | pool-5-thread-5 | JDBC                     |
>> log.Log4JLogFactory$LogAdapter   72 | The batch limit is set to 0.
>> 14:34:25,984 | DEBUG | pool-5-thread-5 | sql                      |
>> utils.LoggingConnectionWrapper  215 | prepareStmt: INSERT INTO
>> ODE_MESSAGE_EXCHANGE (MESSAGE_EXCHANGE_ID, CALLEE, CHANNEL,
>> CORRELATION_ID,
>> CORRELATION_KEYS, CORRELATION_STATUS, CREATE_TIME, DIRECTION, EPR, FAULT,
>> FAULT_EXPLANATION, OPERATION, PARTNER_LINK_MODEL_ID, PATTERN, PIPED_ID,
>> PORT_TYPE, PROPAGATE_TRANS, STATUS, CORR_ID, PARTNER_LINK_ID, PROCESS_ID,
>> PROCESS_INSTANCE_ID, REQUEST_MESSAGE_ID, RESPONSE_MESSAGE_ID) VALUES (?,
>> ?,
>> ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
>> 14:34:25,984 | DEBUG | pool-5-thread-5 | SQL                      |
>> log.Log4JLogFactory$LogAdapter   72 | <t 9984745, conn 7901426> executing
>> prepstmnt 5821410 INSERT INTO ODE_MESSAGE_EXCHANGE (MESSAGE_EXCHANGE_ID,
>> CALLEE, CHANNEL, CORRELATION_ID, CORRELATION_KEYS, CORRELATION_STATUS,
>> CREATE_TIME, DIRECTION, EPR, FAULT, FAULT_EXPLANATION, OPERATION,
>> PARTNER_LINK_MODEL_ID, PATTERN, PIPED_ID, PORT_TYPE, PROPAGATE_TRANS,
>> STATUS, CORR_ID, PARTNER_LINK_ID, PROCESS_ID, PROCESS_INSTANCE_ID,
>> REQUEST_MESSAGE_ID, RESPONSE_MESSAGE_ID) VALUES (?, ?, ?, ?, ?, ?, ?, ?,
>> ?,
>> ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [params=(String)
>> hqejbhcnphr3lkr3lesqf6, (String)
>> {http://www.softwaremind.pl/WKI/WP4-test/TestScenario1}TestScenario1..<http://www.softwaremind.pl/WKI/WP4-test/TestScenario1%7DTestScenario1..>
>> .,
>> (null) null, (String) ID:10.1.1.74-11c70069739-5:4, (null) null, (String)
>> UKNOWN_ENDPOINT, (null) null, (int) 77, (null) null, (null) null, (null)
>> null, (String) analyzeGraph, (int) 0, (String) UNKNOWN, (null) null,
>> (null)
>> null, (int) 0, (String) NEW, (null) null, (null) null, (null) null,
>> (null)
>> null, (null) null, (null) null]
>> 14:34:26,000 | DEBUG | Finalizer  | BpelC                    |
>> apache.ode.bpel.compiler.BpelC  157 | Sett output to stream null
>> 14:34:26,000 | DEBUG | pool-5-thread-5 | sql                      |
>> .utils.LoggingStatementWrapper  756 | bound (1,hqejbhcnphr3lkr3lesqf6)
>> (2,{
>> http://www.softwaremind.pl/WKI/WP4-test/TestScenario1}TestScenario1Service<http://www.softwaremind.pl/WKI/WP4-test/TestScenario1%7DTestScenario1Service>
>> )
>> (3,null) (4,ID:10.1.1.74-11c70069739-5:4) (5,null) (6,UKNOWN_ENDPOINT)
>> (7,null) (8,77) (9,null) (10,null) (11,null) (12,analyzeGraph) (13,0)
>> (14,UNKNOWN) (15,null) (17,0) (16,null) (19,null) (18,NEW) (21,null)
>> (20,null) (23,null) (22,null) (24,null)
>> 14:34:26,000 | DEBUG | pool-5-thread-5 | SQL                      |
>> log.Log4JLogFactory$LogAdapter   72 | <t 9984745, conn 7901426> [0 ms]
>> spent
>> 14:34:26,000 | DEBUG | pool-5-thread-5 | sql                      |
>> utils.LoggingConnectionWrapper  215 | close
>> 14:34:26,000 | DEBUG | pool-5-thread-5 | JDBC                     |
>> log.Log4JLogFactory$LogAdapter   72 | <t 9984745, conn 7901426> [0 ms]
>> close
>> 14:34:26,000 | ERROR | pool-5-thread-5 | OdeService               |
>> org.apache.ode.jbi.OdeService   151 | Error invoking ODE.
>> org.apache.ode.jbi.msgmap.MessageTranslationException: Could not find a
>> mapper for request message for JBI MEX ID:10.1.1.74-11c70069739-5:4; ODE
>> MEX
>> hqejbhcnphr3lkr3lesqf6 is failed.
>>        at org.apache.ode.jbi.OdeService.invokeOde(OdeService.java:240)
>>        at
>> org.apache.ode.jbi.OdeService.onJbiMessageExchange(OdeService.java:148)
>>        at
>>
>> org.apache.ode.jbi.JbiMessageExchangeEventRouter.onJbiMessageExchange(JbiMessageExchangeEventRouter.java:67)
>>        at org.apache.ode.jbi.Receiver$1.run(Receiver.java:179)
>>        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown
>> Source)
>>        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
>>        at java.util.concurrent.FutureTask.run(Unknown Source)
>>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
>> Source)
>>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
>> Source)
>>        at java.lang.Thread.run(Unknown Source)
>> 14:34:26,000 | DEBUG | pool-5-thread-5 | DeliveryChannelImpl      |
>> .messaging.DeliveryChannelImpl  425 | Send ID:10.1.1.74-11c70069739-5:4
>> in
>> DeliveryChannel{OdeBpelEngine}
>> 14:34:26,000 | DEBUG | pool-5-thread-5 | SecuredBroker            |
>> mix.jbi.security.SecuredBroker   66 | send exchange with secure broker
>> 14:34:26,000 | DEBUG | pool-5-thread-5 | SedaFlow                 |
>> emix.jbi.nmr.flow.AbstractFlow  118 | Called Flow send
>> 14:34:26,000 | DEBUG | pool-flow.seda.OdeBpelEngine-thread-10 | SedaQueue
>> | .jbi.nmr.flow.seda.SedaQueue$1  132 |
>> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@10875ae dequeued
>> exchange: InOut[
>>  id: ID:10.1.1.74-11c70069739-5:4
>>  status: Error
>>  role: consumer
>>  interface:
>> {
>> http://www.softwaremind.pl/WKI/WP4-test/TestScenario1}TestScenario1ServicePortType<http://www.softwaremind.pl/WKI/WP4-test/TestScenario1%7DTestScenario1ServicePortType>
>>  service:
>> {
>> http://www.softwaremind.pl/WKI/WP4-test/TestScenario1}TestScenario1Service<http://www.softwaremind.pl/WKI/WP4-test/TestScenario1%7DTestScenario1Service>
>>  endpoint: TestScenario1ServiceImplPort
>>  operation:
>> {http://www.softwaremind.pl/WKI/WP4-test/TestScenario1}analyzeGraph<http://www.softwaremind.pl/WKI/WP4-test/TestScenario1%7DanalyzeGraph>
>>  in: <?xml version="1.0" encoding="UTF-8"?><jbi:message
>> xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"
>> xmlns:msg="http://www.softwaremind.pl/WKI/WP4-test/TestScenario1"
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="analyzeGraph"
>> type="msg:analyzeGraph" version="1.0"><jbi:part><typens:AnalyzeGraph
>> xmlns:typens="http://www.softwaremind.pl/WKI/WP4-test/TestScenario1/types
>> ">
>>                                        <typens:graphIdIn
>> xmlns:typens="http://www.softwaremind.pl/WKI/WP4-test/TestScenario1/types
>> ">test123</typens:graphIdIn>
>>
>>  </typens:AnalyzeGraph></jbi:part></jbi:message>
>>  error: org.apache.ode.jbi.msgmap.MessageTranslationException: Could not
>> find a mapper for request message for JBI MEX
>> ID:10.1.1.74-11c70069739-5:4;
>> ODE MEX hqejbhcnphr3lkr3lesqf6 is failed.
>> ]
>> 14:34:26,000 | DEBUG | pool-flow.seda.OdeBpelEngine-thread-10 |
>> DeliveryChannelImpl      | .messaging.DeliveryChannelImpl  710 |
>> Notifying
>> exchange ID:10.1.1.74-11c70069739-5:4(a6e4e2) in
>> DeliveryChannel{servicemix-cxf-bc} from processInboundSynchronousExchange
>> 14:34:26,000 | DEBUG | btpool0-1  | DeliveryChannelImpl      |
>> .messaging.DeliveryChannelImpl  704 | Notified:
>> ID:10.1.1.74-11c70069739-5:4(a6e4e2) in
>> DeliveryChannel{servicemix-cxf-bc}
>> from sendSync
>>
>>
>> What could be wrong ? http://www.nabble.com/file/p19531487/files.zip
>> files.zip
>>
>> I've put in attachment the wsdls, deploy and bpel descriptions of my
>> process.
>>
>> Thank you for any feedback.
>>
>> Best Regards,
>> Darek
>> --
>> View this message in context:
>> http://www.nabble.com/Error-invoking-BPEL-via-JBI-ODE-inside-servicemix...-tp19531487p19531487.html
>> Sent from the Apache Ode User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-invoking-BPEL-via-JBI-ODE-inside-servicemix...-tp19531487p19547355.html
Sent from the Apache Ode User mailing list archive at Nabble.com.


Mime
View raw message