Tomee Embedded + Arquillian Persistence not working

2013-11-04 Thread dinabandhu
Hi, I have successfully setup openejb + arquillian persistence with the guidelines given @ http://openejb.979440.n4.nabble.com/Strange-error-NoClassDefFound-openejb-hsql-hibernate-arquillian-persistence-tp4664638p4664977.html However the same settings does not work with tomee embedded and I get

Tomee Embedded + Arquillian Persistence not working

2013-11-04 Thread dinabandhu
Hi, I have successfully setup openejb + arquillian persistence with the guidelines given @ http://openejb.979440.n4.nabble.com/Strange-error-NoClassDefFound-openejb-hsql-hibernate-arquillian-persistence-tp4664638p4664977.html However the same settings does not work with tomee embedded and I get

Re: Tomee Embedded + Arquillian Persistence not working

2013-11-04 Thread dinabandhu
Hi Romain, Thanks for your prompt reply. It does sound like bad news. Our applications do have servlets and pure openejb won't work for us.That is why I was looking at tomee embedded. Is it possible(in reasonably straightforward way) to go the other way round add a servlet layer on top of

Apache repo down?

2013-11-04 Thread José Luis Cetina
Is there any issue with apache repo? i could not run my app with tomee plugin Could not resolve dependencies for project : The following artifacts could not be resolved: org.apache.openejb:mbean-annotation-api:jar:4.6.0-SNAPSHOT, org.apache.openejb:openejb-jpa-integration:jar:4.6.0-SNAPSHOT,

Re: Using TomEE/OpenEJB and failover of datasources

2013-11-04 Thread Romain Manni-Bucau
this doesn't replicate by default bu tif your databases are replicated it would work Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/11/4 Howard W. Smith, Jr.

Re: Using TomEE/OpenEJB and failover of datasources

2013-11-04 Thread Howard W. Smith, Jr.
hmmm okay. can/should tomee/openejb 'dynamic datasources' be used to replicate data across all databases via some custom JPA persist method that I would code in routed datasource? i'm asking this question after yesterday's review of the (tomee and openejb) dynamic datasources documentation and

Re: Using TomEE/OpenEJB and failover of datasources

2013-11-04 Thread Romain Manni-Bucau
can - yes (just return a datasource proxy which does the same on all datasources for each invocation) should - no (databases have hard times implementing it so just use it, it will be better regarding all aspects - excepted $$ maybe) Romain Manni-Bucau Twitter: @rmannibucau Blog:

Re: Apache repo down?

2013-11-04 Thread José Luis Cetina
I could not run my app, i use maven tomee plugin, is something down? Downloading: https://repository.apache.org/content/groups/snapshots/org/apache/openejb/openejb-api/4.6.0-SNAPSHOT/openejb-api-4.6.0-20131104.040559-239.jar Failed to execute goal on project ear-codi-web-one: Could not resolve

Re: Apache repo down?

2013-11-04 Thread Romain Manni-Bucau
works here but it is quite slow Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/11/4 José Luis Cetina maxtorz...@gmail.com: I could not run my app, i use maven tomee

Re: Apache repo down?

2013-11-04 Thread José Luis Cetina
I have more than 1 hour retrying using 2 differents ISP and still the same problem :S 2013/11/4 Romain Manni-Bucau rmannibu...@gmail.com works here but it is quite slow Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn:

TomEE+ 1.6.0-SNAPSHOT will not work with ojdbc6_g.jar

2013-11-04 Thread Judah Greenblatt
We are using TomEE+ 1.6.0-SNAPSHOT to develop a large EJB/JMS application that uses a mixture of EJB 2 and EJB 3 beans. It runs fine with Oracle 11.2 using the driver in ojdbc6.jar. When I replace ojdbc6.jar with ojdbc6_g.jar, TomEE fails to start (stack trace below). I need ojdbc6_g.jar to

Re: TomEE+ 1.6.0-SNAPSHOT will not work with ojdbc6_g.jar

2013-11-04 Thread Romain Manni-Bucau
Hi Does it run on the correct java version? Le 4 nov. 2013 19:27, Judah Greenblatt judah.greenbl...@3ds.com a écrit : We are using TomEE+ 1.6.0-SNAPSHOT to develop a large EJB/JMS application that uses a mixture of EJB 2 and EJB 3 beans. It runs fine with Oracle 11.2 using the driver in

Re: Apache repo down?

2013-11-04 Thread José Luis Cetina
Is working now 2013/11/4 José Luis Cetina maxtorz...@gmail.com I have more than 1 hour retrying using 2 differents ISP and still the same problem :S 2013/11/4 Romain Manni-Bucau rmannibu...@gmail.com works here but it is quite slow Romain Manni-Bucau Twitter: @rmannibucau Blog:

Re: Apache repo down?

2013-11-04 Thread Howard W. Smith, Jr.
lol okay, that's what I thought... glad it's working now for you. :) On Mon, Nov 4, 2013 at 2:22 PM, José Luis Cetina maxtorz...@gmail.comwrote: Nothing different, i just retried many times until it started 2013/11/4 Howard W. Smith, Jr. smithh032...@gmail.com did you do anything

Re: Exception from ActiveMQ

2013-11-04 Thread Jocelyn Dionne
We are having this problem with OpenEJB 4.5.2. We have a durable topic subscriber and when starting, if more than one message are waiting in ActiveMQ for this topic, the problem occurs. You wrote that it could be a concurrency problem. What do I have to do to solve it ? Regards. Jocelyn

