Re: JDBC Transactions vs EJBs and @TransactionAttribute(...) and more...

2014-10-14 Thread Romain Manni-Bucau
Hi that's the global idea yes about transaction manager: http://grepcode.com/file/repo1.maven.org/maven2/org.apache.geronimo.components/geronimo-transaction/3.1.1/org/apache/geronimo/transaction/manager/TransactionManagerImpl.java#TransactionManagerImpl is th eone idea is simple: invoke register

Re: Multiple persistence.xml in different jars

2014-10-14 Thread Romain Manni-Bucau
both versions are not compatible so surely it is ;) Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-10-15 1:49 GMT+02:00 Mansour Al Akeel : > I will try to locate the file you mentioned "scan.xml" and have a look. > T

Re: Multiple persistence.xml in different jars

2014-10-14 Thread Mansour Al Akeel
I will try to locate the file you mentioned "scan.xml" and have a look. There could be many possibilities. The one that comes to my mind is the two versions of OpenEJB jars. Since I am working with Maven plugin, the plugin references openejb 4.7.1 and the project I have has openejb as a dependency.

Re: JDBC Transactions vs EJBs and @TransactionAttribute(...) and more...

2014-10-14 Thread Lars-Fredrik Smedberg
Hi Romain Thanks for the link to the ManagedConnection, some questions on it (so I understand it correctly) - The connection is bound to the tx when the first method is called on the connect (except for toString, equals and hashcode), and if its not already bound, correct? - Do I understand corre

Re: Multiple persistence.xml in different jars

2014-10-14 Thread Romain Manni-Bucau
2014-10-15 1:06 GMT+02:00 Mansour Al Akeel : > upgrading to 4.7.1 resolved the problem, but now back again to a > problem I saw earlier. > > Oct 14, 2014 6:59:22 PM org.apache.openejb.OpenEJB$Instance > SEVERE: OpenEJB has encountered a fatal error and cannot be started: > The Assembler encountere

Re: Multiple persistence.xml in different jars

2014-10-14 Thread Mansour Al Akeel
upgrading to 4.7.1 resolved the problem, but now back again to a problem I saw earlier. Oct 14, 2014 6:59:22 PM org.apache.openejb.OpenEJB$Instance SEVERE: OpenEJB has encountered a fatal error and cannot be started: The Assembler encountered an unexpected error while attempting to build the cont

Re: JDBC Transactions vs EJBs and @TransactionAttribute(...) and more...

2014-10-14 Thread Romain Manni-Bucau
Hi this is actually more bound to JTA (you can read http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/resource/jdbc/managed/local/ManagedConnection.java) 2014-10-15 0:14 GMT+02:00 Lars-Fredrik Smedberg : > Hi > > Using JDBC, creating a conn

JDBC Transactions vs EJBs and @TransactionAttribute(...) and more...

2014-10-14 Thread Lars-Fredrik Smedberg
Hi Using JDBC, creating a connection and setting it to auto commit false to be able to group more than one statement into a single transaction I understand. - Is it possible to compare that to an EJB with a @TransactionAttribute set? I would like to understand more in detail how the EJB handles t

Re: ActiveMQ failover

2014-10-14 Thread Andy Gumbrecht
Matej, This is the connection string I used on an app that runs 24/7/365 - And so far hasn't missed a beat since 2012. failover:(nio://IPADDRESS:PORT?soTimeout=6&daemon=true&keepAlive=true&connectionTimeout=12&wireFormat.tcpNoDelayEnabled=true&wireFormat.maxInactivityDuration=48&wi

Re: Feedback on TomEE 1.7.1

2014-10-14 Thread Andy Gumbrecht
Hi Bejoy, Glad you got this worked out and thanks for your feedback. Andy. On 14/10/2014 17:49, Bejoy Abraham Mathews wrote: Please ignore. I made a mistake in the URLs that I used for download. Thank you. On Mon, Oct 13, 2014 at 4:55 PM, Bejoy Abraham Mathews < bejoy.abra...@gmail.com> wrote

