JMS client timeout or inactivity error

2008-01-14 Thread Steve Angelovich
All, Any recommendations on how to track down a client connectivity issue. Occasionally I get the error below on some of my clients. Of course I only see this when there is a lot of activity. I've found some references to connectionTimeout, soTimeout and maxInactivityDuration but not much inform

Re: How to send messages from PLSQL stored proc?

2008-01-14 Thread Glen Mazza
Another option is to use DBMS_JOB/DBMS_SCHEDULER to call any application that can be activated from the command line. That means if you have a Java program it can be activated from your PL/SQL code. HTH, Glen Am Montag, den 14.01.2008, 18:47 -0500 schrieb Eric Sammer: > LeeZ01 wrote: > > I need

Transacted MDB with JBoss

2008-01-14 Thread CobraTheSleek
Hi, I am trying to understand how a transacted MDB would work with JBoss. In essence, I have defined an Oracle XA Datasource. What I would like to do is receive a message from a queue, insert the data into a table and reply on a different queue. I am trying to manage the transaction myself, i.e

Re: How to send messages from PLSQL stored proc?

2008-01-14 Thread Eric Sammer
LeeZ01 wrote: > I need to implement two types of message producers, one is from Java server > application, the other is from > PLSQL stored procedures. > > I have implemented the Java message senders using ActiveMQ 4.1.1 apis, but I > need to know how to send messages to the queue from PLSQL. >

How to send messages from PLSQL stored proc?

2008-01-14 Thread LeeZ01
I need to implement two types of message producers, one is from Java server application, the other is from PLSQL stored procedures. I have implemented the Java message senders using ActiveMQ 4.1.1 apis, but I need to know how to send messages to the queue from PLSQL. Any suggestions would be g

cannot connect to broker launched through Runtime.exec

2008-01-14 Thread chaf
Hello, If I start an activemq (version 5) broker through command line, then my tests run fine. However, when I try to automate my tests and call the *same* shell command for the server (activemq xbean:myConfigFile), I cannot connect to the running server (and no, I do not want to embed a broker):

Re: View messages from a queue

2008-01-14 Thread Marco Buss
teo.danciu schrieb: Hi, is there any way in which I can see the messages from a queue at any moment? (I'm having trouble with an application and I just can't follow what happens with the queue). Thanks Mirrored Queues can help http://activemq.apache.org/mirrored-queues.html

Re: Howto send messages to multiple brokers?

2008-01-14 Thread j0llyr0g3r
Ok, found the solution: EVERY broker has to have a different name. Maybe the error message could be a little bit more clear on that. j0llyr0g3r wrote: > > Hi folks, > > consider the following simple situation: > > > consumer - broker A broker C -

Re: ActiveMQ 5.0.0 AMQ Message Store fails when using with Spring DefaultMessageListenerContainer with more than 1 concurrentConsumers to dispatch JMS messages from Queue

2008-01-14 Thread Rob Davies
This is a known issue - please use the latest snapshot On Jan 14, 2008, at 4:49 PM, Wilson Luong wrote: Hi, I am seeing a problem in using ActiveMQ5.0.0 (AMQ Message Store) with Spring's DefaultMessageListenerContainer. Whenever I set the DefaultMessageListenerContainer currentConsumer value

Howto send messages to multiple brokers?

2008-01-14 Thread j0llyr0g3r
Hi folks, consider the following simple situation: consumer - broker A broker C - consumer \ / \ / \

Stomp clients and message-id

2008-01-14 Thread Eric Sammer
Hello: I'm working in a situation where I have Stomp clients (perl, using Net::Stomp) connecting to ActiveMQ (4.1.1, java 1.5.x on Linux). I need to use the standard request / response pattern with the reply-to, message-id, and correlation-id headers. The problem I find is that the message-id fiel

Re: Mutlicast discovery with persistent topics leads to errors

2008-01-14 Thread Jeff Ward
The broker names are always the same. They're set to the name of the host machine (in this case activemq1 or activemq2, depending on which machine). rajdavies wrote: > > Are you consistently setting the broker names - so they are the same > when you bring them up and down ? > On Jan 10, 2008

ActiveMQ 5.0.0 AMQ Message Store fails when using with Spring DefaultMessageListenerContainer with more than 1 concurrentConsumers to dispatch JMS messages from Queue

2008-01-14 Thread Wilson Luong
Hi, I am seeing a problem in using ActiveMQ5.0.0 (AMQ Message Store) with Spring's DefaultMessageListenerContainer. Whenever I set the DefaultMessageListenerContainer currentConsumer value to more than 1 (i.e. multiple concurrent consumers), it causes activeMQ broker to produce error shown below:

Re: Defining Multiple Network Connectors in a Network of Brokers

2008-01-14 Thread egetchell
Reading the Network of Brokers page, the following is what sent us down this path: "It is possible to have more than one network connector between two brokers. Each network connector uses one underlying transport connection, so you may wish to do this to increase throughput, or have a more flexib

Listen topic with consumer.retroactive=true in MDB

2008-01-14 Thread ivanrc
Hello, Do Anybody Know How can I set the "consumer.retroactive=true" of if it is supported when I set the configuration of one MDB that use the ActiveMQ´s Resource Adapter. The MDB activation config is same as this: destination queue.testQueue destinationTy

Re: What are the reasons why synchronous receive() doesn't work ?

2008-01-14 Thread Eric-AWL
Hi you were right When I add lines to my first program to add the processing of the answer, I removed by mistake, the line of the "connection.start()" in my Client Program. I don't understand why the first message was sent by the client process, but I understand why the answer wasn't received by

