Re: Strange MDB invocation behavior

2012-09-07 Thread almos
problems. I'll let you know if any. Thanks for the support. -- View this message in context: http://openejb.979440.n4.nabble.com/Strange-MDB-invocation-behavior-tp4656801p4657321.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Strange MDB invocation behavior

2012-09-06 Thread almos
:908) at java.lang.Thread.run(Thread.java:662) -- View this message in context: http://openejb.979440.n4.nabble.com/Strange-MDB-invocation-behavior-tp4656801p4657302.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Strange MDB invocation behavior

2012-09-06 Thread Romain Manni-Bucau
(Thread.java:662) -- View this message in context: http://openejb.979440.n4.nabble.com/Strange-MDB-invocation-behavior-tp4656801p4657302.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Strange MDB invocation behavior

2012-08-11 Thread almos
of them gets invoked). I.e MDB isn't invoked (according to the verbose logs). All next subsequent send operations works fine and all messages reach destinations. According to our observations this doesn't happen with JMS Queues which uses the same infrastructure code referenced below. What might

Re: Strange MDB invocation behavior

2012-08-11 Thread Romain Manni-Bucau
, first user comes to the system, does some action that triggers JMS message send operation and that message doesn't get delivered to the MDB listeners. All subsequent messages send via the system successfully delivered without any other efforts done to the application (no shutdown/re-deploy

Re: Strange MDB invocation behavior

2012-08-11 Thread almos
this message in context: http://openejb.979440.n4.nabble.com/Strange-MDB-invocation-behavior-tp4656801p4656805.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Strange MDB invocation behavior

2012-08-11 Thread Romain Manni-Bucau
message awakes some hibernated component and then it becomes alive again but first message gets lost. -- View this message in context: http://openejb.979440.n4.nabble.com/Strange-MDB-invocation-behavior-tp4656801p4656805.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: How do I *send* JMS messages from an MDB?

2012-04-17 Thread Romain Manni-Bucau
Hi, i think activemq-ra should be updated too. I don't know if there is API changes between both version but i guess you'll see it soon ;). - Romain 2012/4/17 Bjorn Danielsson bjorn-apa...@lists.cuspycode.com Update I can now reproduce the error in a small test program. All I did was

Re: How do I *send* JMS messages from an MDB?

2012-04-17 Thread AndyG
://openejb.979440.n4.nabble.com/How-do-I-send-JMS-messages-from-an-MDB-tp4561773p4564896.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: How do I *send* JMS messages from an MDB?

2012-04-17 Thread Romain Manni-Bucau
openejb\lib\activemq-protobuf-1.1.jar openejb\lib\activemq-ra-5.6-SNAPSHOT.jar openejb\lib\kahadb-5.6-SNAPSHOT.jar -- View this message in context: http://openejb.979440.n4.nabble.com/How-do-I-send-JMS-messages-from-an-MDB-tp4561773p4564896.html Sent from the OpenEJB User mailing list

Re: How do I *send* JMS messages from an MDB?

2012-04-17 Thread AndyG
-from-an-MDB-tp4561773p4565058.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: How do I *send* JMS messages from an MDB?

2012-04-17 Thread AndyG
the trick. -- View this message in context: http://openejb.979440.n4.nabble.com/How-do-I-send-JMS-messages-from-an-MDB-tp4561773p4565102.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: How do I *send* JMS messages from an MDB?

2012-04-17 Thread Romain Manni-Bucau
pull, build and deploy activemq daily snapshot to my local repo, but: org.apache.activemq.version5.6-SNAPSHOT/org.apache.activemq.version ...will do the trick. -- View this message in context: http://openejb.979440.n4.nabble.com/How-do-I-send-JMS-messages-from-an-MDB-tp4561773p4565102.html

How do I *send* JMS messages from an MDB?

2012-04-16 Thread Bjorn Danielsson
I have problems sending JMS messages from my MDB. This MDB listens on a queue and then calls an EJB that updates persistent storage. The EJB then sends out a notification to a JMS topic. All this used to work in GlassFish, but on TomEE-plus I always get this error that stops the notification from

