Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] WAR overlays in Jetty 9.1?

2013/12/12 Jan Bartel <janb@xxxxxxxxxxx>:
> If you have a local checkout of Weld, and you've applied the patch for
> the new jetty-9 Decorator class signature, then can you test with head
> of jetty-9 master???

I just tried it, and I'm afraid nothing changed (injection works in
servlets and filters, but not the ContextListener). I'll see if I can
take a more detailed look at it today.

FWIW, here's the output (the "ugh" line comes right out of my test app):

klaus@klaus-nb:/opt/jetty-distribution-9.1.1-SNAPSHOT$ java -jar start.jar
2013-12-12 08:13:04.404:INFO:oejs.Server:main: jetty-9.1.1-SNAPSHOT
2013-12-12 08:13:04.426:INFO:oejdp.ScanningAppProvider:main:
Deployment monitor
[file:/opt/jetty-distribution-9.1.1-SNAPSHOT/webapps/] at interval 1
Dec 12, 2013 8:13:04 AM org.jboss.weld.bootstrap.WeldStartup <clinit>
INFO: WELD-000900: 2.2.0 (2013-12-05 14:19)
Dec 12, 2013 8:13:05 AM
org.jboss.weld.environment.servlet.BeanManagerResourceBindingListener
contextInitialized
INFO: BeanManager reference bound to java:comp/env/BeanManager
Dec 12, 2013 8:13:05 AM org.jboss.weld.bootstrap.WeldStartup startContainer
INFO: WELD-000101: Transactional services not available. Injection of
@Inject UserTransaction not available. Transactional observers will be
invoked synchronously.
Dec 12, 2013 8:13:05 AM
org.jboss.weld.environment.jetty.JettyContainer initialize
INFO: Jetty 7.2+ detected, CDI injection will be available in
Listeners, Servlets and Filters.
Dec 12, 2013 8:13:05 AM
org.jboss.weld.interceptor.util.InterceptionTypeRegistry <clinit>
WARN: WELD-001700: Interceptor annotation class javax.ejb.PostActivate
not found, interception based on it is not enabled
Dec 12, 2013 8:13:05 AM
org.jboss.weld.interceptor.util.InterceptionTypeRegistry <clinit>
WARN: WELD-001700: Interceptor annotation class javax.ejb.PrePassivate
not found, interception based on it is not enabled
ugh! injection into test.ContextListener failed!
2013-12-12 08:13:05.850:INFO:oejsh.ContextHandler:main: Started
o.e.j.w.WebAppContext@17eba425{/cditest,file:/tmp/jetty-0.0.0.0-8080-cditest.war-_cditest-any-410754278095988835.dir/webapp/,AVAILABLE}{/cditest.war}
2013-12-12 08:13:05.874:INFO:oejs.ServerConnector:main: Started
ServerConnector@a0e0ab9{HTTP/1.1}{0.0.0.0:8080}


Thanks

Klaus


Back to the top