Re: Does tomee plus support ValidatingManagedConnectionFactory?

2013-01-10 Thread Romain Manni-Bucau
I dont know this one but. You can still pre init it in a singleton startup but you are right that's weird. Le 11 janv. 2013 02:51, "Anthony Fryer" a écrit : > Is there a reason for that design? If connection creation is expensive, > then > you're paying the cost and have to wait when you get the

Re: Does tomee plus support ValidatingManagedConnectionFactory?

2013-01-10 Thread Anthony Fryer
Is there a reason for that design? If connection creation is expensive, then you're paying the cost and have to wait when you get the first connection, with the client blocking until the connection is created. -- View this message in context: http://openejb.979440.n4.nabble.com/Does-tomee-plus

Re: Secure EJBs testing with Arquillian

2013-01-10 Thread John D. Ament
Just a hunch. If you're EAO does what I expect (database interaction), did you include a persistence.xml (assuming you're using JPA) in your deployment? Do you need to declare any JNDI datasources? John On Thu, Jan 10, 2013 at 4:36 PM, Romain Manni-Bucau wrote: > typically you should look a bi

Re: Secure EJBs testing with Arquillian

2013-01-10 Thread Romain Manni-Bucau
typically you should look a bit upper in the logs to find the real reason, it is logged in warning or severe level. *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://fr.

Re: Secure EJBs testing with Arquillian

2013-01-10 Thread Luca Merolla
Yes I have added users.properties and groups.properties and now the authorization is working. I have still problems with "sub-dependencies". For example, if I create a CountryBeanTest with arquillian and CountryBean looks like that: public class CountryBean implements CountryBeanLocal { @EJB priv

Re: TomEE 1.5.1-SNAPSHOT: strange JPA behavior

2013-01-10 Thread Romain Manni-Bucau
Thanks for the report! Here the fix: https://issues.apache.org/jira/browse/TOMEE-720 Using commons dbcp instead of tomcat jdbc you shouldn't get this behavior *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/*

Re: TomEE 1.5.1-SNAPSHOT: strange JPA behavior

2013-01-10 Thread diuis
Hi Romain, Hi all, finally I wrote a little sample to reproduce the strange JPA behavior. Please, download it from github: git clone https://github.com/diuis/test-jpa-tx.git change directory: cd test-jpa-tx/ and run TomEE 1.5.1: mvn package tomee:run I wrote a simple REST service; you could

Re: Does tomee plus support ValidatingManagedConnectionFactory?

2013-01-10 Thread Anthony Fryer
I've done more testing and it seems that using resources.xml is not working how i thought it would. If i configure a pool in resources.xml as follows... poolMinSize = 7 poolMaxSize = 10 When I start tomee, the following is printed out... Tomca

AW: Configuring Apache CXF in TomEE

2013-01-10 Thread dmitry.volkov
It works! Thank you. -Ursprüngliche Nachricht- Von: Romain Manni-Bucau [mailto:rmannibu...@gmail.com] Gesendet: Mittwoch, 9. Januar 2013 22:46 An: users@openejb.apache.org Betreff: Re: Configuring Apache CXF in TomEE ok so first put it in WEB-INF, it is looked up here for sure then mea