You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by raulvk <ra...@gmail.com> on 2008/04/08 11:47:19 UTC

Error when building ServiceMix from trunk

Hi,

I am getting the following error when building ServiceMix from trunk:

[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Geronimo :: Deployer service
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
C:\servicemixTrunk\servicemix-trunk\platforms\geronimo\deployer-service\target
[INFO] [xmlbeans:xmlbeans {execution: default}]
Time to build schema type system: 0.5 seconds
Time to generate code: 0.125 seconds
Time to compile code: 1.359 seconds
[INFO] [build:copy {execution: default}]
Downloading:
http://people.apache.org/repo/m2-ibiblio-rsync-repository/groovy/groovy-all/1.0/groovy-all-1.0.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo//groovy/groovy-all/1.0/groovy-all-1.0.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/groovy/groovy-all/1.0/groovy-all-1.0.pom
Downloading:
http://repository.codehaus.org/groovy/groovy-all/1.0/groovy-all-1.0.pom
Downloading:
http://repo1.maven.org/maven2/groovy/groovy-all/1.0/groovy-all-1.0.pom
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/groovy/groovy-all/1.0/groovy-all-1.0.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo//groovy/groovy-all/1.0/groovy-all-1.0.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/groovy/groovy-all/1.0/groovy-all-1.0.pom
Downloading:
http://repository.codehaus.org/groovy/groovy-all/1.0/groovy-all-1.0.pom
Downloading: http://download.java.net/maven/1/groovy/poms/groovy-all-1.0.pom
Downloading:
http://repo1.maven.org/maven2/groovy/groovy-all/1.0/groovy-all-1.0.pom
[INFO] [groovy:execute {execution: default}]
    [mkdir] Created dir:
C:\servicemixTrunk\servicemix-trunk\platforms\geronimo\deployer-service\target\clover\classes
     [copy] Copying 11 files to
C:\servicemixTrunk\servicemix-trunk\platforms\geronimo\deployer-service\target\clover\classes
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 2 source files to
C:\servicemixTrunk\servicemix-trunk\platforms\geronimo\deployer-service\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Not compiling test sources
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [jar:jar]
[INFO] Building jar:
C:\servicemixTrunk\servicemix-trunk\platforms\geronimo\deployer-service\target\deployer-service-3.3-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing
C:\servicemixTrunk\servicemix-trunk\platforms\geronimo\deployer-service\target\deployer-service-3.3-SNAPSHOT.jar
to C:\Documents an
 Settings\A127446\.m2\repository\org\apache\servicemix\geronimo\deployer-service\3.3-SNAPSHOT\deployer-service-3.3-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Geronimo :: ServiceMix plugin
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
C:\servicemixTrunk\servicemix-trunk\platforms\geronimo\servicemix\target
[INFO] [build:copy {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:prepare-plan]
[INFO] Generated:
C:\servicemixTrunk\servicemix-trunk\platforms\geronimo\servicemix\target\plan\plan.xml
log4j:WARN No appenders could be found for logger
(org.codehaus.mojo.pluginsupport.logging.Logging).
log4j:WARN Please initialize the log4j system properly.
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r
62247.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo//org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://download.java.net/maven/1/org.apache.axis2/poms/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/repository/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r56
247.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo//org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://download.java.net/maven/1/org.apache.axis2/poms/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
[INFO] [car:package]
[INFO] Packaging module configuration:
C:\servicemixTrunk\servicemix-trunk\platforms\geronimo\servicemix\target\plan\plan.xml
[INFO] Building jar:
C:\servicemixTrunk\servicemix-trunk\platforms\geronimo\servicemix\target\servicemix-3.3-SNAPSHOT.car
[INFO] [install:install]
[INFO] Installing
C:\servicemixTrunk\servicemix-trunk\platforms\geronimo\servicemix\target\servicemix-3.3-SNAPSHOT.car
to C:\Documents and Settings\A
27446\.m2\repository\org\apache\servicemix\geronimo\servicemix\3.3-SNAPSHOT\servicemix-3.3-SNAPSHOT.car
[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Geronimo :: Deployer plugin
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
C:\servicemixTrunk\servicemix-trunk\platforms\geronimo\deployer\target
[INFO] [build:copy {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:prepare-plan]
[INFO] Generated:
C:\servicemixTrunk\servicemix-trunk\platforms\geronimo\deployer\target\plan\plan.xml
[INFO] [car:package]
[INFO] Packaging module configuration:
C:\servicemixTrunk\servicemix-trunk\platforms\geronimo\deployer\target\plan\plan.xml
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] load of org.apache.geronimo.configs/geronimo-gbean-deployer/2.0.1/car
failed

Unable to resolve dependency org.apache.geronimo.configs/jee-specs//car
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: load of
org.apache.geronimo.configs/geronimo-gbean-deployer/2.0.1/car failed
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
        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(DelegatingMethodAccessorImpl.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.plugin.MojoExecutionException: load of
org.apache.geronimo.configs/geronimo-gbean-deployer/2.0.1/car failed
        at
org.codehaus.mojo.pluginsupport.MojoSupport.execute(MojoSupport.java:137)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        ... 16 more
Caused by: org.apache.geronimo.kernel.config.LifecycleException: load of
org.apache.geronimo.configs/geronimo-gbean-deployer/2.0.1/car failed
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:297)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:278)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:253)
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:111)
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastClassByCGLIB$$b117102f.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$446e5a6d.loadConfiguration(<generated>)
        at
