You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Forrest Xia (JIRA)" <ji...@apache.org> on 2011/05/19 03:34:47 UTC

[jira] [Created] (GERONIMO-5965) car-maven-plugin cannot generate plugin for DataCDInfo sample, deployment exception like "A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl"

car-maven-plugin cannot generate plugin for DataCDInfo sample, deployment exception like "A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl"
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: GERONIMO-5965
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5965
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: car-maven-plugin, OpenEJB
    Affects Versions: 3.0
         Environment: Oracle jdk 1.6.0_23
ubuntu 10.04 x86
            Reporter: Forrest Xia


1. Check out samples trunk from https://svn.apache.org/repos/asf/geronimo/samples/trunk
2. Compile the code from the root with command: mvn clean install -Dtest=false -DfailIfNoTests=false -e
3. You will get the exception at sample "samples/javaee5/DataCDInfo/DataCDInfo-JTA-jetty/", and the exception is like the following. Seems to me the EJBModule builder has some problem when dealing with annotation deployment info and xml deployment info.

[org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car State changed from stopped to starting
[org.apache.geronimo.kernel.config.Configuration] : Started configuration org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car
[org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car State changed from starting to running
[org.apache.geronimo.kernel.config.SimpleConfigurationManager] : Loaded Configuration org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car
[org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle [183]
[org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from stopped to starting
[org.apache.geronimo.kernel.config.Configuration] : Started configuration org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car
[org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from starting to running
[org.apache.geronimo.kernel.config.SimpleConfigurationManager] : Loaded Configuration org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car
[severity=FATAL_ERROR, message=unexpected element (uri:"http://www.openejb.org/System/Configuration", local:"form-validation"). Expected elements are <{http://jboss.org/xml/ns/javax/validation/mapping}constraint-mappings>,<{http://jboss.org/xml/ns/javax/validation/configuration}validation-config>, locator=[node=null, object=null, url=null, line=22,col=18,offset=-1]]
[org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from running to stopping
[org.apache.geronimo.kernel.config.Configuration] : Stopping configuration org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car
[org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from stopping to stopped
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] could not package plugin

Embedded error: org.apache.openejb.OpenEJBException: A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl
[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:238)
	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: A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbInfo(EjbModuleBuilder.java:821)
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.doInitContext(EjbModuleBuilder.java:721)
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:712)
	at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.postInitContext(TomcatModuleBuilder.java:434)
	at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.initContext(AbstractWebModuleBuilder.java:424)
	at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:168)
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:654)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:252)
	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:524)
	at org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:340)
	at org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:235)
	... 19 more
Caused by: org.apache.openejb.OpenEJBException: A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl
	at org.apache.openejb.config.AutoConfig.createContainer(AutoConfig.java:817)
	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:768)
	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:144)
	at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:235)
	at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:661)
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:879)
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbInfo(EjbModuleBuilder.java:806)
	... 37 more


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (GERONIMO-5965) car-maven-plugin cannot generate plugin for DataCDInfo sample, deployment exception like "A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl"

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang resolved GERONIMO-5965.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0

Can't recreate in latest trunk code, please verify.

> car-maven-plugin cannot generate plugin for DataCDInfo sample, deployment exception like "A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl"
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5965
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5965
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: car-maven-plugin, OpenEJB
>    Affects Versions: 3.0
>         Environment: Oracle jdk 1.6.0_23
> ubuntu 10.04 x86
>            Reporter: Forrest Xia
>            Assignee: Shawn Jiang
>             Fix For: 3.0
>
>
> 1. Check out samples trunk from https://svn.apache.org/repos/asf/geronimo/samples/trunk
> 2. Compile the code from the root with command: mvn clean install -Dtest=false -DfailIfNoTests=false -e
> 3. You will get the exception at sample "samples/javaee5/DataCDInfo/DataCDInfo-JTA-jetty/", and the exception is like the following. Seems to me the EJBModule builder has some problem when dealing with annotation deployment info and xml deployment info.
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car State changed from stopped to starting
> [org.apache.geronimo.kernel.config.Configuration] : Started configuration org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car State changed from starting to running
> [org.apache.geronimo.kernel.config.SimpleConfigurationManager] : Loaded Configuration org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car
> [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle [183]
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from stopped to starting
> [org.apache.geronimo.kernel.config.Configuration] : Started configuration org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from starting to running
> [org.apache.geronimo.kernel.config.SimpleConfigurationManager] : Loaded Configuration org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car
> [severity=FATAL_ERROR, message=unexpected element (uri:"http://www.openejb.org/System/Configuration", local:"form-validation"). Expected elements are <{http://jboss.org/xml/ns/javax/validation/mapping}constraint-mappings>,<{http://jboss.org/xml/ns/javax/validation/configuration}validation-config>, locator=[node=null, object=null, url=null, line=22,col=18,offset=-1]]
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from running to stopping
> [org.apache.geronimo.kernel.config.Configuration] : Stopping configuration org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from stopping to stopped
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] could not package plugin
> Embedded error: org.apache.openejb.OpenEJBException: A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl
> [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:238)
> 	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: A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbInfo(EjbModuleBuilder.java:821)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.doInitContext(EjbModuleBuilder.java:721)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:712)
> 	at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.postInitContext(TomcatModuleBuilder.java:434)
> 	at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.initContext(AbstractWebModuleBuilder.java:424)
> 	at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:168)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:654)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:252)
> 	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:524)
> 	at org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:340)
> 	at org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:235)
> 	... 19 more
> Caused by: org.apache.openejb.OpenEJBException: A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl
> 	at org.apache.openejb.config.AutoConfig.createContainer(AutoConfig.java:817)
> 	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:768)
> 	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:144)
> 	at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:235)
> 	at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:661)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:879)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbInfo(EjbModuleBuilder.java:806)
> 	... 37 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (GERONIMO-5965) car-maven-plugin cannot generate plugin for DataCDInfo sample, deployment exception like "A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl"