Re: Exception from ActiveMQ

2013-11-04 Thread Romain Manni-Bucau
Hi Ensure the mdb is touched at startup Le 4 nov. 2013 21:32, Jocelyn Dionne jocel...@berger.ca a écrit : We are having this problem with OpenEJB 4.5.2. We have a durable topic subscriber and when starting, if more than one message are waiting in ActiveMQ for this topic, the problem occurs.

Re: Exception from ActiveMQ

2013-11-04 Thread Jocelyn Dionne
I log when the onMessage is executed. And something is written in my log file. So, yes, it is touched at startup. Here is the log... 2013-11-04 16:21:11 ca.berger.amq.server.AuthConsumer processMessageAndReply INFO: MESSAGE BEAN: Message received by AuthConsumer: request

Re: Exception from ActiveMQ

2013-11-04 Thread Romain Manni-Bucau
Is it in a war? Le 4 nov. 2013 22:26, Jocelyn Dionne jocel...@berger.ca a écrit : I log when the onMessage is executed. And something is written in my log file. So, yes, it is touched at startup. Here is the log... 2013-11-04 16:21:11 ca.berger.amq.server.AuthConsumer

Re: Exception from ActiveMQ

2013-11-04 Thread Jocelyn Dionne
No, it is in a jar. Romain Manni-Bucau wrote Is it in a war? Le 4 nov. 2013 22:26, Jocelyn Dionne lt; jocelynd@ gt; a écrit : I log when the onMessage is executed. And something is written in my log file. So, yes, it is touched at startup. Here is the log... 2013-11-04 16:21:11

Re: Exception from ActiveMQ

2013-11-04 Thread Romain Manni-Bucau
Jar and ear had the issue without workaround IIRC Le 4 nov. 2013 22:41, Jocelyn Dionne jocel...@berger.ca a écrit : No, it is in a jar. Romain Manni-Bucau wrote Is it in a war? Le 4 nov. 2013 22:26, Jocelyn Dionne lt; jocelynd@ gt; a écrit : I log when the onMessage is

Re: Exception from ActiveMQ

2013-11-04 Thread Jocelyn Dionne
So, IIUC, there is nothing that fixes the problem for now. I have to find a way to make it work. Am I right ? Romain Manni-Bucau wrote Jar and ear had the issue without workaround IIRC Le 4 nov. 2013 22:41, Jocelyn Dionne lt; jocelynd@ gt; a écrit : No, it is in a jar. Romain

Re: Exception from ActiveMQ

2013-11-04 Thread Howard W. Smith, Jr.
Jocelyn, did you search activemq's issue and/or (archived) mail list? you may want to do that? they are very helpful. On Mon, Nov 4, 2013 at 9:48 PM, Jocelyn Dionne jocel...@berger.ca wrote: So, IIUC, there is nothing that fixes the problem for now. I have to find a way to make it work. Am I

Re: Exception from ActiveMQ

2013-11-04 Thread Howard W. Smith, Jr.
you can ask your question on activemq's user mail list, too. On Mon, Nov 4, 2013 at 10:26 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Jocelyn, did you search activemq's issue and/or (archived) mail list? you may want to do that? they are very helpful.

Re: Exception from ActiveMQ

2013-11-04 Thread Jocelyn Dionne
Yes, I did and found nothing about the problem (or bug) I am dealing with. smithh032772 wrote Jocelyn, did you search activemq's issue and/or (archived) mail list? you may want to do that? they are very helpful. On Mon, Nov 4, 2013 at 9:48 PM, Jocelyn Dionne lt; jocelynd@ gt; wrote:

Re: Exception from ActiveMQ

2013-11-04 Thread Jocelyn Dionne
I know that, don't worry. :-) But, I'm pretty sure that it is more an OpenEJB problem than an ActiveMQ one. And the reason is that I don't have any problem with a little app developed (in C#) acting as a server (consumer) without any problem. smithh032772 wrote you can ask your question on

Re: HA-JDBC via tomee.xml Resource factory/cluster properties ignored

2013-11-04 Thread Howard W. Smith, Jr.
FYI/followup, On Sat, Nov 2, 2013 at 9:49 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: I'm trying to use HA-JDBC[1] with TomEE to have a cluster of at least 2 databases. I had to do the following to ensure tomee would create the ha-jdbc resource: 1. add the following java option

Re: Exception from ActiveMQ

2013-11-04 Thread Romain Manni-Bucau
Trunk would fix it if you can use it Le 5 nov. 2013 04:58, Jocelyn Dionne jocel...@berger.ca a écrit : I know that, don't worry. :-) But, I'm pretty sure that it is more an OpenEJB problem than an ActiveMQ one. And the reason is that I don't have any problem with a little app developed (in

Re: Exception from ActiveMQ

2013-11-04 Thread Howard W. Smith, Jr.
tomee community has got to love this guy! lol :) On Tue, Nov 5, 2013 at 12:31 AM, Romain Manni-Bucau rmannibu...@gmail.comwrote: Trunk would fix it if you can use it

Re: HA-JDBC via tomee.xml Resource factory/cluster properties ignored

2013-11-04 Thread Jean-Louis MONTEIRO
Lol Romain isn't a committee on HA Jdbc. Le 5 nov. 2013 06:08, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : FYI/followup, On Sat, Nov 2, 2013 at 9:49 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: I'm trying to use HA-JDBC[1] with TomEE to have a cluster of at least 2