On Jul 7, 2012, at 11:16 PM, zeeman wrote:

> I removed Drools jar and its dependencies (Drools API, compiler, and core). I
> get below stack trace:
> 
> If I keep above, Tomee starts fine. You can reproduce the issue by using a
> maven project that has a Seam security dependency and deploy it without
> drools dependencies. If you don't want to bother with a Seam project, just
> create a CDI bean with @Requires for a class that does not exist on
> classpath. Tomee will fail.
> 
[...]
> Caused by: org.apache.catalina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
>       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=sportivity)
>       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=sportivity)

Strange.  Says there were validation failures (not sure what those would be).  
Could be a bug in our validation logic (we shouldn't be so strict if classes 
are not found).  If you could post the list of validation 
failures/errors/warnings, that'd be great.


-David

Reply via email to