1 Reply Latest reply on Jan 12, 2008 1:27 PM by Chris Custine

    Problem running  the "cxf-wsdl-first" example using fuse-esb-3.3.0.6

    Raja Chattopadhyay Newbie

      I have downloaded "fuse-esb-3.3.0.6" and trying to run the "cxf-wsdl-first" example as mentioned in the "http://open.iona.com/docs/esb/3.3/getting_started/index.html". Its showing some error while building and deploying the example. The error is as given below:

       

       

      D:\fuse\iona\fuse-esb-3.3.0.6\examples\cxf-wsdl-first>mvn install jbi:projectDeploy

       

      Scanning for projects...

      Downloading: http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.3.

      0.6-fuse/samples-3.3.0.6-fuse.pom

      Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.3.0.6

      -fuse/samples-3.3.0.6-fuse.pom

      -


      FATAL ERROR

      -


      Error building POM (may not be this project's POM).

       

       

      Project ID: org.apache.servicemix.samples:cxf-wsdl-first:pom:null

       

      Reason: Cannot find parent: org.apache.servicemix:samples for project: org.apach

      e.servicemix.samples:cxf-wsdl-first:pom:null for project org.apache.servicemix.s

      amples:cxf-wsdl-first:pom:null

       

       

      -


      Trace

      org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.apache

      .servicemix:samples for project: org.apache.servicemix.samples:cxf-wsdl-first:po

      m:null for project org.apache.servicemix.samples:cxf-wsdl-first:pom:null

              at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:376)

              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:289)

              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)

              at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

      java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

      sorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

              at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

              at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

       

              at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

      Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent

      : org.apache.servicemix:samples for project: org.apache.servicemix.samples:cxf-w

      sdl-first:pom:null for project org.apache.servicemix.samples:cxf-wsdl-first:pom:

      null

              at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D

      efaultMavenProjectBuilder.java:1259)

              at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Def

      aultMavenProjectBuilder.java:745)

              at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi

      leInternal(DefaultMavenProjectBuilder.java:476)

              at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave

      nProjectBuilder.java:197)

              at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:548)

              at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:458)

              at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:362)

              ... 11 more

      Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.se

      rvicemix:samples' not found in repository: Unable to download the artifact from

      any repository

       

        org.apache.servicemix:samples:pom:3.3.0.6-fuse

       

      from the specified remote repositories:

        open.iona.m2-snapshot (http://repo.open.iona.com/maven2-snapshot),

        open.iona.m2 (http://repo.open.iona.com/maven2),

        central (http://repo1.maven.org/maven2)

      for project org.apache.servicemix:samples

              at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo

      sitory(DefaultMavenProjectBuilder.java:571)

              at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D

      efaultMavenProjectBuilder.java:1255)

              ... 17 more

      Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable

      to download the artifact from any repository

       

        org.apache.servicemix:samples:pom:3.3.0.6-fuse

       

      from the specified remote repositories:

        open.iona.m2-snapshot (http://repo.open.iona.com/maven2-snapshot),

        open.iona.m2 (http://repo.open.iona.com/maven2),

        central (http://repo1.maven.org/maven2)

       

              at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De

      faultArtifactResolver.java:206)

              at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De

      faultArtifactResolver.java:73)

              at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo

      sitory(DefaultMavenProjectBuilder.java:524)

              ... 18 more

      Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to downl

      oad the artifact from any repository

              at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def

      aultWagonManager.java:324)

              at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De

      faultArtifactResolver.java:194)

              ... 20 more

      -


      Total time: 43 seconds

      Finished at: Sat Jan 12 16:12:54 IST 2008

      Final Memory: 1M/4M

      -


       

      Can somebody tell me how to resolve this problem so that I can run the examples?

        • 1. Re: Problem running  the "cxf-wsdl-first" example using fuse-esb-3.3.0.6
          Chris Custine Newbie

          I was able to build these examples from the download without any issues.  The error you received could have been caused by a number of things such as no network connectivity to the open.iona.com maven repository (if you were not connected to the internet) or a temporary problem with the open.iona.com repository.  Another cause would be if you have customizations in your maven settings.xml to point to a local maven proxy that is not configured for the open.iona.com repositories.

           

          Let me know if none of these suggestions work out for you.

           

          Thanks,

          Chris