1 Reply Latest reply on Jun 23, 2010 12:56 PM by fsalceda

    my bpel example

    fsalceda

      I have done my own bpel example that I think is simplier than the "loan broker" example.

      I'm using Fuse-ESB v4.2.0-fuse-02-00.

       

      The example contains:

      cxf-consumer -> bpel-orchestration -> cxf-provider

       

      When I install my bpel-orchestration assembly, The following appears in servicemix.log file:

       

       

      17:48:34,092 | DEBUG | l Console Thread | ServiceRecipe                    | lueprint.container.ServiceRecipe  225 | Retrieving service for bundle org.apache.felix.gogo.runtime_0.4.0 and service registration {org.osgi.service.command.Function, org.apache.felix.karaf.shell.console.CompletableFunction}={osgi.command.function=install, osgi.command.scope=osgi, service.id=79}

      17:48:34,093 | DEBUG | l Console Thread | BlueprintContainerImpl           | container.BlueprintContainerImpl  680 | Instantiating component shell-5

      17:48:34,093 | DEBUG | l Console Thread | BlueprintContainerImpl           | container.BlueprintContainerImpl  680 | Instantiating component blueprintBundleContext

      17:48:34,094 | DEBUG | l Console Thread | Connection                       | .pax.url.mvn.internal.Connection  145 | Resolving mvn:com.andago.examples/bpel-orchestration-sa/1.0-SNAPSHOT/zip

      17:48:34,095 | DEBUG | l Console Thread | Connection                       | .pax.url.mvn.internal.Connection  260 | Collecting versions from repository file:/opt/apache-servicemix-4.2.0-fuse-02-00/system/,releases=true,snapshots=true

      17:48:34,095 | DEBUG | l Console Thread | Connection                       | .pax.url.mvn.internal.Connection  453 |   Resolving snapshot version

      17:48:34,095 | DEBUG | l Console Thread | Connection                       | .pax.url.mvn.internal.Connection  323 |   Resolving metadata

      17:48:34,096 | DEBUG | l Console Thread | Connection                       | .pax.url.mvn.internal.Connection  166 |   Could not download [Version from URL file:/opt/apache-servicemix-4.2.0-fuse-02-00/system/com/andago/examples/bpel-orchestration-sa/1.0-SNAPSHOT/bpel-orchestration-sa-1.0-SNAPSHOT.zip]

      17:48:34,096 | DEBUG | l Console Thread | Connection                       | .pax.url.mvn.internal.Connection  260 | Collecting versions from repository file:/home/fsalceda/.m2/repository/,releases=true,snapshots=true

      17:48:34,097 | DEBUG | l Console Thread | Connection                       | .pax.url.mvn.internal.Connection  453 |   Resolving snapshot version

      17:48:34,097 | DEBUG | l Console Thread | Connection                       | .pax.url.mvn.internal.Connection  323 |   Resolving metadata

      17:48:34,367 | DEBUG | Event Dispatcher |                      | ?                                   ? | BundleEvent INSTALLED

      17:48:34,370 | DEBUG | Event Dispatcher |                      | ?                                   ? | BundleEvent RESOLVED

      17:48:34,370 | DEBUG | l Console Thread | BlueprintExtender                | rint.container.BlueprintExtender  178 | Scanning bundle null for blueprint application

      17:48:34,370 | DEBUG | l Console Thread | BlueprintExtender                | rint.container.BlueprintExtender  224 | No blueprint application found in bundle null

      17:48:34,371 | DEBUG | l Console Thread | ContextLoaderListener            | .activator.ContextLoaderListener  681 | Scanning bundle for configurations...

      17:48:34,371 | DEBUG | l Console Thread | ContextLoaderListener            | .activator.ContextLoaderListener  687 | Creating an application context for bundle

      17:48:34,371 | DEBUG | l Console Thread | ContextLoaderListener            | .activator.ContextLoaderListener  698 | No application context created for bundle

      17:48:34,372 | DEBUG | l Console Thread | Activator                        | org.apache.camel.osgi.Activator    83 | Bundle started: null

      17:48:34,373 | DEBUG | l Console Thread | Deployer                         | cemix.jbi.deployer.impl.Deployer  299 | Checking bundle: 'null (null)'

      17:48:34,381 | INFO  | l Console Thread | Deployer                         | cemix.jbi.deployer.impl.Deployer  341 | Deploying bundle 'null (null)' as a JBI service assembly

      17:48:34,383 | WARN  | l Console Thread | Deployer                         | cemix.jbi.deployer.impl.Deployer  357 | Requirements not met for JBI artifact in bundle null (null). Installation pending. org.apache.servicemix.jbi.deployer.impl.PendingException: Component not installed: OdeBpelEngine

      17:48:34,383 | DEBUG | l Console Thread | BundleWatcher                    | .swissbox.extender.BundleWatcher  176 | Scanning bundle

       

      When I check "nmr:list" endpoints... the bpel service endpoint doesn't appear.

       

      I append my bpel-example project.

       

       

      Thx.

        • 1. Re: my bpel example
          fsalceda

          I resolved the last issue, changing the ode component version and reinstalling the ode feature.

          I also did changes in wsdls.

          Even now what I get is an exception saying:

           

          Compilation completed with 2 error(s):

                  file:/opt/apache-servicemix-4.2.0-fuse-02-00/data/jbi/bpel-orchestration-sa/sus/bpel-orchestration-su/ToMultiply-Service.wsdl:0: error: Error in schema processing: src-resolve: Cannot resolve the name 'ax24:ToMultiplyInfo' to a(n) 'type definition' component.

                  file:/opt/apache-servicemix-4.2.0-fuse-02-00/data/jbi/bpel-orchestration-sa/sus/bpel-orchestration-su/ToPlus-Service.wsdl:0: error: Error in schema processing: src-resolve: Cannot resolve the name 'ax22:ToPlusInfo' to a(n) 'type definition' component.

           

          I append both wsdl's.

           

          Is anything wrong with my schema definition?

           

           

          Thx.