Re: Feedback on TomEE 1.7.1

2014-10-14 Thread Bejoy Abraham Mathews
Please ignore. I made a mistake in the URLs that I used for download. Thank you. On Mon, Oct 13, 2014 at 4:55 PM, Bejoy Abraham Mathews < bejoy.abra...@gmail.com> wrote: > And if I try to deploy the tomee war as tomee.war and start the tomcat, it > gives the following error... > > Oct 13, 2014 4:

Re: Apache TomEE 1.7.0 Release

2014-10-14 Thread Howard W. Smith, Jr.
Okay, here it is, Andy/Romain. tomee 1.7.0 release stated the following; so, I did read/remember it wrong. :) On Fri, Aug 15, 2014 at 8:58 AM, Andy Gumbrecht wrote: > Core development will now move to the TomEE 2.x EE7 binaries, but the > 1.7.x branch will also be a active for the foreseeable fu

Re: Multiple persistence.xml in different jars

2014-10-14 Thread Romain Manni-Bucau
Maybe try a more recent version cause we changed several things and some of them were impacting in maven environment. Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-10-14 17:06 GMT+02:00 Mansour Al Akeel : > No. I am

Re: Multiple persistence.xml in different jars

2014-10-14 Thread Mansour Al Akeel
No. I am using openejb embedded 4.6.0 On Tue, Oct 14, 2014 at 10:43 AM, Romain Manni-Bucau wrote: > asm4? you are not on tomee 1.7? > > > Romain Manni-Bucau > @rmannibucau > http://www.tomitribe.com > http://rmannibucau.wordpress.com > https://github.com/rmannibucau > > > 2014-10-14 16:40 GMT+02

Re: TomEE 1.7.2 + Tomcat 7.0.56?

2014-10-14 Thread Romain Manni-Bucau
the last time 1.7 was trunk but maintenance banch is alive :) Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-10-14 16:45 GMT+02:00 Howard W. Smith, Jr. : > I thought the tomee 1.7.1 release email said that this is th

Re: TomEE 1.7.2 + Tomcat 7.0.56?

2014-10-14 Thread Howard W. Smith, Jr.
I thought the tomee 1.7.1 release email said that this is the last 1.7.x release and focus is on tomee 2.x,now. I might have read that wrong though. :-) On Oct 14, 2014 9:59 AM, "Andy Gumbrecht" wrote: > Hi Howard, > > What gave you the impression that there would be no more 1.7.x releases? > On

Re: Multiple persistence.xml in different jars

2014-10-14 Thread Romain Manni-Bucau
asm4? you are not on tomee 1.7? Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-10-14 16:40 GMT+02:00 Mansour Al Akeel : > Thank you Romain. > The target/classes was in the class path, but the size of the url array wa

Re: Multiple persistence.xml in different jars

2014-10-14 Thread Mansour Al Akeel
Thank you Romain. The target/classes was in the class path, but the size of the url array was 0. This was helpful. I am getting another error, that I was not able to understand. SEVERE: FATAL ERROR: Unknown error in Assembler. Please send the following stack trace and this message to us...@opene

Thread pool configuration for inbound resource adapters

2014-10-14 Thread Andy Gumbrecht
Hi Everyone, Purely for your interest. Published an interesting and useful article by Robert Panzer on the Tomitribe blog. http://www.tomitribe.com/blog/2014/10/thread-pool-configuration-for-inbound-resource-adapters-on-tomee/ Happy reading. Would be great to see your feedback. Andy. --

Re: TomEE 1.7.2 + Tomcat 7.0.56?

2014-10-14 Thread Andy Gumbrecht
Hi Howard, What gave you the impression that there would be no more 1.7.x releases? Only asking in case it is/was something on the site or release notes that needs adjusting. Andy. On 14/10/2014 01:27, Howard W. Smith, Jr. wrote: That's great to hear. I thought that there would be no more t