Re: Arquillian @Singleton and @Startup

2013-02-24 Thread Romain Manni-Bucau
Hmm, can be an issue of embedded case too. Would be great if you could reproduce it. Basically means openejb-jpa-integration (added to the webapp automatically) doesnt find jtaplatform (hibernate...maybe loaded from appclassloader)...be sure hibernate is not in the test classpath to go further Le

Re: Arquillian @Singleton and @Startup

2013-02-24 Thread Luca Merolla
I have dumped the WebArchive and I have dropped in TomEE and it deploy without errors. I have a basic structure with the same "resources" files and only one simple test and it works with arquillian too. Instead, if I have use the same structure but I add all the java files of my project it fails

Re: tomee + eclipselink => NoClassDefFoundError/ClassNotFoundException

2013-02-24 Thread Howard W. Smith, Jr.
okay, well, my app is working well with eclipselink JAR in tomee/lib and eclipselink specified as jpa provider in persistence.xml. :) On Sun, Feb 24, 2013 at 10:52 AM, Romain Manni-Bucau wrote: > tomee only brings openjpa but custom jpa providers can be in the webapp. > > the only constraint is

Re: tomee + eclipselink => NoClassDefFoundError/ClassNotFoundException

2013-02-24 Thread Romain Manni-Bucau
tomee only brings openjpa but custom jpa providers can be in the webapp. the only constraint is to not bring back another time jpa api jar. *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/*

Re: tomee + eclipselink => NoClassDefFoundError/ClassNotFoundException

2013-02-24 Thread Howard W. Smith, Jr.
1. Okay. I opted out of the dynamic weaving option; sometime later, I may try to configure static weaving. > there are multiple packages of eclipselinks and one without the api 2. hmm, don't really understand; prior to this attempt to do dynamic weaving, my app has been running fine in TomEE 1.5.

Re: tomee + eclipselink => NoClassDefFoundError/ClassNotFoundException

2013-02-24 Thread Romain Manni-Bucau
IIRC eclipselink javaagent looks in AppClassLoader for its classes (so of course it fails) That said if eclipselink add a correct ClassFileTransformer (i think so) through its persistence unit openejb-javaagent (present by default) will add instrumentation at load time. So basically nothing parti

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

2013-02-24 Thread Romain Manni-Bucau
http://localhost:8080/cdi-webcontext-1.0-SNAPSHOT/webservices/PersonSoap?wsdlworks fine (tested on trunk to avoid to download another version) *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/*

Re: Non-EJB @WebService?

2013-02-24 Thread Romain Manni-Bucau
you can either use glassfish descriptor (don't recall exact details but did it several times before next option was available) or openejb-jar.xml ( http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/change-jaxws-url/src/main/resources/META-INF/openejb-jar.xml ) for pojo webservices it is t

Re: tomee + eclipselink => NoClassDefFoundError/ClassNotFoundException

2013-02-24 Thread smithh032772
Yes, i know, old topic, but when I searched google for the exception, it lead me to this, so I thought...why not see if I can resolve this issue via what is mentioned in this thread. :) Background: of course, my app is running really really well on TomEE 1.5.2-snapshot (not the latest version), so