Posted by "Forrest Xia (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Forrest Xia closed GERONIMO-5965.
---------------------------------


The problem is fixed in the latest build, so close it.

> car-maven-plugin cannot generate plugin for DataCDInfo sample, deployment exception like "A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl"
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5965
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5965
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: car-maven-plugin, OpenEJB
>    Affects Versions: 3.0
>         Environment: Oracle jdk 1.6.0_23
> ubuntu 10.04 x86
>            Reporter: Forrest Xia
>            Assignee: Shawn Jiang
>             Fix For: 3.0
>
>
> 1. Check out samples trunk from https://svn.apache.org/repos/asf/geronimo/samples/trunk
> 2. Compile the code from the root with command: mvn clean install -Dtest=false -DfailIfNoTests=false -e
> 3. You will get the exception at sample "samples/javaee5/DataCDInfo/DataCDInfo-JTA-jetty/", and the exception is like the following. Seems to me the EJBModule builder has some problem when dealing with annotation deployment info and xml deployment info.
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car State changed from stopped to starting
> [org.apache.geronimo.kernel.config.Configuration] : Started configuration org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car State changed from starting to running
> [org.apache.geronimo.kernel.config.SimpleConfigurationManager] : Loaded Configuration org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car
> [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle [183]
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from stopped to starting
> [org.apache.geronimo.kernel.config.Configuration] : Started configuration org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from starting to running
> [org.apache.geronimo.kernel.config.SimpleConfigurationManager] : Loaded Configuration org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car
> [severity=FATAL_ERROR, message=unexpected element (uri:"http://www.openejb.org/System/Configuration", local:"form-validation"). Expected elements are <{http://jboss.org/xml/ns/javax/validation/mapping}constraint-mappings>,<{http://jboss.org/xml/ns/javax/validation/configuration}validation-config>, locator=[node=null, object=null, url=null, line=22,col=18,offset=-1]]
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from running to stopping
> [org.apache.geronimo.kernel.config.Configuration] : Stopping configuration org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from stopping to stopped
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] could not package plugin
> Embedded error: org.apache.openejb.OpenEJBException: A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl
> [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:238)
> 	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: A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbInfo(EjbModuleBuilder.java:821)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.doInitContext(EjbModuleBuilder.java:721)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:712)
> 	at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.postInitContext(TomcatModuleBuilder.java:434)
> 	at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.initContext(AbstractWebModuleBuilder.java:424)
> 	at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:168)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:654)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:252)
> 	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:524)
> 	at org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:340)
> 	at org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:235)
> 	... 19 more
> Caused by: org.apache.openejb.OpenEJBException: A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl
> 	at org.apache.openejb.config.AutoConfig.createContainer(AutoConfig.java:817)
> 	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:768)
> 	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:144)
> 	at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:235)
> 	at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:661)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:879)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbInfo(EjbModuleBuilder.java:806)
> 	... 37 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (GERONIMO-5965) car-maven-plugin cannot generate plugin for DataCDInfo sample, deployment exception like "A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl"

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang reassigned GERONIMO-5965:
-------------------------------------

    Assignee: Shawn Jiang

