Help to understand this error

2015-07-04 Thread Leonardo K. Shikida
Hi I've got this error using TomEE 1.6.0 TomEE although seems to have recovered from this error gracefully, but I'd like to know what it means and how to avoid it. The scenario is: application with hundreds of MDBs, JMS backed by a relational DBMS. TIA Leo >> GRAVE: The Transaction M

need advice for single queue configuration

2015-09-11 Thread Leonardo K. Shikida
Hi I need a simple queue. This queue will be persistent and it will use a database in the backend to store the messages. It will receive produced messages small in size (just one or two string attributes) in bursts of 10~100. It will consume messages by a pool of 100~300 message driven beans (t

Re: need advice for single queue configuration

2015-10-09 Thread Leonardo K. Shikida
ing.html. > > When TomEE "simply stops consuming the queue", have you taken a thread dump > to see what its threads are doing? Is it possible that every MDB is in the > middle of processing a 1-hour message? > > Have you used a JMX viewer such as JConsole to examine the

Re: Aysnc ActiveMQ MDB unable to consume messages

2016-08-18 Thread Leonardo K. Shikida
maybe the default settings are different [] Leo On Thu, Aug 18, 2016 at 6:32 AM, Poonam Bhatia < poonam.c.bha...@fisglobal.com> wrote: > Hi, > > Adding some of my observations on this topic to help rectify problem > quicker. > Now I tested the same scenario with producer on one WAS and consumer

trying to consume (remove) a message

2013-07-16 Thread Leonardo K. Shikida
Hi I am trying to remove (consume) a message from the queue, without success. Here's my code and the output public boolean remove(String jmsMessageID) throws JMSException{ boolean messageConsumed = false; Connection connection = null; Session session = null; try { ConnectionFactory connectionF

Re: trying to consume (remove) a message

2013-07-16 Thread Leonardo K. Shikida
("Consumed > " + message); > } > > Alternatively, use consumer.receive(500) > > > On Tue, Jul 16, 2013 at 11:10 AM, Leonardo K. Shikida > wrote: > >> Hi >> >> I am trying to remove (consume) a message from the queue, without success.

Re: trying to consume (remove) a message

2013-07-16 Thread Leonardo K. Shikida
ssage); > } > > } finally { > if (session != null) > session.close(); > if (connection != null) > connection.close(); > } > > } > > > On Tue, Jul 16, 2013 at 3:41 PM,

Re: trying to consume (remove) a message

2013-07-16 Thread Leonardo K. Shikida
core jar manifest says 5.7.0 [] Leo On Tue, Jul 16, 2013 at 5:06 PM, Christian Posta wrote: > Trunk. > > What version is in tomEE 1.5.2? > > > On Tue, Jul 16, 2013 at 3:56 PM, Leonardo K. Shikida wrote: > >> I am using activemq from tomEE 1.5.2 >> >> pro

My favorite exception message

2013-08-19 Thread Leonardo K. Shikida
my favorite activeMQ error message :-) java.lang.ClassCastException: org.apache.activemq.command.ActiveMQObjectMessage incompatible with org.apache.activemq.command.ActiveMQObjectMessage how could they be compatible? :-) [] Leo

Fwd: Disable/Enable MDB

2013-10-08 Thread Leonardo K. Shikida
Hi Is there any way to disable/enable a MDB programmatically? Right now, it consumes from a JMS queue and the queue definitions are coded using @ActivationConfigProperty. if I just set a flag in the database and let the MDB check it before executing the onMessage() message, I guess I'd have to re

Re: Disable/Enable MDB

2013-10-08 Thread Leonardo K. Shikida
Thx. I am there ;-) Em 08/10/2013 17:48, "Christian Posta" escreveu: > May want to ask this on the TomEE mailing list. I would think there would > be some JMX mbeans that can be used to start/stop a EJB/MDB > > > On Tue, Oct 8, 2013 at 9:49 AM, Leonardo K. Shikida &g

setting priority

2013-11-19 Thread Leonardo K. Shikida
Hi I am trying this code log.debug(this+" : Creating Connection for "+op.name()); ConnectionFactory connectionFactory = this.baseService.getConnectionFactory(); connection = connectionFactory.createConnection(); connection.start(); log.

