-
1. Re: Servlet Lifecycle event not firing in ear
pieter.martin Jan 28, 2011 1:58 PM (in response to pieter.martin)Hi,
Ok I put the jars in the ear's lib which is rather silly for a servlet api. I have moved it to the both the api and impl to the war's WEB-INF/lib. Now I am getting the following exception on startup.
ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=vfs:///home/pieter/jboss-6.0.0.Final/server/default/deploy/nakedumltest.ear_WeldBootstrapBean state=Create: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [ServletExtension] with qualifiers [@Default] at injection point [[parameter 2] of [method] @Produces @TypedParamValue protected org.jboss.seam.servlet.http.CookieParamProducer.getTypedParamValue(InjectionPoint, ServletExtension)] at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:305) [:6.0.0.Final]
Any ideas what I am doing wrong?
Thanks
Pieter -
2. Re: Servlet Lifecycle event not firing in ear
lightguard Jan 28, 2011 6:12 PM (in response to pieter.martin)I'm not sure about ear deployments, I haven't tried them yet. Just out of curiosity, what is driving you to use an ear?
-
3. Re: Servlet Lifecycle event not firing in ear
pieter.martin Jan 29, 2011 1:30 AM (in response to pieter.martin)I have been wondering if its worthwhile, seeing that almost all the test cases are packaged as wars? I am refactoring/upgrading an existing system that is packaged as an ear which contains a bunch of ejb modules packaged separately in the ear so decided without much investigation to go for an ear.
-
4. Re: Servlet Lifecycle event not firing in ear
lightguard Jan 29, 2011 4:29 AM (in response to pieter.martin)As long as there aren't any remote EJBs in the archive you can safely package everything up in a war now :)
-
5. Re: Servlet Lifecycle event not firing in ear
pieter.martin Jan 29, 2011 5:14 AM (in response to pieter.martin)Thanks