You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by toby cabot <to...@caboteria.org> on 2006/11/17 21:05:57 UTC

build problems - GBeanInfo serialVersionUID

Hi Folks,

I'm having a problem building the trunk at the moment, and I hope
someone can help.  My build stops with 

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to create configuration for deployment

org.apache.geronimo.gbean.GBeanInfo; local class incompatible: stream classdesc serialVersionUID = 1053655034244747613, local class serialVersionUID = -6198804067155550221

The local copy of GBeanInfo.class that gets built in my workspace does
have the version ID of -6198804067155550221 so that's half of the
message - but where's the other half?  I notice that a little further
up the log there are a few messages like:

Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/configs/system-database/1.2-SNAPSHOT/system-database-1.2-20061110.111011-4.car

I also notice that around that time there was a change to GBeanInfo
that affected the version ID.  I don't understand why Maven downloads
system-database-1.2-20061110.111011-4.car when I've got a
system-database-1.2-SNAPSHOT.car in configs/system-database/target.
Shouldn't it use the one that's built in the local tree?

If someone could upload a newer car file to people.apache.org that has
the -6198804067155550221 version of GBeanInfo I'd owe them a beer.
Also, if someone's got a Maven flag or config hack that can tell Maven
to prefer local car that would be great, too.

Thanks,
Toby


PS.  More data:

[INFO] ----------------------------------------------------------------------------
[INFO] Building Geronimo Configs :: ActiveMQ Broker
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] [tools:require-java-version {execution: validate-java-version}]
[INFO] [tools:copy-legal-files {execution: install-legal-files}]
[INFO] Created dir: /eng/home/tcabot/try/geronimo-head/configs/activemq-broker/target/classes/META-INF
[INFO] Copying 2 files to /eng/home/tcabot/try/geronimo-head/configs/activemq-broker/target/classes/META-INF
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:prepare-plan]
[INFO] Generated: /eng/home/tcabot/try/geronimo-head/configs/activemq-broker/target/plan/plan.xml
[WARNING] POM for 'org.apache.geronimo.specs:geronimo-j2ee-management_1.0_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
[WARNING] POM for 'org.apache.geronimo.specs:geronimo-ejb_2.1_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
[WARNING] POM for 'org.apache.geronimo.specs:geronimo-ejb_2.1_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
[WARNING] POM for 'org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
[WARNING] POM for 'org.apache.geronimo.specs:geronimo-ejb_2.1_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
[WARNING] POM for 'org.apache.geronimo.specs:geronimo-j2ee-jacc_1.0_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
[WARNING] POM for 'org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
[WARNING] POM for 'org.apache.geronimo.specs:geronimo-ejb_2.1_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
[WARNING] POM for 'org.apache.geronimo.specs:geronimo-j2ee-management_1.0_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
[WARNING] POM for 'org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
[INFO] [car:package]
[INFO] Packaging module configuration: /eng/home/tcabot/try/geronimo-head/configs/activemq-broker/target/plan/plan.xml
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-gbean:1.2-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-gbean:1.2-SNAPSHOT: checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-gbean:1.2-SNAPSHOT: checking for updates from apache.snapshots
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/modules/geronimo-activemq-gbean/1.2-SNAPSHOT/geronimo-activemq-gbean-1.2-20061110.111011-8.jar
18K downloaded
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-gbean-management:1.2-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-gbean-management:1.2-SNAPSHOT: checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-gbean-management:1.2-SNAPSHOT: checking for updates from apache.snapshots
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/modules/geronimo-activemq-gbean-management/1.2-SNAPSHOT/geronimo-activemq-gbean-management-1.2-20061110.111011-8.jar
7K downloaded
[INFO] snapshot org.apache.geronimo.configs:system-database:1.2-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.geronimo.configs:system-database:1.2-SNAPSHOT: checking for updates from codehaus-snapshots
[INFO] snapshot org.apache.geronimo.configs:system-database:1.2-SNAPSHOT: checking for updates from apache.snapshots
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/configs/system-database/1.2-SNAPSHOT/system-database-1.2-20061110.111011-4.car
85K downloaded
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to create configuration for deployment

