Ill try to have a look at least on monday. If you can share anything ...;) Le 23 nov. 2012 16:31, "Luca Merolla" <luca.mero...@gmail.com> a écrit :
> Yes, my latest snapshot is apache-tomee-1.5.1-20121123.041702-83-plus.zip > > > On Fri, Nov 23, 2012 at 3:43 PM, Romain Manni-Bucau > <rmannibu...@gmail.com>wrote: > > > Hi, > > > > Did you try it with today snapshot? > > Le 23 nov. 2012 15:24, "Luca Merolla" <luca.mero...@gmail.com> a écrit : > > > > > I can confirm that it is an issue with CDI @Inject. I have added > > > > > > @Inject private ObjectMapper jsonProvider; > > > > > > In the servlet and the servlet is not initialized anymore. By removing > > the > > > @Inject it works. > > > Here is the code of my dummy servlet http://pastebin.com/xzLxFLg3 > > > > > > > > > > > > On Fri, Nov 23, 2012 at 3:13 PM, Luca Merolla <luca.mero...@gmail.com > > > >wrote: > > > > > > > Hi everyone, > > > > > > > > I have a strange problem with WebSocket connections in the latest > > > > snapshots, probably I have this issue since a week... > > > > > > > > When I try to connect to my WebSocket Servlet with my test class I > get > > > the > > > > following exception http://pastebin.com/y6G6VRux > > > > > > > > I have tried to create a simple WebSocketServlet and it was enough to > > > > remove some @Inject points from the servlet in order to make it > work... > > > so > > > > this made me think that there is still an issue with CDI and EAR. > > > > > > > > Another interesting fact is that I have 3 WebSocketServlets. 2 real > and > > > > one dummy to make the test. In the logs I can see that only the dummy > > one > > > > and 1 of the 2 real ones is initialized... however I have no > exception > > in > > > > the logs and still of the initialized servlets only the dummy one > > works. > > > > > > > > I'm using the latest snapshot from today, but the issue was already > > > > present on the 15th of November > > > > > > > > I'll try to make an example to reproduce the issue > > > > > > > > Luca > > > > > > > > > > > > > > > > > > > > > -- > > > *Luca Merolla* > > > Management, Business & Technology Consultant > > > > > > > > > <http://maps.google.com/maps?q=&hl=en> *Mobile:* +393774569974 > > > *Email:* l...@merollaconsulting.com > > > *www.linkedin.com/in/lucamerolla* > > > *Website <http://www.merollaconsulting.com>* > > > > > > > > > Merolla Consulting Limited > > > > > > > > > -- > *Luca Merolla* > Management, Business & Technology Consultant > > > <http://maps.google.com/maps?q=&hl=en> *Mobile:* +393774569974 > *Email:* l...@merollaconsulting.com > *www.linkedin.com/in/lucamerolla* > *Website <http://www.merollaconsulting.com>* > > > Merolla Consulting Limited >