13 Replies Latest reply on Feb 26, 2009 11:03 AM by Stan Lewis

    Problem Running FUSE ESB 3.4 Example 'wsdl-first'

    David Bennett Newbie

      Hi - I've just installed FUSE ESB 3.4 and I'm getting a strange error trying to deploy the sample project (see below).  In addition, when I try to pull the "repro1.maven" url up in a browser session I get "404 Not Found".  I've installed FUSE ESB in a linux environment -- Any ideas as to what could be causing my troubles?

       

      in the ../examples/wsdl-first directory..:

       

      mvn install jbi:projectDeploy

       

      Scanning for projects...

      Downloading: http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

      Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

      -


      FATAL ERROR

      -


      Failed to resolve artifact.

       

      GroupId: org.apache.servicemix

      ArtifactId: samples

      Version: 3.4.0.1-fuse

       

      Reason: Unable to download the artifact from any repository

       

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

       

      from the specified remote repositories:

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

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

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

       

       

       

      -


      Trace

      org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.apache.servicemix:samples for project: org.apache.servicemix.samples:wsdl-first:pom:null for project org.apache.servicemix.samples:wsdl-first:pom:null

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

        • 1. Re: Problem Running FUSE ESB 3.4 Example 'wsdl-first'
          Stan Lewis Novice

          that does seem odd, what happens when you do "mvn install" from the top level "examples directory?  Have you tried clearing out your ~/.m2/repository directory to see if that helps?  Finally, what version of maven are you running?

          • 2. Re: Problem Running FUSE ESB 3.4 Example 'wsdl-first'
            David Bennett Newbie

            1. Shown below is the Maven version:

            /usr/local/apache-maven-2.0.10>mvn --version

            Maven version: 2.0.10

            Java version: 1.5.0_16

            OS name: "linux" version: "2.6.16.60-0.34-smp" arch: "i386" Family: "unix"

             

            2. I get the following error when I key that url into a browser session:

            http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

            "404 Not Found"

             

            3. I do not know where to find the ~/.m2/repository directory you are referring to.

             

            4. "mvn install" does not work either:

            /opt/iona/fuse-esb-3.4.0.1/examples>mvn -e install*

            + Error stacktraces are turned on.

            Scanning for projects...

            -


            Building Maven Default Project

                task-segment:

            -


            Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom

            Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom

            -


            BUILD ERROR

            -


            Failed to resolve artifact.

             

            GroupId: org.apache.maven.plugins

            ArtifactId: maven-resources-plugin

            Version: 2.3

             

            Reason: Unable to download the artifact from any repository

             

              org.apache.maven.plugins:maven-resources-plugin:pom:2.3

             

            from the specified remote repositories:

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

             

             

             

            -


            Trace

            org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build project for plugin 'org.apache.maven.plugins:maven-resources-plugin': POM 'org.apache.maven.plugins:maven-resources-plugin' not found in repository: Unable to download the artifact from any repository

             

              org.apache.maven.plugins:maven-resources-plugin:pom:2.3

             

            from the specified remote repositories:

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

             

            for project org.apache.maven.plugins:maven-resources-plugin

                    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1292)

                    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1543)

                    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1034)

                    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:998)

                    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)

                    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)

                    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)

                    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)

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

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

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

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

                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

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

                    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.plugin.InvalidPluginException: Unable to build project for plugin 'org.apache.maven.plugins:maven-resources-plugin': POM 'org.apache.maven.plugins:maven-resources-plugin' not found in repository: Unable to download the artifact from any repository

             

              org.apache.maven.plugins:maven-resources-plugin:pom:2.3

             

            from the specified remote repositories:

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

             

            for project org.apache.maven.plugins:maven-resources-plugin

                    at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:281)

                    at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:197)

                    at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)

                    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1275)

                    ... 18 more

            Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.maven.plugins:maven-resources-plugin' not found in repository: Unable to download the artifact from any repository

             

              org.apache.maven.plugins:maven-resources-plugin:pom:2.3

             

            from the specified remote repositories:

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

             

            for project org.apache.maven.plugins:maven-resources-plugin

                    at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:602)

                    at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:248)

                    at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:265)

                    ... 21 more

            Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

             

              org.apache.maven.plugins:maven-resources-plugin:pom:2.3

             

            from the specified remote repositories:

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

             

             

                    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)

                    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)

                    at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:555)

                    ... 23 more

            Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository

                    at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:332)

                    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)

                    ... 25 more

            -


            Total time: < 1 second

            Finished at: Tue Feb 24 08:52:51 EST 2009

            Final Memory: 1M/252M

            -


             

            • 3. Re: Problem Running FUSE ESB 3.4 Example 'wsdl-first'
              Stan Lewis Novice

              Maven should be getting all of the fuse related stuff from http://repo.open.iona.com/maven2.  Checking the pom.xml in the cxf-wsdl-first example (that's the one you're trying to run, right?) it appears to have the fusesource repositories set correctly, can you check and make sure the top-level pom.xml of the example contains the following:

               

                   

              • 4. Re: Problem Running FUSE ESB 3.4 Example 'wsdl-first'
                David Bennett Newbie

                Shown below is my pom.xml, which appears to have the same repository references as the xml that you provided.  Are you sure it doesn't matter that the url reference http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom is non-existent?  I would think it is trying to pull down artifacts from that site and is unable to...Dave.

                 

                 

                • 5. Re: Problem Running FUSE ESB 3.4 Example 'wsdl-first'
                  Stan Lewis Novice

                  It should be okay as the pom.xml configures two other repository locations that maven should be checking, for example maven should be looking here for that URL you gave:

                   

                  http://repo.fusesource.com/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/

                   

                  Can you try the following from within the cxf-wsdl-first directory and see if this makes any difference:

                   

                  mv ~/.m2 ~/m2_bak

                  mvn install

                  • 6. Re: Problem Running FUSE ESB 3.4 Example 'wsdl-first'
                    David Bennett Newbie

                    Unsuccessful, I'm afraid.  Complete output shown further below.  In my home directory I now have both .m2 and m2_bak directories.

                     

                    drwxr-sr-x  2 wasusere wasgrpe 1024 2009-02-24 12:15 .m2

                    drwxr-sr-x  2 wasusere wasgrpe 1024 2009-02-23 16:20 m2_bak

                     

                    /opt/iona/fuse-esb-3.4.0.1/examples/cxf-wsdl-first>mvn install

                    Scanning for projects...

                    Downloading: http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

                    Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

                    -


                    FATAL ERROR

                    -


                    Failed to resolve artifact.

                     

                    GroupId: org.apache.servicemix

                    ArtifactId: samples

                    Version: 3.4.0.1-fuse

                     

                    Reason: Unable to download the artifact from any repository

                     

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

                     

                    from the specified remote repositories:

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

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

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

                     

                     

                     

                    -


                    Trace

                    org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.apache.servicemix:samples for project: org.apache.servicemix.samples:cxf-wsdl-first:pom:null for project org.apache.servicemix.samples:cxf-wsdl-first:pom:null

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

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

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

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

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

                            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

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

                            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-wsdl-first:pom:null for project org.apache.servicemix.samples:cxf-wsdl-first:pom:null

                            at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1369)

                            at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:820)

                            at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:505)

                            at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)

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

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

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

                            ... 11 more

                    Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.servicemix:samples' not found in repository: Unable to download the artifact from any repository

                     

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

                     

                    from the specified remote repositories:

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

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

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

                     

                    for project org.apache.servicemix:samples

                            at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:602)

                            at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1365)

                            ... 17 more

                    Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

                     

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

                     

                    from the specified remote repositories:

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

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

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

                     

                     

                            at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)

                            at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)

                            at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:555)

                            ... 18 more

                    Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository

                            at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:332)

                            at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)

                            ... 20 more

                    -


                    Total time: < 1 second

                    Finished at: Tue Feb 24 12:15:53 EST 2009

                    Final Memory: 1M/252M

                    -


                     

                    • 7. Re: Problem Running FUSE ESB 3.4 Example 'wsdl-first'
                      Stan Lewis Novice

                      Interesting, are you perhaps behind a web proxy?  From the look of it maven tries to connect to our repository and then tries to look in the central repository, which fails.  It's going to fail either because repo1.maven.org doesn't have the more recent fuse releases, or it's simply failing to connect to that server.

                       

                      If you do need to use an http proxy you can configure maven to use one, just copy the settings.xml from your maven install's "conf" directory and uncomment the proxy stuff and modify it as appropriate for your environment.

                       

                      Another guy I've talked to ran into some problem with the theming that's in place in the repository and suggested one other thing to try is to add this to your /etc/hosts:

                       

                      173.45.235.254 open.iona.com

                      70.85.176.98 repo.open.iona.com

                       

                      in the off chance "open.iona.com" isn't in DNS anymore.

                       

                      If it's still not working can you run "mvn -X install", capture the output and attach it to a post?

                      • 8. Re: Problem Running FUSE ESB 3.4 Example 'wsdl-first'
                        David Bennett Newbie

                        I don't believe the web proxy is an issue in our environment, but /etc/hosts was modified per your suggestion and I'm still experiencing the same problem, unfortunately.  See 'mvn -X install' output below.  Could all this just be a simple case of non-existent version resources in both http://repo.open.iona.com/maven2 or http://repo1.maven.org/maven2?  In other words, sample program #1 simply does not work with FUSE ESB 3.4?

                         

                        /opt/iona/fuse-esb-3.4.0.1/examples/cxf-wsdl-first>mvn -X install

                        + Error stacktraces are turned on.

                        Maven version: 2.0.10

                        Java version: 1.5.0_16

                        OS name: "linux" version: "2.6.16.60-0.34-smp" arch: "i386" Family: "unix"

                        Building Maven user-level plugin registry from: '/home/wasusere/.m2/plugin-registry.xml'

                        Building Maven global-level plugin registry from: '/usr/local/apache-maven-2.0.10/conf/plugin-registry.xml'

                        Scanning for projects...

                        Searching for parent-POM: org.apache.servicemix:samples:pom:3.4.0.1-fuse of project: org.apache.servicemix.samples:cxf-wsdl-first:pom:null in relative path: ../pom.xml

                        Parent-POM: org.apache.servicemix:samples:pom:3.4.0.1-fuse not found in relative path: ../pom.xml

                        Retrieving parent-POM: org.apache.servicemix:samples:pom:3.4.0.1-fuse for project: org.apache.servicemix.samples:cxf-wsdl-first:pom:null from the repository.

                        Trying repository open.iona.m2

                        Downloading: http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

                        Unable to get resource 'org.apache.servicemix:samples:pom:3.4.0.1-fuse' from repository open.iona.m2 (http://repo.open.iona.com/maven2): Error transferring file

                        Skipping disabled repository open.iona.m2-snapshot

                        Trying repository central

                        Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

                        Unable to get resource 'org.apache.servicemix:samples:pom:3.4.0.1-fuse' from repository central (http://repo1.maven.org/maven2): Error transferring file

                        -


                        FATAL ERROR

                        -


                        Failed to resolve artifact.

                         

                        GroupId: org.apache.servicemix

                        ArtifactId: samples

                        Version: 3.4.0.1-fuse

                         

                        Reason: Unable to download the artifact from any repository

                         

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

                         

                        from the specified remote repositories:

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

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

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

                         

                         

                         

                        -


                        Trace

                        org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.apache.servicemix:samples for project: org.apache.servicemix.samples:cxf-wsdl-first:pom:null for project org.apache.servicemix.samples:cxf-wsdl-first:pom:null

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

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

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

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

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

                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

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

                                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-wsdl-first:pom:null for project org.apache.servicemix.samples:cxf-wsdl-first:pom:null

                                at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1369)

                                at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:820)

                                at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:505)

                                at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)

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

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

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

                                ... 11 more

                        Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.servicemix:samples' not found in repository: Unable to download the artifact from any repository

                         

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

                         

                        from the specified remote repositories:

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

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

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

                         

                        for project org.apache.servicemix:samples

                                at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:602)

                                at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1365)

                                ... 17 more

                        Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

                         

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

                         

                        from the specified remote repositories:

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

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

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

                         

                         

                                at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)

                                at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)

                                at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:555)

                                ... 18 more

                        Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository

                                at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:332)

                                at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)

                                ... 20 more

                        -


                        Total time: < 1 second

                        Finished at: Wed Feb 25 11:12:23 EST 2009

                        Final Memory: 1M/252M

                        -


                         

                        • 9. Re: Problem Running FUSE ESB 3.4 Example 'wsdl-first'
                          Stan Lewis Novice

                          Nope, it should work as I've verified it myself a couple times.  If I do:

                           

                          wget http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

                           

                          I get the correct file that maven would normally be downloading, so there's nothing wrong with the repository.  I've attached it here, going by the maven output if you put it in the "examples" directory maven will use it and it might get your build going a bit further.

                           

                          How did you install this instance of 3.4, did you use the .bin file from fusesource, did you build the source or did you get it from here:

                           

                          http://repo.open.iona.com/maven2/org/apache/servicemix/apache-servicemix/3.4.0.1-fuse/apache-servicemix-3.4.0.1-fuse.tar.gz

                           

                          I've been using this for testing as you can then just untar it wherever you need it rather than using an installer, maybe you should try it out as well and see if you get the same behavior.

                          • 10. Re: Problem Running FUSE ESB 3.4 Example 'wsdl-first'
                            David Bennett Newbie

                            I suppose your attachment got me a little further, but I'm not sure.  Shown below is the build output.  I'm checking with our system admin to see how he installed servicemix -- I'm guessing that he did the easiest available installation, though.  Would that be the .bin approach?  In short, I don't know what else to try.  If you can think of anything we missed, please let me know...Dave.

                             

                            /opt/iona/fuse-esb-3.4.0.1/examples/cxf-wsdl-first>mvn -X install

                            + Error stacktraces are turned on.

                            Maven version: 2.0.10

                            Java version: 1.5.0_16

                            OS name: "linux" version: "2.6.16.60-0.34-smp" arch: "i386" Family: "unix"

                            Building Maven user-level plugin registry from: '/home/wasusere/.m2/plugin-registry.xml'

                            Building Maven global-level plugin registry from: '/usr/local/apache-maven-2.0.10/conf/plugin-registry.xml'

                            Scanning for projects...

                            Searching for parent-POM: org.apache.servicemix:servicemix:pom:3.4.0.1-fuse of project: org.apache.servicemix:samples:pom:null in relative path: ../pom.xml

                            Parent-POM: org.apache.servicemix:servicemix:pom:3.4.0.1-fuse not found in relative path: ../pom.xml

                            Retrieving parent-POM: org.apache.servicemix:servicemix:pom:3.4.0.1-fuse for project: org.apache.servicemix:samples:pom:null from the repository.

                            Trying repository central

                            Downloading: http://repo1.maven.org/maven2/org/apache/servicemix/servicemix/3.4.0.1-fuse/servicemix-3.4.0.1-fuse.pom

                            Unable to get resource 'org.apache.servicemix:servicemix:pom:3.4.0.1-fuse' from repository central (http://repo1.maven.org/maven2): Error transferring file

                            -


                            FATAL ERROR

                            -


                            Failed to resolve artifact.

                             

                            GroupId: org.apache.servicemix

                            ArtifactId: servicemix

                            Version: 3.4.0.1-fuse

                             

                            Reason: Unable to download the artifact from any repository

                             

                              org.apache.servicemix:servicemix:pom:3.4.0.1-fuse

                             

                            from the specified remote repositories:

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

                             

                             

                             

                            -


                            Trace

                            org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.apache.servicemix:servicemix for project: org.apache.servicemix:samples:pom:null for project org.apache.servicemix:samples:pom:null

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

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

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

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

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

                                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

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

                                    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:servicemix for project: org.apache.servicemix:samples:pom:null for project org.apache.servicemix:samples:pom:null

                                    at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1369)

                                    at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:820)

                                    at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:505)

                                    at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)

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

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

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

                                    ... 11 more

                            Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.servicemix:servicemix' not found in repository: Unable to download the artifact from any repository

                             

                              org.apache.servicemix:servicemix:pom:3.4.0.1-fuse

                             

                            from the specified remote repositories:

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

                             

                            for project org.apache.servicemix:servicemix

                                    at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:602)

                                    at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1365)

                                    ... 17 more

                            Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository

                             

                              org.apache.servicemix:servicemix:pom:3.4.0.1-fuse

                             

                            from the specified remote repositories:

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

                             

                             

                                    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212)

                                    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)

                                    at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:555)

                                    ... 18 more

                            Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository

                                    at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:332)

                                    at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)

                                    ... 20 more

                            -


                            Total time: < 1 second

                            Finished at: Wed Feb 25 12:37:11 EST 2009

                            Final Memory: 1M/252M

                            -


                             

                            • 11. Re: Problem Running FUSE ESB 3.4 Example 'wsdl-first'
                              Stan Lewis Novice

                              Well, what happens if you run this:

                               

                              wget http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

                               

                              From the shell where you're trying build this example using the same user account?

                              • 12. Re: Problem Running FUSE ESB 3.4 Example 'wsdl-first'
                                David Bennett Newbie

                                UPDATE: We got it working!  On an much earlier post you made reference to the "wget" utility, which made sense for me to try on my end.  Shown below were the results.  Webwasher was the culprit!  Our comm admin made a quick change to allow web access from the FUSE machine IP address and bingo...no more build problem! Thank you slewis, for all of your effort on my behalf.  You were a great help...Dave.

                                 

                                /opt/iona/fuse-esb-3.4.0.1/examples/cxf-wsdl-first>wget http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

                                14:06:49  http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

                                           => `samples-3.4.0.1-fuse.pom'

                                Resolving repo.open.iona.com... 70.85.176.98

                                Connecting to repo.open.iona.com|70.85.176.98|:80... connected.

                                HTTP request sent, awaiting response... 302 Moved Temporarily

                                Location: http://webwasher1:9094/transauth?wwid=1235588809&url=http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

                                14:06:49  http://webwasher1:9094/transauth?wwid=1235588809&url=http://repo.open.iona.com/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

                                           => `transauth?wwid=1235588809&url=http:%2F%2Frepo.open.iona.com%2Fmaven2%2Forg%2Fapache%2Fservicemix%2Fsamples%2F3.4.0.1-fuse%2Fsamples-3.4.0.1-fuse.pom'

                                Resolving webwasher1... 172.21.101.12

                                Connecting to webwasher1|172.21.101.12|:9094... connected.

                                HTTP request sent, awaiting response... 401 Unauthorized

                                Authorization failed.

                                 

                                /opt/iona/fuse-esb-3.4.0.1/examples/cxf-wsdl-first>wget http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

                                14:11:35  http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

                                           => `samples-3.4.0.1-fuse.pom'

                                Resolving repo1.maven.org... 38.97.124.18

                                Connecting to repo1.maven.org|38.97.124.18|:80... connected.

                                HTTP request sent, awaiting response... 302 Moved Temporarily

                                Location: http://webwasher1:9094/transauth?wwid=1235589096&url=http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

                                14:11:36  http://webwasher1:9094/transauth?wwid=1235589096&url=http://repo1.maven.org/maven2/org/apache/servicemix/samples/3.4.0.1-fuse/samples-3.4.0.1-fuse.pom

                                           => `transauth?wwid=1235589096&url=http:%2F%2Frepo1.maven.org%2Fmaven2%2Forg%2Fapache%2Fservicemix%2Fsamples%2F3.4.0.1-fuse%2Fsamples-3.4.0.1-fuse.pom'

                                Resolving webwasher1... 172.21.101.12

                                Connecting to webwasher1|172.21.101.12|:9094... connected.

                                HTTP request sent, awaiting response... 401 Unauthorized

                                Authorization failed.

                                • 13. Re: Problem Running FUSE ESB 3.4 Example 'wsdl-first'
                                  Stan Lewis Novice

                                  Excellent, well glad it turned out to be something simple...