Re: How do I *send* JMS messages from an MDB?

2012-04-16 Thread Romain Manni-Bucau
Hi, It should work, can you reproduce it in a uniy test? Le 16 avr. 2012 16:48, Bjorn Danielsson bjorn-apa...@lists.cuspycode.com a écrit : I have problems sending JMS messages from my MDB. This MDB listens on a queue and then calls an EJB that updates persistent storage. The EJB then sends

Re: How do I *send* JMS messages from an MDB?

2012-04-16 Thread Bjorn Danielsson
a écrit : I have problems sending JMS messages from my MDB. This MDB listens on a queue and then calls an EJB that updates persistent storage. The EJB then sends out a notification to a JMS topic. All this used to work in GlassFish, but on TomEE-plus I always get this error that stops

RE: MDB not invoked

2012-04-12 Thread Johnny Guo
Hi, I have tried to setup it following the examples, but just not working for me. Here are some codes: 1) No annotation in mdb , just a onMessage method. The ejb-jar.xml: enterprise-beans message-driven ejb-nameStandardReportsBean/ejb-name ejb

RE: MDB not invoked

2012-04-12 Thread Johnny Guo
Hi, I have tried to setup it following the examples, but just not working for me. Here are some codes: 1) No annotation in mdb , just a onMessage method. The ejb-jar.xml: enterprise-beans message-driven ejb-nameStandardReportsBean/ejb-name ejb

RE: MDB not invoked

2012-04-12 Thread Johnny Guo
: http://openejb.979440.n4.nabble.com/MDB-not-invoked-tp4548110p4553537.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: MDB not invoked

2012-04-12 Thread David Blevins
=javax.jms.ConnectionFactory Hi Johnny! I did take a close look at your logs earlier and can verify this won't do anything (these things were being created already automatically). I think what we need is a log line that says what the server understands is the Topic/Queue name of the MDB. I had thought I added

RE: MDB not invoked

2012-04-12 Thread Johnny Guo
Hi David, I'm not sure how to see the resources and binding in jmx-console, in fact, I don't know how to start jmx-console in openejb. -- View this message in context: http://openejb.979440.n4.nabble.com/MDB-not-invoked-tp4548110p4553890.html Sent from the OpenEJB User mailing list archive

MDB not invoked

2012-04-11 Thread Johnny Guo
Hi, I'm new to openejb. Now i'm working with openejb integrated with Tomcat in Eclipse. Openejb can start successfully. One MDB was setup to listen to a jms queue and the start log like this: [INFO] Found ejb module EjbModule in war /newjena [INFO] Found ejb module EjbModule in war /newjena [INFO

Re: MDB not invoked

2012-04-11 Thread Romain Manni-Bucau
Hi, how did you configure: 1) the mdb 2) the jmx resources (queue, connection factory, ...) 3) the client ? it sounds like a config error. If you can share some code we could help you more efficiently. Note: some JMS sample are here: http://openejb.apache.org/examples-trunk/index.html - Romain

Re: OpenEJB Tomcat- MDB - EJB 2.0 - MQ

2012-01-10 Thread Faraz
://openejb.979440.n4.nabble.com/OpenEJB-Tomcat-MDB-EJB-2-0-MQ-tp4278150p4281296.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: OpenEJB Tomcat- MDB - EJB 2.0 - MQ

2012-01-10 Thread Romain Manni-Bucau
with OpenEJB or I need to configure this too ? -- View this message in context: http://openejb.979440.n4.nabble.com/OpenEJB-Tomcat-MDB-EJB-2-0-MQ-tp4278150p4281296.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Test cases failing with Cannot bind Container with id Default MDB Container : ParsedName{path=openejb/Container/Default MDB Container, component=Default MDB Container}

