geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chi runhua <chirun...@gmail.com>
Subject Re: fail to build openejb plugin on G trunk
Date Mon, 01 Nov 2010 06:41:50 GMT
The problem was resolved after I upgraded my JDK version from Sun JDK
1.6.0.18 to 1.6.0.21.

Thanks Shawn for the help.

Jeff



On Fri, Oct 29, 2010 at 9:17 AM, chi runhua <chirunhua@gmail.com> wrote:

> Hi, I encountered the following exception when trying to build the latest
> Geronimo server(Revision: 1028561). It's an exception thrown out by the
> setAttribute() method in
> org.apache.geronimo.deployment.service.SingleGBeanBuilder. I tried to
> specify the <version>${openejbVersion}</version> in the pom.xml but it
> didn't work.
>
> [ERROR] Failed to execute goal
> org.apache.geronimo.buildsupport:car-maven-plugin:3.0-SNAPSHOT:package
> (default-package) on project openejb: could not package plugin: Unknown
> attribute accessTimeout on
> org.apache.geronimo.configs/openejb/3.0-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/openejb/3.0-SNAPSHOT/car,j2eeType=GBean,name=DefaultStatelessContainer
> -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.geronimo.buildsupport:car-maven-plugin:3.0-SNAPSHOT:package
> (default-package) on project openejb: could not package plugin
>     at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
>     at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
>     at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>     at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>     at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
>     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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoExecutionException: could not
> package plugin
>     at
> org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:246)
>     at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
>     at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
>     ... 19 more
> Caused by: org.apache.geronimo.common.DeploymentException: Unknown
> attribute accessTimeout on
> org.apache.geronimo.configs/openejb/3.0-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/openejb/3.0-SNAPSHOT/car,j2eeType=GBean,name=DefaultStatelessContainer
>     at
> org.apache.geronimo.deployment.service.SingleGBeanBuilder.setAttribute(SingleGBeanBuilder.java:74)
>     at
> org.apache.geronimo.deployment.service.GBeanBuilder.addGBeanData(GBeanBuilder.java:123)
>     at
> org.apache.geronimo.deployment.service.GBeanBuilder.build(GBeanBuilder.java:108)
>     at
> org.apache.geronimo.deployment.NamespaceDrivenBuilderCollection.build(NamespaceDrivenBuilderCollection.java:43)
>     at
> org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:252)
>     at
> org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:211)
>     at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:250)
>     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.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>     at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
>     at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:872)
>     at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
>     at
> org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:560)
>     at
> org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:376)
>     at
> org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:243)
>     ... 21 more
>
>
>
> Any suggestions?
>
> Thanks.
>
>
>

Mime
View raw message