org.apache.geronimo.gbean.GBeanInfo; local class incompatible: stream classdesc serialVersionUID = 1053655034244747613, local class serialVersionUID = -6198804067155550221
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to create configuration for deployment
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        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.MojoExecutionException: Unable to create configuration for deployment
        at org.apache.geronimo.genesis.MojoSupport.execute(MojoSupport.java:137)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        ... 16 more
Caused by: org.apache.geronimo.common.DeploymentException: Unable to create configuration for deployment
        at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:121)
        at org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:101)
        at org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:81)
        at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:205)
        at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:177)
        at org.apache.geronimo.deployment.service.ServiceConfigBuilder$$FastClassByCGLIB$$9f173be6.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:122)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:820)
        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.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$6f9cd18c.buildConfiguration(<generated>)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:302)
        at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.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:122)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:855)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
        at org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:621)
        at org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:444)
        at org.apache.geronimo.mavenplugins.car.PackageMojo.doExecute(PackageMojo.java:276)
        at org.apache.geronimo.genesis.MojoSupport.execute(MojoSupport.java:122)
        ... 18 more
Caused by: org.apache.geronimo.kernel.config.LifecycleException: load of org.apache.geronimo.configs/activemq-broker/1.2-SNAPSHOT/car failed
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:322)
        at org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:115)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:281)
        at org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:111)
        at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:118)
        ... 42 more
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean org.apache.geronimo.configs/system-database/1.2-SNAPSHOT/car
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.load(SimpleConfigurationManager.java:347)
        at org.apache.geronimo.deployment.DeploymentConfigurationManager.load(DeploymentConfigurationManager.java:119)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:307)
        ... 46 more
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unable to deserialize GBeanState
        at org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(SerializedGBeanState.java:120)
        at org.apache.geronimo.kernel.config.SerializedGBeanState.getGBeans(SerializedGBeanState.java:65)
        at org.apache.geronimo.kernel.config.ConfigurationData.getGBeans(ConfigurationData.java:171)
        at org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:277)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.load(SimpleConfigurationManager.java:343)
        ... 48 more
Caused by: java.io.InvalidClassException: org.apache.geronimo.gbean.GBeanInfo; local class incompatible: stream classdesc serialVersionUID = 1053655034244747613, local class serialVersionUID = -6198804067155550221
        at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
        at org.apache.geronimo.gbean.GBeanData$V1Externalizable.readGBeanInfo(GBeanData.java:352)
        at org.apache.geronimo.gbean.GBeanData$V0Externalizable.readExternal(GBeanData.java:281)
        at org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:252)
        at org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(SerializedGBeanState.java:111)
        ... 52 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13 minutes 53 seconds
[INFO] Finished at: Fri Nov 17 14:16:06 EST 2006
[INFO] Final Memory: 67M/123M
[INFO] ------------------------------------------------------------------------



Re: build problems - GBeanInfo serialVersionUID

Posted by Paul McMahan <pa...@gmail.com>.
The geronimo plugin snapshots on people.apache.org also aren't working
for this reason.  Would it be possible to refresh the snapshot repo at
people.apache.org? That will help us test the plugin system in the 1.2
release candidates when they start to become available.

Best wishes,
Paul