2011-03-10 Thread Pierre
to Resource(id=jms/HtObdOutgoing) INFO - Configuring Service(id=Default MDB Container, type=Container, provider-id=Default MDB Container) INFO - Auto-creating a container for bean OutboundChangeTopicHandler: Container(type=MESSAGE, id=Default MDB Container) INFO - Configuring Service(id

Re: MDB with quartz and jms

2011-02-23 Thread cristic83
I have discovered that the error appeared because there was one MDB which contained the jboss specific dLQMaxResent property. The only was I was able to solve this is by commenting out the property in question, although I would have prefered to specify my own activationspec class in the ra.xml

MDB with quartz and jms

2011-02-22 Thread cristic83
Hi guys, I want to use OpenEJb to test an MDB which implements the quartz Job interface and also uses a jms Queue and Connection Factory. I have looked into the mdb and quartz-ra examples from the openEJB project and placed the ra.xml file that is used into the quartz-ra example into the folder

Re: MDB to listen to Tibco JMS

2009-07-20 Thread David Blevins
On Jul 15, 2009, at 11:36 PM, DimasOwl wrote: hi, David They couldn't provide such file Actually the only available way is to use standard approach: create InitialContext and get connectionfactory, and topic by their jndi names For us it is slightly more complicated as we have to use LDAP

Re: MDB to listen to Tibco JMS

2009-07-16 Thread DimasOwl
I have all necessary settings to do that. Could you tell me is there more simple way to generate adapter. I don't want to install Sun's server -- View this message in context: http://www.nabble.com/MDB-to-listen-to-Tibco-JMS-tp24369433p24510876.html Sent from the OpenEJB User mailing list archive

Re: MDB to listen to Tibco JMS

2009-07-14 Thread DimasOwl
hi, David that is the problem as I don't have any files I will try to talk with guys from Tibco support if they could provide such file. -- View this message in context: http://www.nabble.com/MDB-to-listen-to-Tibco-JMS-tp24369433p24485446.html Sent from the OpenEJB User mailing list archive

Re: MDB to listen to Tibco JMS

2009-07-13 Thread David Blevins
On Jul 9, 2009, at 1:31 AM, DimasOwl wrote: 2009-07-09 09:09:31,912 - ERROR - Endpoint connection to JMS broker failed: Wire format negociation timeout: peer did not send his wire format. openejb.xml Resource id=My JMS Resource Adapter type=ActiveMQResourceAdapter Use of the

Re: MDB to listen to Tibco JMS

2009-07-09 Thread DimasOwl
.uk.db.com:10140 # DataSource for persistence messages DataSource My Unmanaged DataSource /Resource and here is annotation from MDB @MessageDriven (activationConfig = { @ActivationConfigProperty(propertyName = destination, propertyValue = EventsTopic

Re: MDB to listen to Tibco JMS

2009-07-08 Thread Jean-Louis MONTEIRO
Tibco broker ServerUrl tcp://host:port # Specifies the size of the thread pool available to ActiveMQ. ThreadPoolSize 30 /Resource Jean-Louis DimasOwl wrote: Documentation is quite poor http://openejb.apache.org/3.0/mdb-container.html It describes only default settings

MDB to listen to Tibco JMS

2009-07-07 Thread DimasOwl
Documentation is quite poor http://openejb.apache.org/3.0/mdb-container.html It describes only default settings for ActiveMQ. Is it possible to listen to topic on external JMS server (Tibco) Any sample would be extremely helpful! -- View this message in context: http://www.nabble.com/MDB

Re: Starting the MDB EJB Module progammatically

2009-06-05 Thread David Blevins
On May 27, 2009, at 8:30 PM, Nitin Gupta wrote: I have one Message Driven Bean(MDB) that is dependent on a server for receiving messages. At deploy time when server is up then this MDB will start automatically. but when the server is not running then this MDB will not start. So when when

Starting the MDB EJB Module progammatically

2009-05-27 Thread Nitin Gupta
I have one Message Driven Bean(MDB) that is dependent on a server for receiving messages. At deploy time when server is up then this MDB will start automatically. but when the server is not running then this MDB will not start. So when when server will up then i will have to manually start

building MDB with Eclipse using openEJB embeded in Tomcat

2009-05-25 Thread Mho
to bring on line the MDB. What I can't figure out is where I would put the XML that describes the queue for the MDB For example in JBOSS I would have a file that would look like jboss.mq:service=DestinationManager Any help would be appreciated Thanks Mho -- View this message in context

Re: building MDB with Eclipse using openEJB embeded in Tomcat

2009-05-25 Thread Mho
. I am using Eclipse with WTP and have successfully loaded up Tomcat with OpenEJB and now I am trying to bring on line the MDB. What I can't figure out is where I would put the XML that describes the queue for the MDB For example in JBOSS I would have a file that would look like server

Re: building MDB with Eclipse using openEJB embeded in Tomcat

2009-05-25 Thread David Blevins
up Tomcat with OpenEJB and now I am trying to bring on line the MDB. What I can't figure out is where I would put the XML that describes the queue for the MDB For example in JBOSS I would have a file that would look like jboss.mq:service=DestinationManager There are a couple options

Re: building MDB with Eclipse using openEJB embeded in Tomcat

2009-05-25 Thread Mho
/Tomcat should be just a great environment. I am using Eclipse with WTP and have successfully loaded up Tomcat with OpenEJB and now I am trying to bring on line the MDB. What I can't figure out is where I would put the XML that describes the queue for the MDB For example in JBOSS I would have

Re: MDB Listening on external ActiveMQ broker

2009-05-10 Thread Reza Rahman
Hi, I was able to get the MDB listening on the remote topic. There were two issues. The first was that I had the same MDB in the classpath for the Tomcat web app. The second is that ActiveMQ did not recognize async=true for remote servers. Here is the fix: properties.put(Default JMS

Re: Exception while testing MDB

2009-01-19 Thread David Blevins
On Jan 14, 2009, at 2:52 AM, marekd wrote: Could it be the same problem as this one: https://issues.apache.org/activemq/browse/AMQ-1824 (see next to last comment) ? Seems very likely. I'd recommend upgrading the ActiveMQ version to try it out, but unfortunately they repackaged their code

Exception while testing MDB

2009-01-14 Thread marekd
Hi, I'm currently writing simple test cases to test (and learn ;-)) power of MDBs. But I run into some problems. This is an modified simple-mdb example from openejb3 sources. I have simple test running by 4 threads in parallel sending requests to simple Stateless bean that add these request

Re: Limit Message Redelivery in MDB

2008-09-07 Thread Manu George
: Does anyone know how to limit the redelivery attempts to and MDB? I've done some checking but can't seem to find it. -- View this message in context: http://www.nabble.com/Limit-Message-Redelivery-in-MDB-tp19189535p19189535.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: MDB

2008-08-13 Thread David Blevins
classloader and look for issues like this. Not sure we can get it in for the next release, but I bet that might be a useful timesaver. -David David Blevins wrote: On Aug 11, 2008, at 10:29 AM, lupu.slobodu wrote: Trying to run the MDB sample form http://svn.apache.org/viewvc/openejb

Re: MDB

2008-08-12 Thread David Blevins
On Aug 11, 2008, at 10:29 AM, lupu.slobodu wrote: Trying to run the MDB sample form http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/simple-mdb-with-descriptor/?pathrev=678070 It looks up the ConnectionFactory but it crashes when calling connectionFactory.createConnection

MDB

2008-08-11 Thread lupu.slobodu
Trying to run the MDB sample form http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/simple-mdb-with-descriptor/?pathrev=678070 It looks up the ConnectionFactory but it crashes when calling connectionFactory.createConnection(); javax.jms.JMSException: Could not create Transport

Specifying source queue for message driven bean (MDB)

2007-10-16 Thread Martin Vysny
Hi guys, can you help me again? ;) We have a MDB named CallAgentMDB, which is a message consumer (MessageListener), and FEInternalServicesBean, which is a stateless bean. The problem is, that the MDB is not receiving messages which are sent by the internal services bean. When openejb starts

Re: Specifying source queue for message driven bean (MDB)

2007-10-16 Thread Dain Sundstrom
Sounds like you are happy with the MDB configuration but want the queue/FE_QUEUE resource-env-ref in FEInternalServicesEJB to point to queue/FE_QUEUE instead of Default Queue. This error seem very strange because the code that processes resource- env-ref should never create an queue with ID