geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul McMahan" <paulmcma...@gmail.com>
Subject Re: build problems - GBeanInfo serialVersionUID
Date Fri, 17 Nov 2006 20:34:40 GMT
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 <toby@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] ------------------------------------------------------------------------
>
>
>

Mime
View raw message