Re: Split from OpenEJB?

2014-04-04 Thread Jean-Louis MONTEIRO
Same question. What benefits do we expect? and as Romain mentioned, drawbacks? What is the reason to split? JLouis 2014-04-04 7:06 GMT+02:00 Alan Cabrera l...@toolazydogs.com: What problem are we trying to solve? Just wondering. Regards, Alan On Apr 3, 2014, at 5:23 PM, jieryn

Re: Split from OpenEJB?

2014-04-04 Thread helio frota
We already discussed it on the lists and actually today tomee is the main project and openejb just a a subproject. The point to split to get two projects would be to make them splitable, today their lifecycle is really linked and most of the code being in openejb tomee would always be waiting

Re: TomEE performance degrades gradually

2014-04-04 Thread ivan nikitsenka
David Blevins david.blevins at gmail.com writes: I have noticed the same issue on my project. The EJB 2.x. Exactly the same behavior as described on the top First response is very quickly and then it becomes worse and aprox after 500 requests it performance becomes slower twice First

Re: TomEE performance degrades gradually

2014-04-04 Thread Jean-Louis MONTEIRO
Any cache to optimize? Prepared stmt activated on the pool? Anyway, thanks for the relevant feedback and for helping in the diagnose process. JLouis 2014-04-04 11:46 GMT+02:00 ivan nikitsenka nikitse...@gmail.com: David Blevins david.blevins at gmail.com writes: I have noticed the same

Re: [build error] feedback 3

2014-04-04 Thread helio frota
Sorry you mean the 'thread dump' ? Sure, when run again going to get the thread dump. --- http://eprogramming.github.io On Fri, Apr 4, 2014 at 6:44 AM, helio frota 00h...@gmail.com wrote: Are you able to get a thread stack when it hangs? sure, full

Re: TomEE performance degrades gradually

2014-04-04 Thread Howard W. Smith, Jr.
On Fri, Apr 4, 2014 at 6:39 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: On Fri, Apr 4, 2014 at 5:46 AM, ivan nikitsenka nikitse...@gmail.comwrote: query description/description query-method method-namefindAll/method-name

Re: TomEE performance degrades gradually

2014-04-04 Thread Howard W. Smith, Jr.
On Fri, Apr 4, 2014 at 7:07 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: yes, I have some quite complex SQL, and when I profile the app (via jvisualvm), I find that Apache Derby source code is not performing well with [my] SQL and/or [my] database design, etc... Correction,

Re: TomEE performance degrades gradually

2014-04-04 Thread Jean-Louis MONTEIRO
I tend to disagree with that. Each part of a system has it's own goal and scope. Database is for data so I tend to use it as much as possible for sorting, joining, etc, instead of relaying on Java for sorting collections or even JPA to get a parent, then all childs, then all childs but applying a

Re: TomEE performance degrades gradually

2014-04-04 Thread Howard W. Smith, Jr.
On Fri, Apr 4, 2014 at 7:21 AM, Jean-Louis MONTEIRO jeano...@gmail.comwrote: I tend to disagree with that. Each part of a system has it's own goal and scope. Database is for data so I tend to use it as much as possible for sorting, joining, etc, instead of relaying on Java for sorting

Multitenants app

2014-04-04 Thread Diego Cattelan
Hi, I'm using TomEE 1.6 to run a simple multitenat web application. I have a global users database and each tenant has his own private database. After a user logins succesfully, I manually instantiate the private tenant's EntityManagerFactory with info for connecting to the right database.

Re: Multitenants app

2014-04-04 Thread Romain Manni-Bucau
Hi does http://tomee.apache.org/examples-trunk/dynamic-datasource-routing/README.html help? basically give you a hook to select the datasource Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github:

EJBcontainer.createEJBContainer difference between 4.5.1 and 4.6.0?

2014-04-04 Thread ron
Hi The code Properties p = new Properties(); p.put(shop-pu, new://Resource?type=DataSource); p.put(shop-pu.JdbcDriver, org.hsqldb.jdbcDriver); p.put(shop-pu.JdbcUrl, jdbc:hsqldb:mem:shopdb + System.currentTimeMillis()); EJBContainer container =

Re: EJBcontainer.createEJBContainer difference between 4.5.1 and 4.6.0?

2014-04-04 Thread Romain Manni-Bucau
asm version as you can see. A class is not readable in the scanned classpath. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-04-04 17:17 GMT+02:00 ron

Re: Multitenants app

2014-04-04 Thread Diego Cattelan
yes, it works! thank you On 04 aprile 2014 15:28:57 CEST, Romain Manni-Bucau rmannibu...@gmail.com wrote: Hi does http://tomee.apache.org/examples-trunk/dynamic-datasource-routing/README.html help? basically give you a hook to select the datasource Romain Manni-Bucau Twitter: @rmannibucau

Re: log4j2 initialized too early?

2014-04-04 Thread BobbyBear
I have a small eclipse project at https://github.com/rcasazza/TestLog4j2 which shows the issue. DaBean is a Stateless EJB with a property called logger which is initialized to log4j2. There are two lines which allow me to initialize it in two different ways: [1] initializing it with static

ExceptionMapper support in TomEE 1.6.0

2014-04-04 Thread fulltruth
Does TomEE 1.6.0 support the use of ExceptionMapper providers? If so, how to get it to discover the provider? It does not seem to be detecting or using my example class below. Throwing an exception inside of a resource request method simply results in the default exception page being shown.