Re: Tomee and security-role-mapping

2013-06-10 Thread Romain Manni-Bucau
can you reproduce it in a junit? *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: https://github.com/rmannibucau* 2013/6/10

Re: Construct EJB from a separate JAR file

2013-06-10 Thread Romain Manni-Bucau
Hi, which version? did you put a beans.xml in META-INF of the jar? *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: Construct EJB from a separate JAR file

2013-06-10 Thread zeddius
We run 1.5.1 release. We have beans.xml located in webapp/myapp/WEB-INF/beans.xml. Do we have to put beans.xml in META-INF of the distributed jar file? What should we put there? -- View this message in context:

Re: Tomee and security-role-mapping

2013-06-10 Thread Romain Manni-Bucau
should be fine on current trunk *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: https://github.com/rmannibucau* 2013/6/10

Re: Construct EJB from a separate JAR file

2013-06-10 Thread Romain Manni-Bucau
yes put an empty beans.xml in META-INF in your archive *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: Construct EJB from a separate JAR file

2013-06-10 Thread zeddius
Unfortunately this didn't help Is there any way how to put TomEE into a verbose mode to check why that bean is not visible? -- View this message in context: http://openejb.979440.n4.nabble.com/Construct-EJB-from-a-separate-JAR-file-tp4663583p4663589.html Sent from the OpenEJB User mailing

Re: Construct EJB from a separate JAR file

2013-06-10 Thread John D. Ament
So, where is LoggerBuilder defined? same JAR or a different JAR? On Mon, Jun 10, 2013 at 9:15 AM, zeddius avalyu...@gmail.com wrote: Unfortunately this didn't help Is there any way how to put TomEE into a verbose mode to check why that bean is not visible? -- View this message in

Re: Construct EJB from a separate JAR file

2013-06-10 Thread zeddius
/LoggerBuilder /is defined in the same jar as /LoggingInterceptor/. And we put this jar in our application WEB-INF/lib dir. It seems that /LoggingInterceptor /is visible because we declare it in beans.xml which is located in WEB-INF. -- View this message in context:

Re: Context Loader element ignored TOMEE 1.5.2

2013-06-10 Thread Romain Manni-Bucau
Can you share a sample showing it on github? Le 10 juin 2013 18:54, CThorburn cthorbu...@gmail.com a écrit : Nope, no sign of it under 1.6 either. NB it's simply a subclass of org.apache.catalina.loader.WebappClassLoader with the constructors and get/findResource(s) overridden to do a

Re: CODI + TomEE + ManagedBean with public attributes

2013-06-10 Thread Howard W. Smith, Jr.
Jose, Interesting. I think i have plenty of (CDI) managed beans with public attributes, which are referenced by xhtml files and .java classes in my web app (WAR), but I don't have CODI dependency. What versions of CODI and TomEE are you using? Howard On Mon, Jun 10, 2013 at 2:02 PM, José Luis

Re: CODI + TomEE + ManagedBean with public attributes

2013-06-10 Thread José Luis Cetina
CODI 1.5 and TomEE 1.6.0-Snapshot. :) El 10/06/2013 16:28, Howard W. Smith, Jr. smithh032...@gmail.com escribió: Interesting. Caused by: java.lang.IllegalStateException: no org.apache.myfaces.extensions.cdi.core.api.provider.BeanManagerProvider in place! Please ensure that you configured

Re: CODI + TomEE + ManagedBean with public attributes

2013-06-10 Thread Howard W. Smith, Jr.
Latest TomEE 1.6.0-snapshot (trunk) ? On Mon, Jun 10, 2013 at 8:50 PM, José Luis Cetina maxtorz...@gmail.comwrote: CODI 1.5 and TomEE 1.6.0-Snapshot. :) El 10/06/2013 16:28, Howard W. Smith, Jr. smithh032...@gmail.com escribió: Interesting. Caused by:

Re: CODI + TomEE + ManagedBean with public attributes

2013-06-10 Thread José Luis Cetina
Yes. Maven download always the lastest snapshot. El 10/06/2013 19:54, Howard W. Smith, Jr. smithh032...@gmail.com escribió: Latest TomEE 1.6.0-snapshot (trunk) ? On Mon, Jun 10, 2013 at 8:50 PM, José Luis Cetina maxtorz...@gmail.com wrote: CODI 1.5 and TomEE 1.6.0-Snapshot. :) El

Re: CODI + TomEE + ManagedBean with public attributes

2013-06-10 Thread Romain Manni-Bucau
Hi Didnt you put some part of your app in tomee/lib? Le 11 juin 2013 02:58, José Luis Cetina maxtorz...@gmail.com a écrit : Yes. Maven download always the lastest snapshot. El 10/06/2013 19:54, Howard W. Smith, Jr. smithh032...@gmail.com escribió: Latest TomEE 1.6.0-snapshot (trunk) ?

Re: CODI + TomEE + ManagedBean with public attributes

2013-06-10 Thread Romain Manni-Bucau
Hmm, is it still a cdi bean then? I mean isnt there anything preventing it to be proxied or anything in the idea preventing it to be a cdi bean? Le 11 juin 2013 06:49, José Luis Cetina maxtorz...@gmail.com a écrit : Nop. If i just mark the fields as private the error goes away. El 10/06/2013