Re: connection.close(), on a brokenConnection resolves my problem

2009-07-03 Thread Eric-AWL
Unfortunately, all my problems are not resolved ... I tried with two equivalent processes on two different servers (and the third which is abruptly closed). One terminated gracefully, the other had always 2 active threads "ActiveMQ Session: ID:td0sib01s.priv.atos.fr-46825-1246630520929-0:2:3" pri

Re: Message Selector

2009-07-03 Thread Gary Tully
best place to look is at the tests, one example is here: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/selector/SelectorTest.java?view=log 2009/7/2 Nawaz Ahmed > Hi, > > I went through the Message Selectors concept available in the > following

USING JMS WITH ACTIVE MQ WITHOUT USING SYSTEM MEMORY?

2009-07-03 Thread Gabriel1982
Hello, I want to know if it's possible to use active mq without creating any queue or topic in the system memory in other words i want just to use only database access to create messages and then to get them from database? thank you very much -- View this message in context: http://www.nabbl

connection.close(), on a brokenConnection resolves my problem

2009-07-03 Thread Eric-AWL
NEW If I force a brokenConnection.close() into the onException callback, (called when the "other" connection is broken), my process can now terminate gracefully and is not blocked waiting threads die. However there is a JMSException thrown by this "close" on a brokenConnection. But it is not a b

ActiveMQ-CPP Version 3.0.1 Released

2009-07-03 Thread Timothy Bish
Hey everyone, It's official ... ActiveMQ-CPP v3.0.1 has now been released. This release has several bug fixes for issues found since the initial 3.0 release. Here's a quick list of some of the things we've fixed. * Exception thrown while using failover and Transacted sessions. * F

Re: Do you know when ActiveMQ Session threads dies ?

2009-07-03 Thread Eric-AWL
I think that I have some news. The problem is more complex than I wrote initially (I wanted to be clear). In fact, I have two ActiveMQ connections initialized in the same "main" JVM. One with an embedded broker, the second with a distant broker embedded in an "other" JVM. Some threads didn't die

ActiveMQ to ActiveMQ SSL issues

2009-07-03 Thread chu_man_fu
I have 2 servers running JBoss. Server A has activemq-web-console-5.2.0.war with a Broker installed in it. I have SSL and TCP set up on this server. Server B has activemq-ra.rar and I have no broker running. Instead I have pointed it to Server A's broker. When I point Server B to Server A's TCP

Re: Using Oracle for persistence - DB sessions not dying

2009-07-03 Thread chu_man_fu
None of the options which I can see tell the connections to die after usage. When the server starts up I have 20 sessions open. Within 1 hour this is risen to 26. Gary Tully wrote: > >maps to setMaxActive in the > BasicDataSource, so just add the properties that you need. > > 2009/7/3 chu_

Re: Using Oracle for persistence - DB sessions not dying

2009-07-03 Thread Gary Tully
maps to setMaxActive in the BasicDataSource, so just add the properties that you need. 2009/7/3 chu_man_fu > > How can I configure this class via the XML config? > That link is the API for the Java class. I have no control over how this is > used, the persistance is done internal to ActiveMQ.

Re: Using Oracle for persistence - DB sessions not dying

2009-07-03 Thread chu_man_fu
How can I configure this class via the XML config? That link is the API for the Java class. I have no control over how this is used, the persistance is done internal to ActiveMQ...isn't it? Gary Tully wrote: > > You got to configure the jdbc connection pool to close idle connections if > you wa

Re: Using Oracle for persistence - DB sessions not dying

2009-07-03 Thread Gary Tully
You got to configure the jdbc connection pool to close idle connections if you want this behavior. Check out the api reference http://commons.apache.org/dbcp/apidocs/org/apache/commons/dbcp/BasicDataSource.html 2009/7/2 chu_man_fu > > I am using oracle as my persistence store. ActiveMQ is runnin

Re: ActiveMQ - Unable to limit temp store

2009-07-03 Thread Champax
Yes, i had read this post. But i was thinking the workaround (bean, #ref) was working for store and temp files. Whatever, tests i perform are targeting production environnement, and a snapshot cannot be used in such context. Someone has a date for a 5.3 stable release ? Thanks! -- View this