Here what I get: avr. 22, 2014 4:12:56 PM org.atmosphere.cpr.AtmosphereFramework info Infos: Atmosphere is using async support: org.atmosphere.container.Tomcat7Servlet30SupportWithWebSocket running under container: Apache Tomcat (TomEE)/7.0.53 (1.6.1-SNAPSHOT) using javax.servlet/3.0 ... avr. 22, 2014 4:12:56 PM org.apache.catalina.startup.Catalina start Infos: Server startup in 700 ms avr. 22, 2014 4:13:01 PM org.atmosphere.samples.chat.CDIChat onReady Infos: Browser fd68a834-3869-4bb6-9d73-d9e278080b0a connected. avr. 22, 2014 4:13:04 PM org.atmosphere.samples.chat.CDIChat onMessage Infos: romain just send romain avr. 22, 2014 4:13:09 PM org.atmosphere.samples.chat.CDIChat onMessage Infos: romain just send message #1 avr. 22, 2014 4:13:12 PM org.atmosphere.samples.chat.CDIChat onMessage Infos: romain just send another message avr. 22, 2014 4:13:17 PM org.atmosphere.samples.chat.CDIChat onMessage Infos: romain just send disconnecting avr. 22, 2014 4:13:17 PM org.atmosphere.samples.chat.CDIChat onDisconnect Infos: Browser fd68a834-3869-4bb6-9d73-d9e278080b0a closed the connection
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-04-22 15:52 GMT+02:00 Lars Knemeyer <lars.kneme...@gmail.com>: > I tried it with 1.6.0, 1.6.0.1 and the latest 1.6.1-SNAPSHOT from > https://tomee.apache.org/download/tomee-1.6.1-snapshot.html (The last one is > the trunk, isn't it?). > > Unfortunately the relevant logs are only shown if you enable TRACE-Logging > for "org.atmosphere" (I use slf4j via log4j). > If you enable TRACE-Logging you should see lots of "TRACE > [org.atmosphere.cdi.CDIObjectFactory (CDIObjectFactory.java:60)] > (localhost-startStop-1) - Unable to find XXX. Creating the object directly." > during deployment. > > You can access the running sample via > http://localhost:8080/atmosphere-chat-cdi/. If you enter a name and press > enter the field should stay grey because of a NullpointerException inside > CDIChat.java (line 76), because the decoder was not injected. (see: > https://github.com/Atmosphere/atmosphere-samples/blob/master/extensions-samples/chat-cdi/src/main/java/org/atmosphere/samples/chat/CDIChat.java#L76) > Unfortunately this exception is also only logged at TRACE level. > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/CDI-not-working-inside-EAR-with-Atmosphere-BeanManager-tp4668939p4668943.html > Sent from the OpenEJB User mailing list archive at Nabble.com.