On 11/17/06, toby cabot <to...@caboteria.org> wrote:
> Hi Folks,
>
> I'm having a problem building the trunk at the moment, and I hope
> someone can help.  My build stops with
>
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Unable to create configuration for deployment
>
> org.apache.geronimo.gbean.GBeanInfo; local class incompatible: stream classdesc serialVersionUID = 1053655034244747613, local class serialVersionUID = -6198804067155550221
>
> The local copy of GBeanInfo.class that gets built in my workspace does
> have the version ID of -6198804067155550221 so that's half of the
> message - but where's the other half?  I notice that a little further
> up the log there are a few messages like:
>
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/configs/system-database/1.2-SNAPSHOT/system-database-1.2-20061110.111011-4.car
>
> I also notice that around that time there was a change to GBeanInfo
> that affected the version ID.  I don't understand why Maven downloads
> system-database-1.2-20061110.111011-4.car when I've got a
> system-database-1.2-SNAPSHOT.car in configs/system-database/target.
> Shouldn't it use the one that's built in the local tree?
>
> If someone could upload a newer car file to people.apache.org that has
> the -6198804067155550221 version of GBeanInfo I'd owe them a beer.
> Also, if someone's got a Maven flag or config hack that can tell Maven
> to prefer local car that would be great, too.
>
> Thanks,
> Toby
>
>
> PS.  More data:
>
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Geronimo Configs :: ActiveMQ Broker
> [INFO]    task-segment: [install]
> [INFO] ----------------------------------------------------------------------------
> [INFO] [tools:require-java-version {execution: validate-java-version}]
> [INFO] [tools:copy-legal-files {execution: install-legal-files}]
> [INFO] Created dir: /eng/home/tcabot/try/geronimo-head/configs/activemq-broker/target/classes/META-INF
> [INFO] Copying 2 files to /eng/home/tcabot/try/geronimo-head/configs/activemq-broker/target/classes/META-INF
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [car:prepare-plan]
> [INFO] Generated: /eng/home/tcabot/try/geronimo-head/configs/activemq-broker/target/plan/plan.xml
> [WARNING] POM for 'org.apache.geronimo.specs:geronimo-j2ee-management_1.0_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
> [WARNING] POM for 'org.apache.geronimo.specs:geronimo-ejb_2.1_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
> [WARNING] POM for 'org.apache.geronimo.specs:geronimo-ejb_2.1_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
> [WARNING] POM for 'org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
> [WARNING] POM for 'org.apache.geronimo.specs:geronimo-ejb_2.1_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
> [WARNING] POM for 'org.apache.geronimo.specs:geronimo-j2ee-jacc_1.0_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
> [WARNING] POM for 'org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
> [WARNING] POM for 'org.apache.geronimo.specs:geronimo-ejb_2.1_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
> [WARNING] POM for 'org.apache.geronimo.specs:geronimo-j2ee-management_1.0_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
> [WARNING] POM for 'org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:pom:1.0.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM
> [INFO] [car:package]
> [INFO] Packaging module configuration: /eng/home/tcabot/try/geronimo-head/configs/activemq-broker/target/plan/plan.xml
> [INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-gbean:1.2-SNAPSHOT: checking for updates from apache-snapshots
> [INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-gbean:1.2-SNAPSHOT: checking for updates from codehaus-snapshots
> [INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-gbean:1.2-SNAPSHOT: checking for updates from apache.snapshots
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/modules/geronimo-activemq-gbean/1.2-SNAPSHOT/geronimo-activemq-gbean-1.2-20061110.111011-8.jar
> 18K downloaded
> [INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-gbean-management:1.2-SNAPSHOT: checking for updates from apache-snapshots
> [INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-gbean-management:1.2-SNAPSHOT: checking for updates from codehaus-snapshots
> [INFO] snapshot org.apache.geronimo.modules:geronimo-activemq-gbean-management:1.2-SNAPSHOT: checking for updates from apache.snapshots
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/modules/geronimo-activemq-gbean-management/1.2-SNAPSHOT/geronimo-activemq-gbean-management-1.2-20061110.111011-8.jar
> 7K downloaded
> [INFO] snapshot org.apache.geronimo.configs:system-database:1.2-SNAPSHOT: checking for updates from apache-snapshots
> [INFO] snapshot org.apache.geronimo.configs:system-database:1.2-SNAPSHOT: checking for updates from codehaus-snapshots
> [INFO] snapshot org.apache.geronimo.configs:system-database:1.2-SNAPSHOT: checking for updates from apache.snapshots
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/configs/system-database/1.2-SNAPSHOT/system-database-1.2-20061110.111011-4.car
> 85K downloaded
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Unable to create configuration for deployment
>
> org.apache.geronimo.gbean.GBeanInfo; local class incompatible: stream classdesc serialVersionUID = 1053655034244747613, local class serialVersionUID = -6198804067155550221
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Unable to create configuration for deployment
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         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.MojoExecutionException: Unable to create configuration for deployment
>         at org.apache.geronimo.genesis.MojoSupport.execute(MojoSupport.java:137)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
>         ... 16 more
> Caused by: org.apache.geronimo.common.DeploymentException: Unable to create configuration for deployment
>         at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:121)
>         at org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:101)
>         at org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:81)
>         at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:205)
>         at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:177)
>         at org.apache.geronimo.deployment.service.ServiceConfigBuilder$$FastClassByCGLIB$$9f173be6.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:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:820)
>         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.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$6f9cd18c.buildConfiguration(<generated>)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:302)
>         at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.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:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:855)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>         at org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:621)
>         at org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:444)
>         at org.apache.geronimo.mavenplugins.car.PackageMojo.doExecute(PackageMojo.java:276)
>         at org.apache.geronimo.genesis.MojoSupport.execute(MojoSupport.java:122)
>         ... 18 more
> Caused by: org.apache.geronimo.kernel.config.LifecycleException: load of org.apache.geronimo.configs/activemq-broker/1.2-SNAPSHOT/car failed
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:322)
>         at org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:115)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:281)
>         at org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:111)
>         at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:118)
>         ... 42 more
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean org.apache.geronimo.configs/system-database/1.2-SNAPSHOT/car
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.load(SimpleConfigurationManager.java:347)
>         at org.apache.geronimo.deployment.DeploymentConfigurationManager.load(DeploymentConfigurationManager.java:119)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:307)
>         ... 46 more
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unable to deserialize GBeanState
>         at org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(SerializedGBeanState.java:120)
>         at org.apache.geronimo.kernel.config.SerializedGBeanState.getGBeans(SerializedGBeanState.java:65)
>         at org.apache.geronimo.kernel.config.ConfigurationData.getGBeans(ConfigurationData.java:171)
>         at org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:277)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.load(SimpleConfigurationManager.java:343)
>         ... 48 more
> Caused by: java.io.InvalidClassException: org.apache.geronimo.gbean.GBeanInfo; local class incompatible: stream classdesc serialVersionUID = 1053655034244747613, local class serialVersionUID = -6198804067155550221
>         at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)
>         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
>         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
>         at org.apache.geronimo.gbean.GBeanData$V1Externalizable.readGBeanInfo(GBeanData.java:352)
>         at org.apache.geronimo.gbean.GBeanData$V0Externalizable.readExternal(GBeanData.java:281)
>         at org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:252)
>         at org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(SerializedGBeanState.java:111)
>         ... 52 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 13 minutes 53 seconds
> [INFO] Finished at: Fri Nov 17 14:16:06 EST 2006
> [INFO] Final Memory: 67M/123M
> [INFO] ------------------------------------------------------------------------
>
>
>

