Arquillian @Singleton and @Startup

2013-02-23 Thread Luca Merolla
Hi all, are @Singleton and @Startup annotations working with Arquillian and TomEE embedded. I have been testing for a while and the only beans that are causing me problems are the ones annotated with these two annotations. Is there something that I need to add, or simply it is not supported at

Re: Arquillian @Singleton and @Startup

2013-02-23 Thread Romain Manni-Bucau
Hi Luca, It works, what's the error? Le 23 févr. 2013 10:54, Luca Merolla luca.mero...@gmail.com a écrit : Hi all, are @Singleton and @Startup annotations working with Arquillian and TomEE embedded. I have been testing for a while and the only beans that are causing me problems are the

Re: Arquillian @Singleton and @Startup

2013-02-23 Thread Romain Manni-Bucau
I dont think so. Remove hibernate jpa api jar please Le 23 févr. 2013 18:16, Luca Merolla luca.mero...@gmail.com a écrit : @Romain, I have increased the log and I'm doing some further investigations. I'm using Hibernate as persistence provider and I have an exception:

Re: Arquillian @Singleton and @Startup

2013-02-23 Thread John D. Ament
Luca, Are you packaging hibernate's JARs in to your WAR before deploying to TomEE? On Sat, Feb 23, 2013 at 12:20 PM, Romain Manni-Bucau rmannibu...@gmail.comwrote: I dont think so. Remove hibernate jpa api jar please Le 23 févr. 2013 18:16, Luca Merolla luca.mero...@gmail.com a écrit :

Feeling silly - where's my soap service?

2013-02-23 Thread James Green
Decided to do some testing. Created the following and deployed to localhost in a maven project named cdi-webcontext-1.0-SNAPSHOT: package com.github.jmkgreen.tomee; import javax.ejb.Stateless; import javax.jws.WebMethod; import javax.jws.WebService; @Stateless @WebService(portName = Person,

Re: Feeling silly - where's my soap service?

2013-02-23 Thread John D. Ament
Are you deploying to TomEE Plus? On Sat, Feb 23, 2013 at 12:27 PM, James Green james.mk.gr...@gmail.comwrote: Decided to do some testing. Created the following and deployed to localhost in a maven project named cdi-webcontext-1.0-SNAPSHOT: package com.github.jmkgreen.tomee; import

Re: Feeling silly - where's my soap service?

2013-02-23 Thread Romain Manni-Bucau
you should get a line WebService(wsdl=...) in the logs *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github:

Re: Feeling silly - where's my soap service?

2013-02-23 Thread Romain Manni-Bucau
can you reproduce it and share your app? we have tests on webservices and it works fine *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*

Re: Feeling silly - where's my soap service?

2013-02-23 Thread James Green
https://github.com/jmkgreen/tomee-cditest be my guest. Normally I create projects in Netbeans but since I recently bought an Intelli license I decided to use that instead - as a result it's entirely possible that the project is missing something. Keep this in mind. Thanks, James On 23

Non-EJB @WebService?

2013-02-23 Thread James Green
If I deploy my test app into TomEE with a class annotated @WebService but without any EJB annotations, I get a crash from OpenEJB. I've seen many examples of web services not needing to be EJBs. Is this therefore a requirement of TomEE? Glassfish seems happy without needing @Stateless for

Re: Non-EJB @WebService?

2013-02-23 Thread Romain Manni-Bucau
No but youll need to declare them in web.xml as a servlet Le 23 févr. 2013 23:35, James Green james.mk.gr...@gmail.com a écrit : If I deploy my test app into TomEE with a class annotated @WebService but without any EJB annotations, I get a crash from OpenEJB. I've seen many examples of web