Re: HA-JDBC via tomee.xml 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." 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 > > database

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 wrote: > Trunk would fix it if you can use it

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" 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 C#) acting as

Re: HA-JDBC via tomee.xml 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. 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 -Dha-jdbc.configurati

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 a

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 < > jocelynd@ > > wrote

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 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 wrote: > So, IIUC, there is nothing that fixes the problem for now. > I have to find a way to make it work. > Am I right ? > > > >

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" < > jocelynd@ > > a écrit : > >> No, it is in a jar. >> >> >> >>

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" 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" < > > > jocelynd@ > > > > a écrit : > > > >> I log when the "onMessage" is execu

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" < > jocelynd@ > > 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... >> >> 201

Re: Exception from ActiveMQ

2013-11-04 Thread Romain Manni-Bucau
Is it in a war? Le 4 nov. 2013 22:26, "Jocelyn Dionne" 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 > processMessageAndReply > IN

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: Auth fetch dev 3argDS3GYKLjE

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" 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. > > You wrote t

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 Dionne

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 wrote: > Nothing different, i just retried many times until it started > > > 2013/11/4 Howard W. Smith, Jr. > > > did you do anything different? or you just kept trying until i

Re: Apache repo down?

2013-11-04 Thread José Luis Cetina
Nothing different, i just retried many times until it started 2013/11/4 Howard W. Smith, Jr. > did you do anything different? or you just kept trying until it started > working? :) > > > On Mon, Nov 4, 2013 at 2:15 PM, José Luis Cetina >wrote: > > > Is working now > > > > > > 2013/11/4 José Lu

Re: Apache repo down?

2013-11-04 Thread Howard W. Smith, Jr.
did you do anything different? or you just kept trying until it started working? :) On Mon, Nov 4, 2013 at 2:15 PM, José Luis Cetina wrote: > Is working now > > > 2013/11/4 José Luis Cetina > > > I have more than 1 hour retrying using 2 differents ISP and still the > same > > problem :S > > > >

Re: Apache repo down?

2013-11-04 Thread José Luis Cetina
Is working now 2013/11/4 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 > >> works here but it is quite slow >> Romain Manni-Bucau >> Twitter: @rmannibucau >> Blog: http://rmannibucau.wordpress.com/

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" 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 ojdbc6.jar. When I re

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 t

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 > 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:

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 : > I could not run my app, i use maven tomee plugin, is something do

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 d

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: http://rmannibuc

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 cod

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. : > response

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, org.a

Re: Using TomEE/OpenEJB and failover of datasources

2013-11-04 Thread Howard W. Smith, Jr.
response inline below, On Sun, Nov 3, 2013 at 10:51 AM, Jean-Louis MONTEIRO wrote: > Well, we pushed that feature some years ago already. > We mainly used it to implement a failover mechanism, or to implement kinda > cloud features, I mean having each customer data in different databases. > Also

Re: Tomee Embedded + Arquillian Persistence not working

2013-11-04 Thread Romain Manni-Bucau
We have on trunk several light (= not full) support of servlet/lister/filter. Just add openejb-http dependency Le 4 nov. 2013 12:13, "dinabandhu" a écrit : > Hi Romain, > > Thanks for your prompt reply. > > It does sound like bad news. > > Our applications do have servlets and pure openejb won't

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 opene

Re: Tomee Embedded + Arquillian Persistence not working

2013-11-04 Thread Romain Manni-Bucau
Hi you hit some kind of the limitations of the embedded mode. OpenEJB embedded got a very deep integration which is not the case of tomee embeded so it is quite normal it doesn't work since arquillian relies on contexts which are blurry in embedded mode without specific adapter hacks. Romain Man

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 a

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 a