Re: build problems - GBeanInfo serialVersionUID

Posted by Vamsavardhana Reddy <c1...@gmail.com>.
I didn't have to use any work arounds recently to build trunk.  All I do if
something stops is "mvn -U".  I am able to do clean builds on and off line
without any problem.

--vamsi

On 11/18/06, anita kulshreshtha <a_...@yahoo.com> wrote:
>
> --- toby cabot <to...@caboteria.org> wrote:
> >I don't understand why Maven downloads
> > system-database-1.2-20061110.111011-4.car when I've got a
> > system-database-1.2-SNAPSHOT.car in configs/system-database/target.
> > Shouldn't it use the one that's built in the local tree?
>
>     Deleting configs directory in .m2 repo and building offline should
> cure this.
>
> Thanks
> Anita
>
>
>
>
>
> ____________________________________________________________________________________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail beta.
> http://new.mail.yahoo.com
>

Re: build problems - GBeanInfo serialVersionUID

Posted by toby cabot <to...@caboteria.org>.
On Fri, Nov 17, 2006 at 01:22:55PM -0800, Jason Dillon wrote:
> The error is most likely due to a transient network failure or  
> corrupt local metadata... hard to tell which it is based on Maven's  
> default output.  Might get some hints by running with -X (or might not).

I tried watching the network traffic with ethereal and my network
looks good so I went on a mission to blow away as much maven metadata
as I could find, updated to the latest svn (I was a day old) and tried
again and now things look better, at least I'm getting past where I
was stopping before.  It looks as if "corrupt local metadata" is the
answer.  Thanks for your help.