org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:478)
        at
org.apache.geronimo.mavenplugins.car.PackageMojo.doExecute(PackageMojo.java:302)
        at
org.codehaus.mojo.pluginsupport.MojoSupport.execute(MojoSupport.java:122)
        ... 18 more
Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException:
Unable to resolve dependency org.apache.geronimo.configs/jee-specs//car
        at
org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:123)
        at
org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:102)
        at
org.apache.geronimo.kernel.repository.DefaultArtifactResolver$$FastClassByCGLIB$$e847b746.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at
org.apache.geronimo.kernel.repository.ArtifactResolver$$EnhancerByCGLIB$$e760396e.resolveInClassLoader(<generated>)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveParentIds(SimpleConfigurationManager.java:469)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDepthFirst(SimpleConfigurationManager.java:428)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDepthFirst(SimpleConfigurationManager.java:435)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:294)
        ... 33 more

It looks like it can't download groovy-all-1.0.pom nor
axis2-saaj-api-1.3-r562247.pom. Perhaps this is the cause of the error?

Can someone give me a hand please? I've strictly followed the instructions
on the Building ServiceMix page on the main site. The code is from a fresh
checkout.

Thanks,

Raul.

Re: Error when building ServiceMix from trunk

Posted by Lars Heinemann <la...@compart.net>.
I have the same problem sometimes. Just retry the build step and it will go away most of the time on the second try.

Lars




Bruce Snyder schrieb:
> On Tue, Apr 8, 2008 at 11:47 AM, raulvk <ra...@gmail.com> wrote:
>   
>> Hi,
>>
>>  I am getting the following error when building ServiceMix from trunk:
>>     
> ...
>   
>>  ------------------------------------------------------------------------
>>  [ERROR] BUILD ERROR
>>  [INFO]
>>  ------------------------------------------------------------------------
>>  [INFO] load of org.apache.geronimo.configs/geronimo-gbean-deployer/2.0.1/car
>>  failed
>>
>>  Unable to resolve dependency org.apache.geronimo.configs/jee-specs//car
>>  [INFO]
>>  ------------------------------------------------------------------------
>>  [INFO] Trace
>>  org.apache.maven.lifecycle.LifecycleExecutionException: load of
>>  org.apache.geronimo.configs/geronimo-gbean-deployer/2.0.1/car failed
>>     
>
> It's got nothing to do with the groovy dependencies; it's all about
> the Geronimo car failure. This is known issue that has something to do
> with the noted Geronimo car. We have attempted to fix this a couple
> times and thought we had it licked but it keeps rearing its head
> intermittently.
>
> Bruce
>   

Re: Error when building ServiceMix from trunk

Posted by Bruce Snyder <br...@gmail.com>.
On Tue, Apr 8, 2008 at 11:47 AM, raulvk <ra...@gmail.com> wrote:
> Hi,
>
>  I am getting the following error when building ServiceMix from trunk:
...
>  ------------------------------------------------------------------------
>  [ERROR] BUILD ERROR
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] load of org.apache.geronimo.configs/geronimo-gbean-deployer/2.0.1/car
>  failed
>
>  Unable to resolve dependency org.apache.geronimo.configs/jee-specs//car
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] Trace
>  org.apache.maven.lifecycle.LifecycleExecutionException: load of
>  org.apache.geronimo.configs/geronimo-gbean-deployer/2.0.1/car failed

It's got nothing to do with the groovy dependencies; it's all about
the Geronimo car failure. This is known issue that has something to do
with the noted Geronimo car. We have attempted to fix this a couple
times and thought we had it licked but it keeps rearing its head
intermittently.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/