Re: tomee and jca in ear

2015-01-15 Thread Romain Manni-Bucau
no idea, mainly curious but did you try to package it as a normal war? Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-15 16:45 GMT+01:00 hwaastad he...@waastad.org: Okey, I moved my classes and implementation

Re: JAX-RS Testing with JAX-RS 2.0 Client

2015-01-15 Thread Romain Manni-Bucau
I meant client providers are not auto registered AFAIK Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-15 18:40 GMT+01:00 jieryn jie...@gmail.com: Even removing the resteasy-jaxb-provider and

Re: JAX-RS Testing with JAX-RS 2.0 Client

2015-01-15 Thread jieryn
Even removing the resteasy-jaxb-provider and resteasy-json-p-provider yields the same result. On Thu, Jan 15, 2015 at 11:57 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: hi isnt it just cause different providers are registered? Romain Manni-Bucau @rmannibucau

Re: JAX-RS Testing with JAX-RS 2.0 Client

2015-01-15 Thread Romain Manni-Bucau
you didnt mix api versions? Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-15 19:28 GMT+01:00 jieryn jie...@gmail.com: Oh, hm, I'm seeing something else strange now: java.lang.NoSuchMethodError:

Re: JAX-RS Testing with JAX-RS 2.0 Client

2015-01-15 Thread Romain Manni-Bucau
hi isnt it just cause different providers are registered? Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-15 17:41 GMT+01:00 jieryn jie...@gmail.com: https://github.com/jieryn/javaee-example Would someone

Re: tomee and jca in ear

2015-01-15 Thread Jonathan Gallimore
On Thu, Jan 15, 2015 at 2:12 PM, hwaastad he...@waastad.org wrote: @Jonathan Adding the ra.xml makes the adapter start.Great, thanks. (but it should not be needed, am I right?) Correct - I think that's a bug. Can you file a JIRA for that? But then, it fails: Type class could not be found:

Re: tomee and jca in ear

2015-01-15 Thread Romain Manni-Bucau
think we are good https://docs.oracle.com/javaee/7/tutorial/packaging004.htm just a packaging issue Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-15 15:37 GMT+01:00 Jonathan Gallimore

JAX-RS Testing with JAX-RS 2.0 Client

2015-01-15 Thread jieryn
https://github.com/jieryn/javaee-example Would someone please give that small example project a try (mvn install)? The same tests using JAX-RS 2.0 Client library (via jboss resteasy) fail, but work with Apache Wink's native client. I'm also seeing other weird errors with not being able to

Re: tomee and jca in ear

2015-01-15 Thread hwaastad
Okey, I moved my classes and implementation to a separate library and made this a dep in the rar project. Now I do not need the ra.xml file and I belive It will work. I'll keep you posted if I hit another challenge :-) Does anyone have a short explaination why it's not possible to have an rar

Re: JAX-RS Testing with JAX-RS 2.0 Client

2015-01-15 Thread Romain Manni-Bucau
is it TomEE 1? Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-15 20:16 GMT+01:00 jieryn jie...@gmail.com: Looks like org.apache.openejb:javaee-api is going to always be included since I am using TomEE for the

Re: EJBContainerRule

2015-01-15 Thread UncleLongHair
Is there a bug report on this? I've run into the same thing. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/EJBContainerRule-tp4672205p4673402.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: JAX-RS Testing with JAX-RS 2.0 Client

2015-01-15 Thread jieryn
Looks like org.apache.openejb:javaee-api is going to always be included since I am using TomEE for the container. And that one is in conflict with the JAX-RS 2.0 Client library, argh. On Thu, Jan 15, 2015 at 2:02 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: you didnt mix api versions?

Re: JAX-RS Testing with JAX-RS 2.0 Client

2015-01-15 Thread Romain Manni-Bucau
guess api are not sorted correctly in maven Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-15 20:43 GMT+01:00 jieryn jie...@gmail.com: https://github.com/jieryn/javaee-example -- TomEE 1.7.1 On Thu, Jan 15,

Re: EJBContainerRule

