geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Han Hong Fang (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-5435) Could not package plugin when build sample javaee5\bank
Date Wed, 07 Jul 2010 09:25:49 GMT
Could not package plugin when build sample javaee5\bank
-------------------------------------------------------

                 Key: GERONIMO-5435
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5435
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: car-maven-plugin
         Environment: winXP (english) + sun sdk 1.6.0._20
            Reporter: Han Hong Fang
             Fix For: 3.0-M1


If you try to build any EJB sample's geronimo plugin, you will get exception as below

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] could not package plugin

Embedded error: org.apache.openejb.OpenEJBException: Failed Configuring Service(id=DefaultStatelessContainer):
Unable to read OpenEJB service-jar file for provider org.apache.openejb at null: Could not
find resource 'META-INF/org.apache.openejb/service-jar.xml'
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: could not package plugin
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
	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: could not package plugin
	at org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:246)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	... 17 more
Caused by: org.apache.geronimo.common.DeploymentException: org.apache.openejb.OpenEJBException:
Failed Configuring Service(id=DefaultStatelessContainer): Unable to read OpenEJB service-jar
file for provider org.apache.openejb at null: Could not find resource 'META-INF/org.apache.openejb/service-jar.xml'
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbJarInfo(EjbModuleBuilder.java:601)
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:509)
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:630)
	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:856)
	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)
	... 19 more
Caused by: org.apache.openejb.OpenEJBException: Failed Configuring Service(id=DefaultStatelessContainer):
Unable to read OpenEJB service-jar file for provider org.apache.openejb at null: Could not
find resource 'META-INF/org.apache.openejb/service-jar.xml'
	at org.apache.openejb.config.ConfigurationFactory.configureService(ConfigurationFactory.java:814)
	at org.apache.openejb.config.ConfigurationFactory.configureService(ConfigurationFactory.java:897)
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addContainerInfos(EjbModuleBuilder.java:671)
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:649)
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbJarInfo(EjbModuleBuilder.java:586)
	... 33 more
Caused by: org.apache.openejb.OpenEJBException: Unable to read OpenEJB service-jar file for
provider org.apache.openejb at null: Could not find resource 'META-INF/org.apache.openejb/service-jar.xml'
	at org.apache.openejb.config.sys.JaxbOpenejb.readServicesJar(JaxbOpenejb.java:137)
	at org.apache.openejb.config.ServiceUtils.getServiceProviders(ServiceUtils.java:206)
	at org.apache.openejb.config.ServiceUtils.getServiceProvider(ServiceUtils.java:107)
	at org.apache.openejb.config.ConfigurationFactory.resolveServiceProvider(ConfigurationFactory.java:851)
	at org.apache.openejb.config.ConfigurationFactory.configureService(ConfigurationFactory.java:718)
	... 37 more
Caused by: java.io.IOException: Could not find resource 'META-INF/org.apache.openejb/service-jar.xml'
	at org.apache.xbean.finder.ResourceFinder.find(ResourceFinder.java:127)
	at org.apache.openejb.config.sys.JaxbOpenejb.readServicesJar(JaxbOpenejb.java:127)
	... 41 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31 seconds
[INFO] Finished at: Wed Jul 07 15:54:55 CST 2010
[INFO] Final Memory: 93M/228M
[INFO] ------------------------------------------------------------------------


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message