Re: Classloader woes: EAR containing an RAR

2018-07-31 Thread Romain Manni-Bucau
I am happy to help you using the rar if you can setup a reproducer project but for kafka gain is pretty low and being cdi based opens more doors like composing with decorators, getting a better error handling than EJB, getting rid of some useless layer for kafka etc...but we can still do the exerci

Re: Classloader woes: EAR containing an RAR

2018-07-31 Thread ChrisOwens
Romain Manni-Bucau wrote > Rar is kind of really overkill for any new code in java 6 but if you > already have the connector it is fine to deploy it but quite rare. I would love to get rid of the rar file and the whole deployment mess. Thus far, I have tried putting the sources for the java clas

Re: Classloader woes: EAR containing an RAR

2018-07-31 Thread ChrisOwens
Romain Manni-Bucau wrote > If your goal is really to interact with kafka - and you dont care of rar > by > themselves - i would recommand to use a cdi extension, > you can find several on the net like > https://github.com/bgjug/kafka-cdi-extension and > https://github.com/aerogear/kafka-cdi Thank

Re: Classloader woes: EAR containing an RAR

2018-07-31 Thread Romain Manni-Bucau
Le mar. 31 juil. 2018 à 17:21, ChrisOwens a écrit : > Romain Manni-Bucau wrote > > 1. self contained and not used in another modules (ejb or web) -> you > > register it in tomee.xml (in > > > > + config if needed) and that's it > > What does "+ config if needed" mean? I think you mean I should

Re: Classloader woes: EAR containing an RAR

2018-07-31 Thread Romain Manni-Bucau
Le mar. 31 juil. 2018 à 17:22, ChrisOwens a écrit : > Romain Manni-Bucau wrote > > Are you able to push a reproducer on github with the tomee-maven-plugin > > configured? > > I'm working on that now. I don't usually use the tomee-maven-plugin, so I > thought I would check the documentation here

Re: Classloader woes: EAR containing an RAR

2018-07-31 Thread ChrisOwens
Romain Manni-Bucau wrote > Are you able to push a reproducer on github with the tomee-maven-plugin > configured? I'm working on that now. I don't usually use the tomee-maven-plugin, so I thought I would check the documentation here . The version

Re: Classloader woes: EAR containing an RAR

2018-07-31 Thread ChrisOwens
Romain Manni-Bucau wrote > 1. self contained and not used in another modules (ejb or web) -> you > register it in tomee.xml (in > > + config if needed) and that's it What does "+ config if needed" mean? I think you mean I should put some config information somewhere. Where? In some XML file? In

Re: Classloader woes: EAR containing an RAR

2018-07-31 Thread Romain Manni-Bucau
Hi, "it" meant the connector api Hi level you have mainly 2 cases for rars (i ignore the webapp nested war support here): 1. self contained and not used in another modules (ejb or web) -> you register it in tomee.xml (in + config if needed) and that's it 2. you use it as a connector for another

Re: Classloader woes: EAR containing an RAR

2018-07-31 Thread ChrisOwens
Let me ask what I hope is a simpler question, but 2 days of searching online lead me to believe that lots of people have this problem and there is no documented solution. 1) I have a RAR file that describes a JCA connector. 2) I would like to use it with TomEE. 3) What should I do? -- S

Re: Classloader woes: EAR containing an RAR

2018-07-31 Thread ChrisOwens
Romain Manni-Bucau wrote > Hi > > The api part of the rar should be shared so put * > it * > in tomee/lib (or the ear > lib module). Thanks Romain 1) "It" refers to what? The rar file? the API part of the rar, as an ordinary jar? 2) "tomee/lib"? That means $CATALINA_HOME/lib? 3) "the ear

Re: Classloader woes: EAR containing an RAR

2018-07-31 Thread ChrisOwens
Romain Manni-Bucau wrote > The api part of the rar should be shared so put * > it * > in tomee/lib (or the ear > lib module). Thanks Romain 1) "It" refers to what? The rar file? the API part of the rar, as an ordinary jar? 2) "tomee/lib"? That means $CATALINA_HOME/lib? 3) "the ear lib mod

Re: More MicroProfile in TomEE 8

2018-07-31 Thread Roberto Cortez
Thanks! I'll have a look! On Tuesday, July 31, 2018, 10:58:43 AM GMT+1, Romain Manni-Bucau wrote: Hi Roberto, Good move! if you want a MP 2 + all other spec you can use this pom as dependency directly (and drop tomee jwt-auth impl): https://gitbox.apache.org/repos/asf?p=geronimo-micro

Re: More MicroProfile in TomEE 8

2018-07-31 Thread Romain Manni-Bucau
Hi Roberto, Good move! if you want a MP 2 + all other spec you can use this pom as dependency directly (and drop tomee jwt-auth impl): https://gitbox.apache.org/repos/asf?p=geronimo-microprofile.git;a=blob;f=geronimo-microprofile-aggregator/pom.xml;h=4b79911b5320cd6e05f7baa40d4e87abef639d06;hb=HE

More MicroProfile in TomEE 8

2018-07-31 Thread Roberto Cortez
Hi, I've been working on adding the MP specs into TomEE, using the Geronimo projects.  In this PR, https://github.com/apache/tomee/pull/141, I've added the specs up to MP 1.2, that includes Fault Tolerance, JWT, Metrics, Health Check and Config. There are a couple of failing tests in Metrics and