Re: build problems - GBeanInfo serialVersionUID

Posted by Jason Dillon <ja...@planet57.com>.
Maven should have resolved the timestamp-build version to 1.1- 
SNAPSHOT via maven-metadata.xml, which currently points to  
20061110.090015-9

The error is most likely due to a transient network failure or  
corrupt local metadata... hard to tell which it is based on Maven's  
default output.  Might get some hints by running with -X (or might not).

--jason


On Nov 17, 2006, at 1:16 PM, toby cabot wrote:

> On Fri, Nov 17, 2006 at 12:21:37PM -0800, anita kulshreshtha wrote:
>>     Deleting configs directory in .m2 repo and building offline  
>> should
>> cure this.
>
> Anita,
>
> Thanks for the tip.  Unfortunately when I try to build offline I get
>
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [ERROR] BUILD ERROR
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.yoko:yoko-spec-corba:jar:1.0-incubating-M2-SNAPSHOT
>
>
> So then I got fed up, did an "mvn clean", blew away ~/.m2/repository/*
> and tried a "mvn -U" which is supposed to get everything.  But now the
> build fails almost immediately with:
>
>
> [INFO] Scanning for projects...
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/geronimo/genesis/config/config/1.1-SNAPSHOT/config-1.1- 
> SNAPSHOT.pom
> [WARNING] Unable to get resource from repository apache-snapshots  
> (http://people.apache.org/repo/m2-snapshot-repository)
> Downloading: http://snapshots.repository.codehaus.org/org/apache/ 
> geronimo/genesis/config/config/1.1-SNAPSHOT/config-1.1-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository codehaus-snapshots  
> (http://snapshots.repository.codehaus.org)
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [ERROR] FATAL ERROR
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.geronimo.genesis.config
> ArtifactId: config
> Version: 1.1-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
>   org.apache.geronimo.genesis.config:config:pom:1.1-SNAPSHOT
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   codehaus (http://repository.codehaus.org),
>   apache-snapshots (http://people.apache.org/repo/m2-snapshot- 
> repository),
>   codehaus-snapshots (http://snapshots.repository.codehaus.org)
>
>
> ... and sure enough there is no such config-1.1-SNAPSHOT.pom file at
> those locations.  There are other config-1.1-*pom files with
> datestamps in the names but none with SNAPSHOT.  Sorry to take up your
> time with this, it's been a while since I've successfully built
> Geronimo and I'm looking forward to playing around with 1.2.
>
> Thanks,
> Toby


Re: build problems - GBeanInfo serialVersionUID

Posted by Vamsavardhana Reddy <c1...@gmail.com>.
Toby,

The build was very unstable and unreliable a month ago.  Now it has
stabilized and I have a successful build consistently.  Infact, I have a
successful build with the latest code (except for the recent revisions for
the headers).  I have not tried with an empty repo though (owing to low
download speeds at where I am).

--vamsi

On 11/18/06, toby cabot <to...@caboteria.org> wrote:
>
> On Fri, Nov 17, 2006 at 12:21:37PM -0800, anita kulshreshtha wrote:
> >     Deleting configs directory in .m2 repo and building offline should
> > cure this.
>
> Anita,
>
> Thanks for the tip.  Unfortunately when I try to build offline I get
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.yoko:yoko-spec-corba:jar:1.0-incubating-M2-SNAPSHOT
>
>
> So then I got fed up, did an "mvn clean", blew away ~/.m2/repository/*
> and tried a "mvn -U" which is supposed to get everything.  But now the
> build fails almost immediately with:
>
>
> [INFO] Scanning for projects...
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/genesis/config/config/1.1-SNAPSHOT/config-1.1-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository apache-snapshots (
> http://people.apache.org/repo/m2-snapshot-repository)
> Downloading:
> http://snapshots.repository.codehaus.org/org/apache/geronimo/genesis/config/config/1.1-SNAPSHOT/config-1.1-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository codehaus-snapshots (
> http://snapshots.repository.codehaus.org)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.geronimo.genesis.config
> ArtifactId: config
> Version: 1.1-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
>   org.apache.geronimo.genesis.config:config:pom:1.1-SNAPSHOT
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   codehaus (http://repository.codehaus.org),
>   apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   codehaus-snapshots (http://snapshots.repository.codehaus.org)
>
>
> ... and sure enough there is no such config-1.1-SNAPSHOT.pom file at
> those locations.  There are other config-1.1-*pom files with
> datestamps in the names but none with SNAPSHOT.  Sorry to take up your
> time with this, it's been a while since I've successfully built
> Geronimo and I'm looking forward to playing around with 1.2.
>
> Thanks,
> Toby
>

Re: build problems - GBeanInfo serialVersionUID

Posted by anita kulshreshtha <a_...@yahoo.com>.
Toby,
   By now you have probably have had a successful build. Here are some
more items from my build survival kit:
1. Never delete full .m2 repo. 
2. After an svn update always build offline. The build will fail saying
something is missing. Only build that module/config online. If any
geronimo jars/cars with numbered version got downloaded during this
step, delete modules/configs directory from .m2 repo. Rebuild
modules/configs offline. Keep your .m2 repo free of numbered version.
    If you need to download new version of external jars like tranql,
openejb be sure to delete the old directories from .m2 repo. This keeps
.m2 repo neat.
3. If there is a problem with genesis jars, check that out too, and
build it offline.
    I was offline and could not answer your mail earlier. 

Thanks
Anita

--- toby cabot <to...@caboteria.org> wrote:

> On Fri, Nov 17, 2006 at 12:21:37PM -0800, anita kulshreshtha wrote:
> >     Deleting configs directory in .m2 repo and building offline
> should
> > cure this.
> 
> Anita,
> 
> Thanks for the tip.  Unfortunately when I try to build offline I get 
> 
> [INFO]
>
------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.apache.yoko:yoko-spec-corba:jar:1.0-incubating-M2-SNAPSHOT
> 
> 
> So then I got fed up, did an "mvn clean", blew away
> ~/.m2/repository/*
> and tried a "mvn -U" which is supposed to get everything.  But now
> the
> build fails almost immediately with:
> 
> 
> [INFO] Scanning for projects...
> Downloading:
>
http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/genesis/config/config/1.1-SNAPSHOT/config-1.1-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository apache-snapshots
> (http://people.apache.org/repo/m2-snapshot-repository)
> Downloading:
>
http://snapshots.repository.codehaus.org/org/apache/geronimo/genesis/config/config/1.1-SNAPSHOT/config-1.1-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository codehaus-snapshots
> (http://snapshots.repository.codehaus.org)
> [INFO]
>
------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> GroupId: org.apache.geronimo.genesis.config
> ArtifactId: config
> Version: 1.1-SNAPSHOT
> 
> Reason: Unable to download the artifact from any repository
> 
>   org.apache.geronimo.genesis.config:config:pom:1.1-SNAPSHOT
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   codehaus (http://repository.codehaus.org),
>   apache-snapshots
> (http://people.apache.org/repo/m2-snapshot-repository),
>   codehaus-snapshots (http://snapshots.repository.codehaus.org)
> 
> 
> ... and sure enough there is no such config-1.1-SNAPSHOT.pom file at
> those locations.  There are other config-1.1-*pom files with
> datestamps in the names but none with SNAPSHOT.  Sorry to take up
> your
> time with this, it's been a while since I've successfully built
> Geronimo and I'm looking forward to playing around with 1.2.
> 
> Thanks,
> Toby
> 



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

Re: build problems - GBeanInfo serialVersionUID

Posted by toby cabot <to...@caboteria.org>.
On Fri, Nov 17, 2006 at 12:21:37PM -0800, anita kulshreshtha wrote:
>     Deleting configs directory in .m2 repo and building offline should
> cure this.

Anita,

Thanks for the tip.  Unfortunately when I try to build offline I get 

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.yoko:yoko-spec-corba:jar:1.0-incubating-M2-SNAPSHOT


So then I got fed up, did an "mvn clean", blew away ~/.m2/repository/*
and tried a "mvn -U" which is supposed to get everything.  But now the
build fails almost immediately with:


[INFO] Scanning for projects...
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/genesis/config/config/1.1-SNAPSHOT/config-1.1-SNAPSHOT.pom
[WARNING] Unable to get resource from repository apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository)
Downloading: http://snapshots.repository.codehaus.org/org/apache/geronimo/genesis/config/config/1.1-SNAPSHOT/config-1.1-SNAPSHOT.pom
[WARNING] Unable to get resource from repository codehaus-snapshots (http://snapshots.repository.codehaus.org)
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.geronimo.genesis.config
ArtifactId: config
Version: 1.1-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.apache.geronimo.genesis.config:config:pom:1.1-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus (http://repository.codehaus.org),
  apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  codehaus-snapshots (http://snapshots.repository.codehaus.org)


... and sure enough there is no such config-1.1-SNAPSHOT.pom file at
those locations.  There are other config-1.1-*pom files with
datestamps in the names but none with SNAPSHOT.  Sorry to take up your
time with this, it's been a while since I've successfully built
Geronimo and I'm looking forward to playing around with 1.2.

Thanks,
Toby

Re: build problems - GBeanInfo serialVersionUID

Posted by Jason Dillon <ja...@planet57.com>.
You should not need to build offline... if folks are still doing that  
to get around mvn issues... let me know with some details so I can  
fix that.

--jason


On Nov 17, 2006, at 12:31 PM, anita kulshreshtha wrote:

>   You need to delete modules directory and build them offline too.
>
> Thanks
> Anita
>
> --- anita kulshreshtha <a_...@yahoo.com> wrote:
>
>> --- toby cabot <to...@caboteria.org> wrote:
>>> I don't understand why Maven downloads
>>> system-database-1.2-20061110.111011-4.car when I've got a
>>> system-database-1.2-SNAPSHOT.car in configs/system-database/target.
>>> Shouldn't it use the one that's built in the local tree?
>>
>>     Deleting configs directory in .m2 repo and building offline
>> should
>> cure this.
>>
>> Thanks
>> Anita
>>
>>
>>
>>
>>
> ______________________________________________________________________ 
> ______________
>> Do you Yahoo!?
>> Everyone is raving about the all-new Yahoo! Mail beta.
>> http://new.mail.yahoo.com
>>
>
>
>
>
> ______________________________________________________________________ 
> ______________
> Sponsored Link
>
> $420k for $1,399/mo.
> Think You Pay Too Much For Your Mortgage?
> Find Out! www.LowerMyBills.com/lre


Re: build problems - GBeanInfo serialVersionUID

Posted by anita kulshreshtha <a_...@yahoo.com>.
  You need to delete modules directory and build them offline too.

Thanks
Anita

--- anita kulshreshtha <a_...@yahoo.com> wrote:

> --- toby cabot <to...@caboteria.org> wrote:
> >I don't understand why Maven downloads
> > system-database-1.2-20061110.111011-4.car when I've got a
> > system-database-1.2-SNAPSHOT.car in configs/system-database/target.
> > Shouldn't it use the one that's built in the local tree?
> 
>     Deleting configs directory in .m2 repo and building offline
> should
> cure this.
> 
> Thanks
> Anita
> 
> 
> 
>  
>
____________________________________________________________________________________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail beta.
> http://new.mail.yahoo.com
> 



 
____________________________________________________________________________________
Sponsored Link

$420k for $1,399/mo. 
Think You Pay Too Much For Your Mortgage? 
Find Out! www.LowerMyBills.com/lre

Re: build problems - GBeanInfo serialVersionUID

Posted by anita kulshreshtha <a_...@yahoo.com>.
--- toby cabot <to...@caboteria.org> wrote:
>I don't understand why Maven downloads
> system-database-1.2-20061110.111011-4.car when I've got a
> system-database-1.2-SNAPSHOT.car in configs/system-database/target.
> Shouldn't it use the one that's built in the local tree?

    Deleting configs directory in .m2 repo and building offline should
cure this.

Thanks
Anita



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com