i updated our failing validation to be skipped if such an error happen but i got another error:
Caused by: java.lang.NoClassDefFoundError: org/drools/runtime/ObjectFilter at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2291) at java.lang.Class.getDeclaredFields(Class.java:1743) at org.apache.openejb.cdi.ManagedSecurityService$PrivilegedActionForClass.run(ManagedSecurityService.java:236) at java.security.AccessController.doPrivileged(Native Method) at org.apache.openejb.cdi.ManagedSecurityService.doPrivilegedGetDeclaredFields(ManagedSecurityService.java:158) at org.apache.webbeans.portable.AnnotatedTypeImpl.init(AnnotatedTypeImpl.java:77) at org.apache.webbeans.portable.AnnotatedTypeImpl.getMethods(AnnotatedTypeImpl.java:193) at org.jboss.seam.transaction.TransactionExtension.processAnnotatedType(TransactionExtension.java:100) ... 37 more Caused by: java.lang.ClassNotFoundException: org.drools.runtime.ObjectFilter at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556) ... 46 more Not sure how seam is expected to be used, maybe in JBoss @requires extension is forced to be the first one to be loaded because if any other extension uses the class (fields + method) before it will obviously fail with a classnotfound. All errors can't be skipped. any clues to go further? - Romain 2012/7/8 zeeman <hamz...@fastmail.us> > I have put a sample project https://github.com/z00/test > > in POM.xml if you comment out dependency on line 301, you'll get the below > error. If you keep it enabled (default) Tomee will work fine. > > > Here is the full Tomee log: > > > > Jul 8, 2012 12:56:24 PM org.apache.catalina.core.AprLifecycleListener init > INFO: The APR based Apache Tomcat Native library which allows optimal > performance in production environments was not found on the > java.library.path: C:\Program > > Files\Java\jre6\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program > Files (x86)\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program > Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave > Systems Corp\Gemalto\Access Client\v5\;C:\Program > Files\Java\jdk1.6.0_31\bin;C:\dev\apache-maven-3.0.4\bin;C:\Program Files > (x86)\Git\cmd;C:\Program Files\TortoiseSVN\bin;. > Jul 8, 2012 12:56:24 PM org.apache.tomcat.util.digester.SetPropertiesRule > begin > WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting > property 'source' to 'org.eclipse.jst.jee.server:test' did not find a > matching property. > Jul 8, 2012 12:56:24 PM org.apache.coyote.AbstractProtocol init > INFO: Initializing ProtocolHandler ["http-bio-8080"] > Jul 8, 2012 12:56:24 PM org.apache.coyote.AbstractProtocol init > INFO: Initializing ProtocolHandler ["ajp-bio-8009"] > Jul 8, 2012 12:56:25 PM org.apache.openejb.server.ServiceLogger <clinit> > INFO: can't find log4j MDC class > Jul 8, 2012 12:56:25 PM org.apache.tomee.catalina.TomcatLoader > optionalService > INFO: Optional service not installed: > org.apache.tomee.webservices.TomeeJaxRsService > Jul 8, 2012 12:56:25 PM org.apache.tomee.catalina.TomcatLoader > optionalService > INFO: Optional service not installed: > org.apache.tomee.webservices.TomeeJaxWsService > Jul 8, 2012 12:56:25 PM org.apache.openejb.OpenEJB$Instance <init> > INFO: > > ******************************************************************************** > Jul 8, 2012 12:56:25 PM org.apache.openejb.OpenEJB$Instance <init> > INFO: OpenEJB http://openejb.apache.org/ > Jul 8, 2012 12:56:25 PM org.apache.openejb.OpenEJB$Instance <init> > INFO: Startup: Sun Jul 08 12:56:25 EDT 2012 > Jul 8, 2012 12:56:25 PM org.apache.openejb.OpenEJB$Instance <init> > INFO: Copyright 1999-2012 (C) Apache OpenEJB Project, All Rights Reserved. > Jul 8, 2012 12:56:25 PM org.apache.openejb.OpenEJB$Instance <init> > INFO: Version: 4.1.0-SNAPSHOT > Jul 8, 2012 12:56:25 PM org.apache.openejb.OpenEJB$Instance <init> > INFO: Build date: 20120706 > Jul 8, 2012 12:56:25 PM org.apache.openejb.OpenEJB$Instance <init> > INFO: Build time: 12:33 > Jul 8, 2012 12:56:25 PM org.apache.openejb.OpenEJB$Instance <init> > INFO: > > ******************************************************************************** > Jul 8, 2012 12:56:25 PM org.apache.openejb.OpenEJB$Instance <init> > INFO: openejb.home = C:\dev\apache-tomee-webprofile-1.1.0-SNAPSHOT > Jul 8, 2012 12:56:25 PM org.apache.openejb.OpenEJB$Instance <init> > INFO: openejb.base = > > C:\Users\zeeman\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1 > Jul 8, 2012 12:56:25 PM org.apache.openejb.cdi.CdiBuilder initializeOWB > INFO: Created new singletonService > org.apache.openejb.cdi.ThreadSingletonServiceImpl@46d999a > Jul 8, 2012 12:56:25 PM org.apache.openejb.cdi.CdiBuilder initializeOWB > INFO: Succeeded in installing singleton service > Jul 8, 2012 12:56:25 PM org.apache.openejb.config.ConfigurationFactory init > INFO: openejb configuration file is > > 'C:\Users\zeeman\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\openejb.xml' > Jul 8, 2012 12:56:25 PM org.apache.openejb.util.OptionsLog info > INFO: Using 'openejb.provider.default=org.apache.tomee' > Jul 8, 2012 12:56:25 PM org.apache.openejb.config.ConfigurationFactory > configureService > INFO: Configuring Service(id=Tomcat Security Service, type=SecurityService, > provider-id=Tomcat Security Service) > Jul 8, 2012 12:56:25 PM org.apache.openejb.config.ConfigurationFactory > configureService > INFO: Configuring Service(id=Default Transaction Manager, > type=TransactionManager, provider-id=Default Transaction Manager) > Jul 8, 2012 12:56:25 PM org.apache.openejb.config.ConfigurationFactory > configureService > INFO: Configuring Service(id=My DataSource, type=Resource, > provider-id=Default JDBC Database) > Jul 8, 2012 12:56:25 PM org.apache.openejb.config.ConfigurationFactory > configureService > INFO: Configuring Service(id=My Unmanaged DataSource, type=Resource, > provider-id=Default JDBC Database) > Jul 8, 2012 12:56:25 PM org.apache.openejb.config.ConfigurationFactory > configureService > INFO: Configuring Service(id=My Singleton Container, type=Container, > provider-id=Default Singleton Container) > Jul 8, 2012 12:56:25 PM org.apache.openejb.config.ConfigurationFactory > configureService > INFO: Configuring Service(id=My Stateful Container, type=Container, > provider-id=Default Stateful Container) > Jul 8, 2012 12:56:25 PM org.apache.openejb.config.ConfigurationFactory > configureService > INFO: Configuring Service(id=My Stateless Container, type=Container, > provider-id=Default Stateless Container) > Jul 8, 2012 12:56:25 PM org.apache.openejb.util.OptionsLog info > INFO: Using 'openejb.system.apps=true' > Jul 8, 2012 12:56:25 PM org.apache.openejb.config.ConfigurationFactory > configureApplication > INFO: Configuring enterprise application: null > Jul 8, 2012 12:56:25 PM org.apache.openejb.config.InitEjbDeployments deploy > INFO: Using openejb.deploymentId.format '{ejbName}' > Jul 8, 2012 12:56:25 PM org.apache.openejb.config.InitEjbDeployments deploy > INFO: Auto-deploying ejb openejb/Deployer: > EjbDeployment(deployment-id=openejb/Deployer) > Jul 8, 2012 12:56:25 PM org.apache.openejb.config.InitEjbDeployments deploy > INFO: Auto-deploying ejb openejb/ConfigurationInfo: > EjbDeployment(deployment-id=openejb/ConfigurationInfo) > Jul 8, 2012 12:56:25 PM org.apache.openejb.config.InitEjbDeployments deploy > INFO: Auto-deploying ejb MEJB: EjbDeployment(deployment-id=MEJB) > Jul 8, 2012 12:56:25 PM org.apache.openejb.config.AppInfoBuilder build > INFO: Enterprise application "openejb" loaded. > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.Assembler > createRecipe > INFO: Creating TransactionManager(id=Default Transaction Manager) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.Assembler > createRecipe > INFO: Creating SecurityService(id=Tomcat Security Service) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.Assembler > createRecipe > INFO: Creating Resource(id=My DataSource) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.Assembler > createRecipe > INFO: Creating Resource(id=My Unmanaged DataSource) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.Assembler > createRecipe > INFO: Creating Container(id=My Singleton Container) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.Assembler > createRecipe > INFO: Creating Container(id=My Stateful Container) > Jul 8, 2012 12:56:25 PM org.apache.openejb.core.stateful.SimplePassivater > init > INFO: Using directory c:\temp for stateful session passivation > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.Assembler > createRecipe > INFO: Creating Container(id=My Stateless Container) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.Assembler > createApplication > INFO: Assembling app: openejb > Jul 8, 2012 12:56:25 PM org.hibernate.validator.util.Version <clinit> > INFO: Hibernate Validator 4.2.0.Final > Jul 8, 2012 12:56:25 PM org.hibernate.validator.engine.ConfigurationImpl > parseValidationXml > INFO: Ignoring XML configuration. > Jul 8, 2012 12:56:25 PM org.apache.openejb.util.OptionsLog info > INFO: Using > 'openejb.jndiname.format={deploymentId}{interfaceType.openejbLegacyName}' > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.JndiBuilder > bind > INFO: Jndi(name=openejb/DeployerBusinessRemote) --> > Ejb(deployment-id=openejb/Deployer) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.JndiBuilder > bind > INFO: > > Jndi(name=global/openejb/openejb/Deployer!org.apache.openejb.assembler.Deployer) > --> Ejb(deployment-id=openejb/Deployer) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.JndiBuilder > bind > INFO: Jndi(name=global/openejb/openejb/Deployer) --> > Ejb(deployment-id=openejb/Deployer) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.JndiBuilder > bind > INFO: Jndi(name=openejb/ConfigurationInfoBusinessRemote) --> > Ejb(deployment-id=openejb/ConfigurationInfo) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.JndiBuilder > bind > INFO: > > Jndi(name=global/openejb/openejb/ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo) > --> Ejb(deployment-id=openejb/ConfigurationInfo) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.JndiBuilder > bind > INFO: Jndi(name=global/openejb/openejb/ConfigurationInfo) --> > Ejb(deployment-id=openejb/ConfigurationInfo) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.JndiBuilder > bind > INFO: Jndi(name=MEJB) --> Ejb(deployment-id=MEJB) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.JndiBuilder > bind > INFO: Jndi(name=global/openejb/MEJB!javax.management.j2ee.ManagementHome) > --> Ejb(deployment-id=MEJB) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.JndiBuilder > bind > INFO: Jndi(name=global/openejb/MEJB) --> Ejb(deployment-id=MEJB) > Jul 8, 2012 12:56:25 PM org.apache.openejb.cdi.CdiBuilder initSingleton > INFO: Existing thread singleton service in SystemInstance() > org.apache.openejb.cdi.ThreadSingletonServiceImpl@46d999a > Jul 8, 2012 12:56:25 PM org.apache.openejb.cdi.OpenEJBLifecycle > startApplication > INFO: OpenWebBeans Container is starting... > Jul 8, 2012 12:56:25 PM org.apache.webbeans.plugins.PluginLoader startUp > INFO: Adding OpenWebBeansPlugin : [CdiPlugin] > Jul 8, 2012 12:56:25 PM org.apache.webbeans.plugins.PluginLoader startUp > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin] > Jul 8, 2012 12:56:25 PM org.apache.openejb.cdi.BeansDeployer > validateInjectionPoints > INFO: All injection points were validated successfully. > Jul 8, 2012 12:56:25 PM org.apache.openejb.cdi.OpenEJBLifecycle > startApplication > INFO: OpenWebBeans Container has started, it took [75] ms. > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.Assembler > createApplication > INFO: Created Ejb(deployment-id=openejb/Deployer, > ejb-name=openejb/Deployer, > container=My Stateless Container) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.Assembler > createApplication > INFO: Created Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My Stateless > Container) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.Assembler > createApplication > INFO: Created Ejb(deployment-id=openejb/ConfigurationInfo, > ejb-name=openejb/ConfigurationInfo, container=My Stateless Container) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.Assembler > createApplication > INFO: Started Ejb(deployment-id=openejb/Deployer, > ejb-name=openejb/Deployer, > container=My Stateless Container) > Jul 8, 2012 12:56:25 PM org.apache.openejb.assembler.classic.Assembler > createApplication > INFO: Started Ejb(deployment-id=MEJB, ejb-name=MEJB, container=My Stateless > Container) > Jul 8, 2012 12:56:26 PM org.apache.openejb.assembler.classic.Assembler > createApplication > INFO: Started Ejb(deployment-id=openejb/ConfigurationInfo, > ejb-name=openejb/ConfigurationInfo, container=My Stateless Container) > Jul 8, 2012 12:56:26 PM org.apache.openejb.assembler.classic.Assembler > deployMBean > INFO: Deployed > > MBean(openejb.user.mbeans:application=openejb,group=org.apache.openejb.assembler.monitoring,name=JMXDeployer) > Jul 8, 2012 12:56:26 PM org.apache.openejb.assembler.classic.Assembler > createApplication > INFO: Deployed Application(path=openejb) > Jul 8, 2012 12:56:26 PM org.apache.openejb.server.SimpleServiceManager > start > INFO: ** Bound Services ** > Jul 8, 2012 12:56:26 PM org.apache.openejb.server.SimpleServiceManager > printRow > INFO: NAME IP PORT > Jul 8, 2012 12:56:26 PM org.apache.openejb.server.SimpleServiceManager > start > INFO: ------- > Jul 8, 2012 12:56:26 PM org.apache.openejb.server.SimpleServiceManager > start > INFO: Ready! > Jul 8, 2012 12:56:26 PM org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 2024 ms > Jul 8, 2012 12:56:26 PM > org.apache.tomee.catalina.OpenEJBNamingContextListener bindResource > INFO: Importing a Tomcat Resource with id 'UserDatabase' of type > 'org.apache.catalina.UserDatabase'. > Jul 8, 2012 12:56:26 PM org.apache.openejb.assembler.classic.Assembler > createRecipe > INFO: Creating Resource(id=UserDatabase) > Jul 8, 2012 12:56:26 PM org.apache.catalina.core.StandardService > startInternal > INFO: Starting service Catalina > Jul 8, 2012 12:56:26 PM org.apache.catalina.core.StandardEngine > startInternal > INFO: Starting Servlet Engine: Apache Tomcat/7.0.28 > Jul 8, 2012 12:56:26 PM org.apache.tomee.catalina.TomcatWebAppBuilder init > INFO: ------------------------- > TomcatWebAppBuilder.init > Jul 8, 2012 12:56:26 PM org.apache.openejb.config.DeploymentLoader > addFacesConfigs > INFO: faces config file is null > Jul 8, 2012 12:56:26 PM org.apache.openejb.config.ConfigurationFactory > configureApplication > INFO: Configuring enterprise application: > > C:\Users\zeeman\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT > Jul 8, 2012 12:56:26 PM org.apache.openejb.config.AppInfoBuilder build > INFO: Enterprise application > > "C:\Users\zeeman\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT" > loaded. > Jul 8, 2012 12:56:26 PM org.apache.openejb.assembler.classic.Assembler > createApplication > INFO: Assembling app: > > C:\Users\zeeman\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT > Jul 8, 2012 12:56:26 PM org.hibernate.validator.engine.ConfigurationImpl > parseValidationXml > INFO: Ignoring XML configuration. > Jul 8, 2012 12:56:26 PM org.hibernate.validator.engine.ConfigurationImpl > parseValidationXml > INFO: Ignoring XML configuration. > Jul 8, 2012 12:56:26 PM org.apache.openejb.cdi.CdiBuilder initSingleton > INFO: Existing thread singleton service in SystemInstance() > org.apache.openejb.cdi.ThreadSingletonServiceImpl@46d999a > Jul 8, 2012 12:56:26 PM org.apache.openejb.cdi.OpenEJBLifecycle > startApplication > INFO: OpenWebBeans Container is starting... > Jul 8, 2012 12:56:26 PM org.apache.webbeans.plugins.PluginLoader startUp > INFO: Adding OpenWebBeansPlugin : [CdiPlugin] > Jul 8, 2012 12:56:26 PM org.apache.webbeans.plugins.PluginLoader startUp > INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin] > Jul 8, 2012 12:56:26 PM org.apache.openejb.cdi.BeansDeployer > validateInjectionPoints > INFO: All injection points were validated successfully. > Jul 8, 2012 12:56:26 PM org.apache.openejb.cdi.OpenEJBLifecycle > startApplication > INFO: OpenWebBeans Container has started, it took [4] ms. > Jul 8, 2012 12:56:26 PM org.apache.openejb.assembler.classic.Assembler > createApplication > INFO: Deployed > > Application(path=C:\Users\zeeman\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\ROOT) > Jul 8, 2012 12:56:26 PM org.apache.myfaces.webapp.AbstractFacesInitializer > initFaces > WARNING: No mappings of FacesServlet found. Abort initializing MyFaces. > Jul 8, 2012 12:56:26 PM org.apache.tomee.catalina.TomcatWebAppBuilder init > INFO: ------------------------- > TomcatWebAppBuilder.init /test > Jul 8, 2012 12:56:26 PM org.apache.openejb.config.DeploymentLoader > addFacesConfigs > INFO: faces config file is null > Jul 8, 2012 12:56:28 PM org.apache.openejb.config.ConfigurationFactory > configureApplication > INFO: Configuring enterprise application: > > C:\Users\zeeman\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\test > java.lang.NoClassDefFoundError: Lorg/drools/KnowledgeBase; > at java.lang.Class.getDeclaredFields0(Native Method) > at java.lang.Class.privateGetDeclaredFields(Unknown Source) > at java.lang.Class.getDeclaredFields(Unknown Source) > at > > org.apache.xbean.finder.AnnotationFinder.findAnnotatedFields(AnnotationFinder.java:780) > at > > org.apache.openejb.config.FinderFactory$ModuleLimitedFinder.findAnnotatedFields(FinderFactory.java:152) > at > > org.apache.openejb.config.rules.CheckInjectionPointUsage.validate(CheckInjectionPointUsage.java:35) > at > > org.apache.openejb.config.rules.ValidationBase.validate(ValidationBase.java:45) > at > org.apache.openejb.config.AppValidator.validate(AppValidator.java:97) > at > org.apache.openejb.config.ValidateModules.deploy(ValidateModules.java:37) > at > > org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:322) > at > > org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:781) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:677) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:632) > at > > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117) > at > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > at > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > at > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5172) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1595) > at > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1585) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown > Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source) > at java.lang.Thread.run(Unknown Source) > Caused by: java.lang.ClassNotFoundException: org.drools.KnowledgeBase > at > org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:131) > at > org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:83) > ... 25 more > Caused by: java.io.IOException: Stream closed > at java.io.BufferedInputStream.getInIfOpen(Unknown Source) > at java.io.BufferedInputStream.fill(Unknown Source) > at java.io.BufferedInputStream.read1(Unknown Source) > at java.io.BufferedInputStream.read(Unknown Source) > at java.io.FilterInputStream.read(Unknown Source) > at org.apache.openejb.loader.IO.copy(IO.java:270) > at > org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:128) > ... 26 more > Jul 8, 2012 12:56:29 PM org.apache.openejb.config.InitEjbDeployments deploy > INFO: Auto-deploying ejb localhost/test.Comp: > EjbDeployment(deployment-id=localhost/test.Comp) > Jul 8, 2012 12:56:29 PM org.apache.openejb.config.ConfigurationFactory > configureService > INFO: Configuring Service(id=Default Managed Container, type=Container, > provider-id=Default Managed Container) > Jul 8, 2012 12:56:29 PM org.apache.openejb.config.AutoConfig > createContainer > INFO: Auto-creating a container for bean localhost/test.Comp: > Container(type=MANAGED, id=Default Managed Container) > Jul 8, 2012 12:56:29 PM org.apache.openejb.assembler.classic.Assembler > createRecipe > INFO: Creating Container(id=Default Managed Container) > Jul 8, 2012 12:56:29 PM org.apache.openejb.core.managed.SimplePassivater > init > INFO: Using directory c:\temp for stateful session passivation > Jul 8, 2012 12:56:29 PM org.apache.openejb.config.ReportValidationResults > logResults > SEVERE: ERROR ... null: Cannot validate jar: Lorg/drools/KnowledgeBase; > Jul 8, 2012 12:56:29 PM org.apache.openejb.config.ReportValidationResults > logResults > SEVERE: Invalid AppModule(name=test, > > path=C:\Users\zeeman\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\test) > Jul 8, 2012 12:56:29 PM org.apache.openejb.config.ReportValidationResults > deploy > INFO: Set the 'openejb.validation.output.level' system property to VERBOSE > for increased validation details. > Jul 8, 2012 12:56:29 PM org.apache.catalina.core.ContainerBase removeChild > SEVERE: ContainerBase.removeChild: destroy: > org.apache.catalina.LifecycleException: An invalid Lifecycle transition was > attempted ([before_destroy]) for component > [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/test]] > in > state [STARTING_PREP] > at > > org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:408) > at > org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:298) > at > org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1053) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:843) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:828) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:683) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:632) > at > > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117) > at > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > at > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > at > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5172) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1595) > at > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1585) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown > Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source) > at java.lang.Thread.run(Unknown Source) > Jul 8, 2012 12:56:29 PM org.apache.tomee.catalina.TomcatWebAppBuilder > startInternal > SEVERE: Unable to deploy collapsed ear in war /test: Exception: Module > failed validation. AppModule(name=test) > org.apache.openejb.config.ValidationFailedException: Module failed > validation. AppModule(name=test) > at > > org.apache.openejb.config.ReportValidationResults.deploy(ReportValidationResults.java:82) > at > org.apache.openejb.config.AppInfoBuilder.build(AppInfoBuilder.java:267) > at > > org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:784) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:677) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:632) > at > > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117) > at > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > at > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > at > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5172) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1595) > at > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1585) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown > Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source) > at java.lang.Thread.run(Unknown Source) > Jul 8, 2012 12:56:29 PM org.apache.catalina.core.ContainerBase > startInternal > SEVERE: A child container failed during start > java.util.concurrent.ExecutionException: > org.apache.catalina.LifecycleException: Failed to start component > [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/test]] > at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) > at java.util.concurrent.FutureTask.get(Unknown Source) > at > > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1142) > at > org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:785) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1595) > at > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1585) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown > Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source) > at java.lang.Thread.run(Unknown Source) > Caused by: org.apache.catalina.LifecycleException: Failed to start > component > [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/test]] > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) > ... 7 more > Caused by: org.apache.tomee.catalina.TomEERuntimeException: > org.apache.openejb.config.ValidationFailedException: Module failed > validation. AppModule(name=test) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:687) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:632) > at > > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117) > at > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > at > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > at > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5172) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > ... 7 more > Caused by: org.apache.openejb.config.ValidationFailedException: Module > failed validation. AppModule(name=test) > at > > org.apache.openejb.config.ReportValidationResults.deploy(ReportValidationResults.java:82) > at > org.apache.openejb.config.AppInfoBuilder.build(AppInfoBuilder.java:267) > at > > org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:784) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:677) > ... 13 more > Jul 8, 2012 12:56:29 PM org.apache.catalina.core.ContainerBase > startInternal > SEVERE: A child container failed during start > java.util.concurrent.ExecutionException: > org.apache.catalina.LifecycleException: Failed to start component > [StandardEngine[Catalina].StandardHost[localhost]] > at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) > at java.util.concurrent.FutureTask.get(Unknown Source) > at > > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1142) > at > > org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > > org.apache.catalina.core.StandardService.startInternal(StandardService.java:443) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > > org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at org.apache.catalina.startup.Catalina.start(Catalina.java:675) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450) > Caused by: org.apache.catalina.LifecycleException: Failed to start > component > [StandardEngine[Catalina].StandardHost[localhost]] > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) > at > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1595) > at > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1585) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown > Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source) > at java.lang.Thread.run(Unknown Source) > Caused by: org.apache.catalina.LifecycleException: A child container failed > during start > at > > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1150) > at > org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:785) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > ... 7 more > Jul 8, 2012 12:56:29 PM org.apache.catalina.startup.Catalina start > SEVERE: Catalina.start: > org.apache.catalina.LifecycleException: Failed to start component > [StandardServer[8005]] > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) > at org.apache.catalina.startup.Catalina.start(Catalina.java:675) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450) > Caused by: org.apache.catalina.LifecycleException: Failed to start > component > [StandardService[Catalina]] > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) > at > > org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:732) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > ... 7 more > Caused by: org.apache.catalina.LifecycleException: Failed to start > component > [StandardEngine[Catalina]] > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) > at > > org.apache.catalina.core.StandardService.startInternal(StandardService.java:443) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > ... 9 more > Caused by: org.apache.catalina.LifecycleException: A child container failed > during start > at > > org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1150) > at > > org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:302) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > ... 11 more > Jul 8, 2012 12:56:29 PM org.apache.catalina.startup.Catalina start > INFO: Server startup in 3227 ms > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/CDI-Requires-issue-with-Tomee-tp4656112p4656143.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >