Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 81037 invoked from network); 17 Nov 2006 20:35:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Nov 2006 20:35:07 -0000 Received: (qmail 55943 invoked by uid 500); 17 Nov 2006 20:35:14 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 55909 invoked by uid 500); 17 Nov 2006 20:35:14 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 55898 invoked by uid 99); 17 Nov 2006 20:35:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Nov 2006 12:35:14 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of paulmcmahan@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Nov 2006 12:35:02 -0800 Received: by ug-out-1314.google.com with SMTP id m2so922871ugc for ; Fri, 17 Nov 2006 12:34:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XFFPoNpQTm135AnNb8OpeliIIn+08or3OH/2KtCbqY4AFC1CTCtdocA+UR0XPdJOX8M87Ppi+zrnI1JnrLl1NDhuiGN/LTnKJNXmyQvYEpmlADlqvYD6EmdbY9sRoHsk08Stnny7MwrgBNWYSp1SY9gHU5BCbCtWpvdn87bN0/Q= Received: by 10.66.242.5 with SMTP id p5mr2727960ugh.1163795680506; Fri, 17 Nov 2006 12:34:40 -0800 (PST) Received: by 10.66.249.9 with HTTP; Fri, 17 Nov 2006 12:34:40 -0800 (PST) Message-ID: <21df75940611171234o22e709a5t4e74901540b98835@mail.gmail.com> Date: Fri, 17 Nov 2006 15:34:40 -0500 From: "Paul McMahan" To: dev@geronimo.apache.org Subject: Re: build problems - GBeanInfo serialVersionUID In-Reply-To: <20061117200556.GA14050@caboteria.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061117200556.GA14050@caboteria.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 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.(DeploymentContext.java:101) > at org.apache.geronimo.deployment.DeploymentContext.(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() > 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() > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:302) > at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke() > 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.(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] ------------------------------------------------------------------------ > > >