> car-maven-plugin cannot generate plugin for DataCDInfo sample, deployment exception like "A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl"
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5965
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5965
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: car-maven-plugin, OpenEJB
>    Affects Versions: 3.0
>         Environment: Oracle jdk 1.6.0_23
> ubuntu 10.04 x86
>            Reporter: Forrest Xia
>            Assignee: Shawn Jiang
>
> 1. Check out samples trunk from https://svn.apache.org/repos/asf/geronimo/samples/trunk
> 2. Compile the code from the root with command: mvn clean install -Dtest=false -DfailIfNoTests=false -e
> 3. You will get the exception at sample "samples/javaee5/DataCDInfo/DataCDInfo-JTA-jetty/", and the exception is like the following. Seems to me the EJBModule builder has some problem when dealing with annotation deployment info and xml deployment info.
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car State changed from stopped to starting
> [org.apache.geronimo.kernel.config.Configuration] : Started configuration org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car State changed from starting to running
> [org.apache.geronimo.kernel.config.SimpleConfigurationManager] : Loaded Configuration org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car
> [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle [183]
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from stopped to starting
> [org.apache.geronimo.kernel.config.Configuration] : Started configuration org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from starting to running
> [org.apache.geronimo.kernel.config.SimpleConfigurationManager] : Loaded Configuration org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car
> [severity=FATAL_ERROR, message=unexpected element (uri:"http://www.openejb.org/System/Configuration", local:"form-validation"). Expected elements are <{http://jboss.org/xml/ns/javax/validation/mapping}constraint-mappings>,<{http://jboss.org/xml/ns/javax/validation/configuration}validation-config>, locator=[node=null, object=null, url=null, line=22,col=18,offset=-1]]
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from running to stopping
> [org.apache.geronimo.kernel.config.Configuration] : Stopping configuration org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from stopping to stopped
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] could not package plugin
> Embedded error: org.apache.openejb.OpenEJBException: A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl
> [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:238)
> 	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: A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbInfo(EjbModuleBuilder.java:821)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.doInitContext(EjbModuleBuilder.java:721)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:712)
> 	at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.postInitContext(TomcatModuleBuilder.java:434)
> 	at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.initContext(AbstractWebModuleBuilder.java:424)
> 	at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:168)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:654)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:252)
> 	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:524)
> 	at org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:340)
> 	at org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:235)
> 	... 19 more
> Caused by: org.apache.openejb.OpenEJBException: A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl
> 	at org.apache.openejb.config.AutoConfig.createContainer(AutoConfig.java:817)
> 	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:768)
> 	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:144)
> 	at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:235)
> 	at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:661)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:879)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbInfo(EjbModuleBuilder.java:806)
> 	... 37 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (GERONIMO-5965) car-maven-plugin cannot generate plugin for DataCDInfo sample, deployment exception like "A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl"

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055540#comment-13055540 ] 

Shawn Jiang commented on GERONIMO-5965:
---------------------------------------

Can't recreate with latest geronimo.  Please double check.  Thanks.

> car-maven-plugin cannot generate plugin for DataCDInfo sample, deployment exception like "A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl"
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5965
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5965
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: car-maven-plugin, OpenEJB
>    Affects Versions: 3.0
>         Environment: Oracle jdk 1.6.0_23
> ubuntu 10.04 x86
>            Reporter: Forrest Xia
>            Assignee: Shawn Jiang
>
> 1. Check out samples trunk from https://svn.apache.org/repos/asf/geronimo/samples/trunk
> 2. Compile the code from the root with command: mvn clean install -Dtest=false -DfailIfNoTests=false -e
> 3. You will get the exception at sample "samples/javaee5/DataCDInfo/DataCDInfo-JTA-jetty/", and the exception is like the following. Seems to me the EJBModule builder has some problem when dealing with annotation deployment info and xml deployment info.
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car State changed from stopped to starting
> [org.apache.geronimo.kernel.config.Configuration] : Started configuration org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car State changed from starting to running
> [org.apache.geronimo.kernel.config.SimpleConfigurationManager] : Loaded Configuration org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/sample-datasource/3.0-SNAPSHOT/car
> [org.apache.geronimo.system.configuration.DependencyManager] : did not find geronimo-plugin.xml for bundle [183]
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from stopped to starting
> [org.apache.geronimo.kernel.config.Configuration] : Started configuration org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from starting to running
> [org.apache.geronimo.kernel.config.SimpleConfigurationManager] : Loaded Configuration org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car
> [severity=FATAL_ERROR, message=unexpected element (uri:"http://www.openejb.org/System/Configuration", local:"form-validation"). Expected elements are <{http://jboss.org/xml/ns/javax/validation/mapping}constraint-mappings>,<{http://jboss.org/xml/ns/javax/validation/configuration}validation-config>, locator=[node=null, object=null, url=null, line=22,col=18,offset=-1]]
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from running to stopping
> [org.apache.geronimo.kernel.config.Configuration] : Stopping configuration org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car
> [org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState for: org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car?configurationName=org.apache.geronimo.samples/DataCDInfo-JTA-tomcat/3.0-SNAPSHOT/car State changed from stopping to stopped
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] could not package plugin
> Embedded error: org.apache.openejb.OpenEJBException: A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl
> [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:238)
> 	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: A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbInfo(EjbModuleBuilder.java:821)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.doInitContext(EjbModuleBuilder.java:721)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:712)
> 	at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.postInitContext(TomcatModuleBuilder.java:434)
> 	at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.initContext(AbstractWebModuleBuilder.java:424)
> 	at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:168)
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:654)
> 	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:252)
> 	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:524)
> 	at org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:340)
> 	at org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:235)
> 	... 19 more
> Caused by: org.apache.openejb.OpenEJBException: A container of type STATELESS must be declared in the configuration file for bean: ejb/DataCDInfoJTAImpl
> 	at org.apache.openejb.config.AutoConfig.createContainer(AutoConfig.java:817)
> 	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:768)
> 	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:144)
> 	at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:235)
> 	at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:661)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:879)
> 	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbInfo(EjbModuleBuilder.java:806)
> 	... 37 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira