active mq and log 4j exceptions

2007-03-05 Thread Suchitha Koneru \(sukoneru\)
Hello active MQ users , I have an embedded broker running as a servlet listener in Tomcat 5.5.20. I am using active mq 4.0 version . The Java version is 1.5 I get the following exceptions , when I shutdown tomcat exception in thread "ActiveMQ Transport: tcp:///127.0.0.1:4433

Re: [Spam: 5.0] Evaluating Embedded ActiveMQ - questions

2007-03-05 Thread rbector
Hello James Thanks for your response. Please see below: > 1) We'd prefer to use the embedded version of the broker. All > communicating > applications would use the embedded broker so there would be no *server* > running. I've read that this Topology is supported by ActiveMQ. What are > the

JDBC Master-Slave problem with DB2

2007-03-05 Thread Matías Cobiella
Hi, I have two brokers in a JDBC MASTER-SLAVE configuration with a DB2 database and I'm having the following problem: When BrokerA starts it becomes the MASTER: INFO BrokerService - Using Persistence Adapter: JDBCPersistenceAdaptor(org.apache.commons.dbcp.BasicDataSource INFO

How to maximize MDB throughput with ActiveMQ and JBoss?

2007-03-05 Thread kchamber
I have ActiveMQ integrated in with JBoss according to the instructions listed on this website, and I am looking at how to maximize the throughput for the MDBs listening on a single non-persistent queue. Specifically, I can have several hundred messages on the queue consistently (looking at the qu

Asynch errors sending transacted messages to 4.1

2007-03-05 Thread John Toohey
Hi, My app is using a single-resource transaction to process messages from a persistent queue. I read the messages in a transaction, process the data, and commit the transaction on success. If my business logic fails, I roll-back the transaction. When the message gets re-delivered, I try

How to stop the program gracefully

2007-03-05 Thread LiXiao2007
I have a multi threaded program something like as follows. main() { create threads_1 to thread_n. create a connection to JMS queue for each thread thread_i.start(); } // for each thread's run method run() { create session create consumer register the consumer with a

Re: Evaluating Embedded ActiveMQ - questions

2007-03-05 Thread James Strachan
On 3/5/07, rbector <[EMAIL PROTECTED]> wrote: Hello I am currently evaluating the feasibility of using ActiveMQ for our system (which is a bunch of applications who want to interact using JMS). I had a few questions which I thought some of you may have answers to: 1) We'd prefer to use the

Evaluating Embedded ActiveMQ - questions

2007-03-05 Thread rbector
Hello I am currently evaluating the feasibility of using ActiveMQ for our system (which is a bunch of applications who want to interact using JMS). I had a few questions which I thought some of you may have answers to: 1) We'd prefer to use the embedded version of the broker. All communicatin

Re: [Spam: 5.0] Please help: Performance issue with persistence

2007-03-05 Thread James Strachan
On 3/5/07, naga007 <[EMAIL PROTECTED]> wrote: Thanks, that Dramatically improved the througput, but i have one question, if the client is not waiting for an ACK when sending persistent messages, then don't we think we are at a risk of loosing messages? Async send avoids blocking until each me

Re: [Spam: 5.0] Please help: Performance issue with persistence

2007-03-05 Thread naga007
Thanks, that Dramatically improved the througput, but i have one question, if the client is not waiting for an ACK when sending persistent messages, then don't we think we are at a risk of loosing messages? James.Strachan wrote: > > If you are using AUTO_ACK then you might wanna enable async s

ActivwMq 4.1.0 Exception

2007-03-05 Thread praveen19
I keep getting this exception 2007-03-04 05:26:26,969 [127.0.0.1:45517] DEBUG Service - Async error occurred: java.lang.NullPointerException java.lang.NullPointerException at edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.jav

Re: [Spam: 5.0] Please help: Performance issue with persistence

2007-03-05 Thread James Strachan
If you are using AUTO_ACK then you might wanna enable async sending... http://activemq.apache.org/async-sends.html On 3/5/07, naga007 <[EMAIL PROTECTED]> wrote: Let me explain in more detail. As i said, this application is a Framework for SOA based Applications(Kind of similar to ServiceMix

Durable Subscription and Message Expiration

2007-03-05 Thread teryz
Hello, I am using a topic with durable subscriptions. I use apache-activemq-4.1.0-incubator. I want to limit the life of the messages my producers post in this topic. It seems to me that myProducer.setTimeToLive(1) was the way to do it (here for ten seconds), but after any ti

Re: Transport failed, attempting to automatically reconnect due to: java.io.EOFException

2007-03-05 Thread James Strachan
On 3/5/07, Jamie McCrindle <[EMAIL PROTECTED]> wrote: Hi all, I keep getting the following exception at what appear to be random intervals: 2007-03-05 14:42:40,367 INFO [ActiveMQ Transport: tcp://localhost/1 27.0.0.1:51515] FailoverTransport.handleTransportFailure | Transport failed, att emptin

Re: [Spam: 5.0] Please help: Performance issue with persistence

2007-03-05 Thread naga007
Let me explain in more detail. As i said, this application is a Framework for SOA based Applications(Kind of similar to ServiceMix). We are using JMETER to send HttpSOAP Requests and these SOAP rquests gets staged in multiple queues before its gets deliverd to a service. So For Example if we are

Transport failed, attempting to automatically reconnect due to: java.io.EOFException

2007-03-05 Thread Jamie McCrindle
Hi all, I keep getting the following exception at what appear to be random intervals: 2007-03-05 14:42:40,367 INFO [ActiveMQ Transport: tcp://localhost/1 27.0.0.1:51515] FailoverTransport.handleTransportFailure | Transport failed, att empting to automatically reconnect due to: java.io.EOFExcepti