2015-01-15 Thread Romain Manni-Bucau
It is fixed on trunk afaik. Did you try the snapshot? Le 15 janv. 2015 22:41, UncleLongHair open...@tidd.cc a écrit : Is there a bug report on this? I've run into the same thing. -- View this message in context:

jars.txt in jar with EJBs?

2015-01-15 Thread chriskriel
jars.txt is a feature that I really like about Tomee but it only seems to work for wars, or am I mistaken? -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/jars-txt-in-jar-with-EJBs-tp4673404.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: jars.txt in jar with EJBs?

2015-01-15 Thread Romain Manni-Bucau
Hi IIRC works with ear as well but not single jars for sure. Le 16 janv. 2015 07:09, chriskriel chris.kr...@vcontractor.co.za a écrit : jars.txt is a feature that I really like about Tomee but it only seems to work for wars, or am I mistaken? -- View this message in context:

tomee and jca in ear

2015-01-15 Thread hwaastad
Hi, I've started my long and winding road to get a JCA working in an ear project. It's pretty simple, ear with rar and ejb but it will not deploy successfully. It tells me to send an email to users@tomee.apache.org :-) SEVERE: FATAL ERROR: Unknown error in Assembler. Please send the following

Re: tomee and jca in ear

2015-01-15 Thread hwaastad
Sure, here it is: -- SEVERE: FATAL ERROR: Unknown error in Assembler. Please send the following stack trace and this message to users@tomee.apache.org : java.lang.NullPointerException at

Re: tomee and jca in ear

2015-01-15 Thread hwaastad
Hi, yes: @Connector impl Resourceadapter br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/tomee-and-jca-in-ear-tp4673376p4673380.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: tomee and jca in ear

2015-01-15 Thread Romain Manni-Bucau
Hi do you have the full stack trace/logs? Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-15 12:09 GMT+01:00 hwaastad he...@waastad.org: Hi, I've started my long and winding road to get a JCA working in an ear

Re: tomee and jca in ear

2015-01-15 Thread Romain Manni-Bucau
Does your connector has a resource adapter? Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-15 12:21 GMT+01:00 hwaastad he...@waastad.org: Sure, here it is: -- SEVERE: FATAL ERROR: Unknown error in

Re: tomee and jca in ear

2015-01-15 Thread Romain Manni-Bucau
Not exactly what I was looking for not a big deal but can you provide us a sample, would be faster? Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-15 12:32 GMT+01:00 hwaastad he...@waastad.org: Hi, yes:

Re: tomee and jca in ear

2015-01-15 Thread Jonathan Gallimore
At first glance it looks like a bug. Can you try adding a META-INF/ra.xml to your .rar and seeing if that works as a workaround? I'm thinking something along these lines: https://gist.github.com/jgallimore/44d6fbae796e61a5baa9 Thanks Jon On Thu, Jan 15, 2015 at 11:45 AM, hwaastad

Re: tomee and jca in ear

2015-01-15 Thread hwaastad
Hi, https://github.com/hwaastad/TomEEJcaTest.git It's not in particular interesting yet I see in GF at least that the adapter is starting br -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/tomee-and-jca-in-ear-tp4673376p4673382.html Sent from the TomEE

Re: tomee and jca in ear

2015-01-15 Thread Romain Manni-Bucau
Hmm you rar doesn't contain a jar. That's the issue. We fail a bit bruttally but just cause we didnt find anything. Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-15 13:20 GMT+01:00 Jonathan Gallimore

Re: tomee and jca in ear

2015-01-15 Thread hwaastad
@Jonathan Adding the ra.xml makes the adapter start.Great, thanks. (but it should not be needed, am I right?) But then, it fails: Type class could not be found: org.waastad.fileenterprise.rar.FileResourceAdapter and I guess this is caused by what Romain is saying. Is there a requirement for

Re: tomee and jca in ear

2015-01-15 Thread Romain Manni-Bucau
Didnt check yet EE7 but has been the case before yes. BTW it would be easy to fix just adding the rar File in its libraries in our FinderFactory. Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-15 15:12 GMT+01:00