how to configure activemq jdbc persistence under tomee?

2014-01-31 Thread Leonardo K. Shikida
Hi I had this configuration for tomee BrokerXmlConfig = broker:(tcp://localhost:61616)?persistent=true ServerUrl = tcp://localhost:61616 DataSource = MyDataSource JdbcDriver = oracle.jdbc.OracleDriver JdbcUrl = jdbc:oracle:thin:@localhost:15

Re: how to configure activemq jdbc persistence under tomee?

2014-01-31 Thread Leonardo K. Shikida
still struggling to make it work here's the complete problem description http://stackoverflow.com/questions/21479156/how-to-configure-activemq-memory-settings-under-apache-tomee/21480087 TIA Leo [] Leo On Fri, Jan 31, 2014 at 10:52 AM, Leonardo K. Shikida wrote: > Hi > &

Re: how to configure activemq jdbc persistence under tomee?

2014-01-31 Thread Leonardo K. Shikida
problem solved [] Leo On Fri, Jan 31, 2014 at 3:23 PM, Leonardo K. Shikida wrote: > still struggling to make it work > > here's the complete problem description > > > http://stackoverflow.com/questions/21479156/how-to-configure-activemq-memory-settings-under-apache

Re: how to configure activemq jdbc persistence under tomee?

2014-01-31 Thread Leonardo K. Shikida
sure, I'll write a big blog post and then I'll share it here thanks Kenji [] Leo On Fri, Jan 31, 2014 at 3:52 PM, James Carman wrote: > Care to briefly share your resolution? Other folks might run into the > same issue. > > On Fri, Jan 31, 2014 at 12:48 PM, Leonar

Re: how to configure activemq jdbc persistence under tomee?

2014-01-31 Thread Leonardo K. Shikida
an 31, 2014 at 1:07 PM, Leonardo K. Shikida > wrote: > > sure, I'll write a big blog post and then I'll share it here > > > > thanks > > > > Kenji > > > > [] > > > > Leo > > > > > > On Fri, Jan 31, 2014 at 3:52 PM

Re: how to configure activemq jdbc persistence under tomee?

2014-01-31 Thread Leonardo K. Shikida
; Agreed! Feel free to request access to the wiki, so that you can help > out with docs (perhaps putting some snippets from your blog post). > You'll need to file an ICLA first if you haven't done so already. > > On Fri, Jan 31, 2014 at 1:26 PM, Leonardo K. Shikida > wrot

Re: how to configure activemq jdbc persistence under tomee?

2014-01-31 Thread Leonardo K. Shikida
yeah. how did I figured out => how did Romain, Andy and Ralf helped me actually :-) Romain is a saint (to tell the whole story, add http://stackoverflow.com/questions/21479156/how-to-configure-activemq-memory-settings-under-apache-tomee/21480087#21480087to this) ;-) [] Leo [] Leo On Fri,

Re: More than 10 consumers

2014-02-11 Thread Leonardo K. Shikida
--- -- java_max_sessionspace_size integer 0 java_soft_sessionspace_limit integer 0 license_max_sessions integer 0 license_sessions_warning integer 0 session_cached_cursors integer 50 session_max_open_files

Re: More than 10 consumers

2014-02-11 Thread Leonardo K. Shikida
t > the thread names > Romain Manni-Bucau > Twitter: @rmannibucau > Blog: http://rmannibucau.wordpress.com/ > LinkedIn: http://fr.linkedin.com/in/rmannibucau > Github: https://github.com/rmannibucau > > > > 2014-02-11 15:26 GMT+01:00 Leonardo K. Shikida : > >

Re: Using ActiveMQ for personalized chat service

2014-11-26 Thread Leonardo K. Shikida
Hi Apache Tomee+ comes with Active MQ as its JMS provider. It's the implementation for JavaEE message-driven beans. So it can start an embedded JMS instance, managed by TomEE+. About your JSP page, I think you can use some javascript to poll the server for new messages using ajax. [] Leo On