On 6/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
I still have problem. I appreciate your help.
Here is the code that I use to send large file (it's part of the file
ConsumerTool.java, it send out file after receiving message from
RequestTool.java
//begin/
if
On 6/25/07, comchyi [EMAIL PROTECTED] wrote:
I find an performance problem in ActiveMQ4.2-SNAPSHOT when
i subscribe an topic and consume 50 messages,the problem
is that the memory of CPU is consumed increasely all long until
the free heap of JVM's memory is zone. The client code like
Hi Chris,
My shutdown code looks like this, but I still get the problem:
if (consumer != null)
{
consumer.Close();
consumer.Dispose();
}
if (session != null)
Not really. Actually on looking at it I am closing and disposing of sessions
and consumers, and just disposing of producers and connections so I don't
have your connection.Stop and connection.Close in mine. I would be surprised
if that made a diff though. I had the issue until I added the
I'm currently trying to incorporate ActiveMQ 4.1.1 into a project (Java 6,
tested on Windows XP so far).
We're seeing a lot of cases in the logs where ActiveMQ is apparently
dropping and re-establishing connections. This is with only two JVMs,
running on a single host, peer transport, setting
Hmm, very odd - taking out connection.Stop() and connection.Close() still
doesn't fix it for me.
Also connection.Dispose() just calls Close() anyway, so I'm not sure why
that fixed it for you either...
Dris wrote:
Not really. Actually on looking at it I am closing and disposing of
sessions
Hi list,
I'm looking for a way to authenticate two brokers when they connect
(using tcp) to each other in a network of brokers topology.
I've followed http://activemq.apache.org/security.html but I can't
find a way to authenticate / authorize the broker. With such setup, I
got the following
On 6/25/07, Jan Stette [EMAIL PROTECTED] wrote:
I'm currently trying to incorporate ActiveMQ 4.1.1 into a project (Java 6,
tested on Windows XP so far).
We're seeing a lot of cases in the logs where ActiveMQ is apparently
dropping and re-establishing connections. This is with only two JVMs,
2007/6/25, Jean-Fabrice [gmail] [EMAIL PROTECTED]:
Hi list,
I'm looking for a way to authenticate two brokers when they connect
(using tcp) to each other in a network of brokers topology.
I succeeded in the mutual authentication using SSL, storing each
broker certificate in the truststore of
Have you tried casting the CMSException to the various types that you
want to handle?
[EMAIL PROTECTED] wrote:
Hello
I'm using ActiveMQ-CPP 2.0.1. In my program, I want to handle exceptions thrown
by a Connection object, through its ExceptionListener, and act differently
depending on the type
On 6/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
In the java code, when I catch error, I have the code: e.printStackTrace();
That is all error messages I have on the screen. Do you have any idea ?
I've never seen e.printStackTrace() not generate a stack trace. Are
you sure you're
Timothy Bish [EMAIL PROTECTED]:
Have you tried casting the CMSException to the various types that you
want to handle?
You mean, using a dynamic_cast ? dynamic_cast needs RTTI too, I think, so the
problem is the same than using typeid.
Selon Timothy Bish [EMAIL PROTECTED]:
[EMAIL PROTECTED] wrote:
Timothy Bish [EMAIL PROTECTED]:
Have you tried casting the CMSException to the various types that you
want to handle?
You mean, using a dynamic_cast ? dynamic_cast needs RTTI too, I think, so
the
problem is the
Tim Bish wrote:
Creating a Java client to test with might help you rule out the if its
the MDB or the C++ code that is faulty. Its just another Data Point to
try and help figure out what's wrong.
I had a similar problem, using the Java client but it could easily be the
same issue. I
Hi,
I just trim down the code, to let it send a file only. In this case, it
shows error pretty clear. Could you look at it for me ?
Here is the code of the RequestTool.java that send big file
//Start///
try {
activeMQSession =
Hi,
I am running an embedded ActiveMQ 4.1.1 on Jboss 4.0.3. I am doing a stress
test with the following configuration.
Publisher
Threads - 3
Iterations per thread - 10
Sleep time between iterations - 500 ms
Consumer
Listener Thread - 1
Durable Topic consumer.
broker configuration:
On 6/25/07, Gnanaprakash [EMAIL PROTECTED] wrote:
Hi,
I am running an embedded ActiveMQ 4.1.1 on Jboss 4.0.3. I am doing a stress
test with the following configuration.
Publisher
Threads - 3
Iterations per thread - 10
Sleep time between iterations - 500 ms
Consumer
Listener Thread - 1
17 matches
Mail list logo