Re: What are the reasons why synchronous receive() doesn't work ?

2008-01-14 Thread Rob Davies
does it work with activemq 5.0 ? On Jan 14, 2008, at 11:10 AM, Eric-AWL wrote: Yes and all my "send" work perfectly. My ActiveMQ version is 4.1.0. rajdavies wrote: Have you called start on your connections ? On Jan 14, 2008, at 11:02 AM, Eric-AWL wrote: Hi ! I'm new with ActiveMQ. I

Re: What are the reasons why synchronous receive() doesn't work ?

2008-01-14 Thread Eric-AWL
Yes and all my "send" work perfectly. My ActiveMQ version is 4.1.0. rajdavies wrote: > > Have you called start on your connections ? > > On Jan 14, 2008, at 11:02 AM, Eric-AWL wrote: > >> >> Hi ! >> >> I'm new with ActiveMQ. I try to make a simple Question/Answer >> mechanism on >> only o

Re: What are the reasons why synchronous receive() doesn't work ?

2008-01-14 Thread Rob Davies
Have you called start on your connections ? On Jan 14, 2008, at 11:02 AM, Eric-AWL wrote: Hi ! I'm new with ActiveMQ. I try to make a simple Question/Answer mechanism on only one server, one ActiveMQ instance, and two client processes. First process 1 client which sends one message on a f

Re: AdvisoryBroker consumerCount incorrect

2008-01-14 Thread Rob Davies
On Jan 14, 2008, at 10:47 AM, joe.stapleton wrote: rajdavies wrote: Hi Joe, this looks like an issue - will look at fixing thanks, Rob In the mean time i'm going to try and use jmx to determine when a queue has no subscribers. Now we are running a multiple brokers. Connecting to

What are the reasons why synchronous receive() doesn't work ?

2008-01-14 Thread Eric-AWL
Hi ! I'm new with ActiveMQ. I try to make a simple Question/Answer mechanism on only one server, one ActiveMQ instance, and two client processes. First process 1 client which sends one message on a first queue, and waits with a "second_queue_consumer.receive()" on a second queue 1 connection, 2

Re: AdvisoryBroker consumerCount incorrect

2008-01-14 Thread joe.stapleton
rajdavies wrote: > > Hi Joe, > > this looks like an issue - will look at fixing > > thanks, > > Rob > > In the mean time i'm going to try and use jmx to determine when a queue has no subscribers. Now we are running a multiple brokers. Connecting to an individual broker the consumerCount o

Re: JMS Selectors/ Queue Browsing - Ajax

2008-01-14 Thread Eric Rodriguez
Added the patch, sorry it took so long. I am having problems with my environment, so the patch I created does not contain the appropiate revision numbers, but a custom one from my own svn, hope its still useful. I'm using eclipse with M2Clipse and am having trouble compiling activemq/camel from

activemq 5.0.0 package - bin/ content

2008-01-14 Thread keneida
there are 2 flavors to choose - unix/linux and windows. In the first one there is bin/linux and bin/macosx. In the second version there are all platforms but bin/linux and bin/macos is missing the wrapper.conf. Is there a plan to ahve one installation package for all platforms? or it is just mista

Re: AMQ 5.0.0 Kaha store crashes with 'Could not locate data file data-queue-data-1'

2008-01-14 Thread Rob Davies
On Jan 9, 2008, at 9:33 PM, aarvee wrote: I tried the amq store as well, with this configuration: but on repeating the test, I see immediate (in about a second or two) errors in the AMQ log (see below). My sending client goes to completion. But the receiver does not receive any mes

Re: Does Amq Persistence Adapter allow Master Slave Brokers ?

2008-01-14 Thread Rob Davies
This is a bug that's been fixed in the latest snapshot On Jan 9, 2008, at 9:58 PM, aarvee wrote: For AMQ5.0.0, I configured the AMQPersistenceAdapter like this: However when running a Slave broker with this config, I get the following exception on Slave broker (see belo

Re: Broker Network using SSL with KeyManager+TrustManager

2008-01-14 Thread Rob Davies
Thanks Peter!! On Jan 11, 2008, at 11:14 AM, h3qvw wrote: Hello, I've modified the SslTransportFactory to take Key & Truststore locations from the URI; however I'm having trouble doing the configuration in the activemq style (currently I'm reading the options directly and then clear

Re: AdvisoryBroker consumerCount incorrect

2008-01-14 Thread Rob Davies
Hi Joe, this looks like an issue - will look at fixing thanks, Rob On Jan 11, 2008, at 3:54 PM, joe.stapleton wrote: Hi, The documentation at http://activemq.apache.org/advisory-message.html http://activemq.apache.org/advisory-message.html says: "advisory messages also have a consumerCoun

Re: Mutlicast discovery with persistent topics leads to errors

2008-01-14 Thread Rob Davies
Are you consistently setting the broker names - so they are the same when you bring them up and down ? On Jan 10, 2008, at 9:55 PM, Jeff Ward wrote: I'm using the latest version of ActiveMQ 5.0.0 and I'm having a bit of trouble creating a network of brokers with topics predefined. After brin

Re: Defining Multiple Network Connectors in a Network of Brokers

2008-01-14 Thread Rob Davies
We don't support multiple directional connections between two brokers - i.e. We support: ---> AB <--- but not > A B ---> On Jan 10, 2008, at 9:23 PM, egetchell wrote: All, Another question on Network of Brokers. How exactly does one set up multiple connections