Re: wicket-cdi and TomEE

2013-01-04 Thread Kurt Sys
Hey Bertrand, I do get No suitable constructor found for injection target class : [class org.apache.wicket.cdi.DetachEventEmitter]. produce() method does not work! I don't think it matters a lot. I must be something like: it doesn't find the right constructor for the annotated type (maybe

Re: wicket-cdi and TomEE

2013-01-03 Thread Bertrand Guay-Paquet
Thanks to you both for you help. Here's what I did so far: -Upgraded from TomEE 1.0.0 to 1.5.1 (not sure if that made a change, but it was a todo anyway) -Removing the seam-conversation-weld dependency -Finally, added the following section to my pom: dependencyManagement dependencies

wicket-cdi and TomEE

2012-12-20 Thread Bertrand Guay-Paquet
Hi, My web application contains EJB stateless beans which I currently access in Wicket through JNDI injection with the wicketstuff-javaee-inject project. With Wicket 6.4.0, I am trying out CDI (@inject) but can't get it to work on the TomEE Java EE application server. In my Application

Re: wicket-cdi and TomEE

2012-12-20 Thread Igor Vaynberg
looks like you have two jars on the classpath that provide the javax.enterprise.inject.spi.BeanManager interface. maybe one comes with wicket-cdi and the other one is included in tomee... -igor On Thu, Dec 20, 2012 at 12:54 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote:

Re: wicket-cdi and TomEE

2012-12-20 Thread Kurt Sys
Hey, I got it all working (wicket+tomee) I had some posts to this list to get it to work: http://mail-archives.apache.org/mod_mbox/wicket-users/201211.mbox/%3ccadltzbdlypzbbv-piofedam7unf2nt1dqvdvy4ttguaymu0...@mail.gmail.com%3E I posted most of my configs in here, you don't need weld-stuff:

Re: wicket-cdi and TomEE

2012-12-20 Thread Kurt Sys
... forgot this one: my full system setup, used jars etc. http://openejb.979440.n4.nabble.com/tomee-eclipselink-gt-NoClassDefFoundError-ClassNotFoundException-td4658870.html Kurt 2012/12/20 Igor Vaynberg igor.vaynb...@gmail.com: looks like you have two jars on the classpath that provide the