Compiling ActiveMQ-CPP client as a shared (dynamic) library under Linux

2007-02-20 Thread Yigal K
Hi, Can anyone tell if it's possible to compile the activemq-cpp client as a dynamic shared library and not as a static library ? The 'configure' script creates a Makefile for static compilation by default and doesn't seem to have an option to make the library shared. Thanks in advance, Yigal.

Re: Non-Persistent Topic not getting messages

2007-02-20 Thread James Strachan
There's no real difference with message types. What do the JMX stats show in JConsole? Did the broker kill the client due to inactivity (but maybe the client hasn't noticed yet) On 2/21/07, GaryG <[EMAIL PROTECTED]> wrote: I'm having a problem with regular, non-persistent topics not getting mes

Creating a network of broker withe ActiveMQ 4.1.0

2007-02-20 Thread Fct
Hi, When I add a zeroconf discory agent in my xml config file, I have a classNotFoundException. Loading message broker from: xbean:file:conf/receiver1.xml ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: org.springframework.beans.factory.BeanDefinitionStoreException: Fail

Re: slave server, transportConnectors and port 62001

2007-02-20 Thread Marlon Santos
Hi, This config . . . is telling the slave to listen to the specified masterConnectorURI which should be the url of the master broker you are going to use. So your slave's masterConnectorURI should be a url of your intended master broker, so if your master broker has a url of "tcp://localh

Non-Persistent Topic not getting messages

2007-02-20 Thread GaryG
I'm having a problem with regular, non-persistent topics not getting messages they're sent. The setup we have works for a while with no problem, but after a while (today after 5 hours), one particular topic receiver stops getting any messages. I can clearly see in my sender's logs that messages

Re: Kaha store corrupted?

2007-02-20 Thread Albert Strasheim
Hello all - Original Message - From: "Rob Davies" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 20, 2007 6:44 PM Subject: Re: Kaha store corrupted? could you change the prefetch for the subscriber ? Will do. So far we haven't tweaked this value at all, so it could definately be

Re: Do I have to use Spring Framework to configure virtaul topic

2007-02-20 Thread LiXiao2007
James, Thank you very much for answering my previous question. My next question is whether I can set up filters to virtual topic so the only needed messages are delivered to the physical queues. James.Strachan wrote: > > On 2/19/07, LiXiao2007 <[EMAIL PROTECTED]> wrote: >> >>I read the doc

slave server, transportConnectors and port 62001

2007-02-20 Thread Sandeep Chayapathi
Hi all, This is a question regarding setting up a master-slave activemq. The http://activemq.apache.org/xml-configuration.html xml configuration shows the following for transportConnector's --- --- and the following for setting a up a pure http://activemq.ap

Re: ActiveMQ Broker dying

2007-02-20 Thread Christopher G. Stach II
Christopher G. Stach II wrote: > GaryG wrote: >> I'm getting the feeling that my session terminal closing does have something >> to do with it. >> >> So, would you recommend using that JSW service? You said in the previous >> posts that it has problems, so should I even other trying? >> >> Our Lin

Re: ActiveMQ Broker dying

2007-02-20 Thread Christopher G. Stach II
GaryG wrote: > I'm getting the feeling that my session terminal closing does have something > to do with it. > > So, would you recommend using that JSW service? You said in the previous > posts that it has problems, so should I even other trying? > > Our Linux guys are telling me to run it like

Re: ActiveMQ 4.1 link on www.activemq.com

2007-02-20 Thread James Strachan
On 2/20/07, sparky2708 <[EMAIL PROTECTED]> wrote: ActiveMQ 4.1 link on www.activemq.com is missing. Actually, just found it in the archive section. I think someone posted the wrong news article on the main page. This is a strange one - for some reason confluence only shows the most recent and

Re: ActiveMQ Broker dying

2007-02-20 Thread GaryG
I'm getting the feeling that my session terminal closing does have something to do with it. So, would you recommend using that JSW service? You said in the previous posts that it has problems, so should I even other trying? Our Linux guys are telling me to run it like this instead: "nohup /opt

ActiveMQ 4.1 link on www.activemq.com

2007-02-20 Thread sparky2708
ActiveMQ 4.1 link on www.activemq.com is missing. Actually, just found it in the archive section. I think someone posted the wrong news article on the main page. -- View this message in context: http://www.nabble.com/ActiveMQ-4.1-link-on-www.activemq.com-tf3262504s2354.html#a9067924 Sent from th

Re: ActiveMQ Broker dying

2007-02-20 Thread Christopher G. Stach II
GaryG wrote: > 1. Is JSW enabled by default in AMQ? Like I said, I don't see it running. The wrapper init script (named activemq) and config (named wrapper.conf) live in apache-activemq-4.1.0-incubator/bin/linux/. > 3. By turning on the logging, are you talking about log4j for the AMQ? > I've

Re: ActiveMQ Broker dying

2007-02-20 Thread GaryG
1. Is JSW enabled by default in AMQ? Like I said, I don't see it running. 2. I'll try JVM 1.5.0_09 3. By turning on the logging, are you talking about log4j for the AMQ? I've already got it set to debug, what other debug options do you need turned on? Also, it seems that when I run the bro

Re: Problem using log4j with ActiveMQ

2007-02-20 Thread James Strachan
The log4j.properties has a file appender with an output file in the target dir which doesn't exist On 2/20/07, Gil <[EMAIL PROTECTED]> wrote: Can anyone help me fix this log4j problem? When I add log4j to my list of libraries, at run time I get the following message: log4j:ERROR setFile(null,t

Problem using log4j with ActiveMQ

2007-02-20 Thread Gil
Can anyone help me fix this log4j problem? When I add log4j to my list of libraries, at run time I get the following message: log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: target\activemq-test.log (The system cannot find the path specified) at java.io.FileOutp

Re: ActiveMQ Broker dying

2007-02-20 Thread Christopher G. Stach II
GaryG wrote: > Here's the tail-end of the activemq.log > -- > 2007-02-20 02:53:13,685 [eckpoint Worker] DEBUG DefaultJDBCAdapter > - Deleted 0 old message(s). > 2007-02-20 02:53:13,685 [eckpoint Worker] DEBUG JDBCPersistenceAdapter > - Cleanup done. > 2007-02-20

Re: pb when compiling the ActiveMQ 4.1

2007-02-20 Thread Dominique DE VITO
I have re-done a Maven 2.0.5 compilation with success. I think it is the security specific features of our firewall that should have annoyed Maven download file processing. Thanks for your answer. Dominique James Strachan a écrit : I wonder if this is some issue with maven 2.0.5 as we've al

Re: ActiveMQ Broker dying

2007-02-20 Thread GaryG
Here's the tail-end of the activemq.log -- 2007-02-20 02:53:13,685 [eckpoint Worker] DEBUG DefaultJDBCAdapter - Deleted 0 old message(s). 2007-02-20 02:53:13,685 [eckpoint Worker] DEBUG JDBCPersistenceAdapter - Cleanup done. 2007-02-20 02:53:13,685 [eckpoint Wor

Re: Kaha store corrupted?

2007-02-20 Thread Rob Davies
Albert, there's a test case I added to SVN (supplied by Tom - thx Tom!) - https://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/ test/java/org/apache/activemq/bugs/JmsDurableTopicSlowReceiveTest.java setting the prefetch is important - the defaults are currently only limited by n

Re: Kaha store corrupted?

2007-02-20 Thread Rob Davies
could you change the prefetch for the subscriber ? cheers, Rob On 20 Feb 2007, at 15:55, Albert Strasheim wrote: Hello all On Tue, 20 Feb 2007, Albert Strasheim wrote: Hey Rob On Tue, 20 Feb 2007, Rob Davies wrote: Hey - I'm just finishing up some testing around some fixes - hopefully b

Re: ActiveMQ Broker dying

2007-02-20 Thread Christopher G. Stach II
GaryG wrote: > I am not using a Java Service Wrapper. Not sure what that is. Then how do you know that you aren't using it? > I am using the broker as installed, just from command line, with the only > modifications to the config file being the turning off of the shutdown hook, > adding jmx, and

Re: ActiveMQ Broker dying

2007-02-20 Thread James Strachan
On 2/20/07, GaryG <[EMAIL PROTECTED]> wrote: No, I'm not sending any kill commands... I don't even know how to send a kill command to the broker. And I do not have any JMX consoles open to connect to the process and kill it. Once the broker goes down I get errors like this on the receiver: -

Re: ActiveMQ Broker dying

2007-02-20 Thread GaryG
No, I'm not sending any kill commands... I don't even know how to send a kill command to the broker. And I do not have any JMX consoles open to connect to the process and kill it. Once the broker goes down I get errors like this on the receiver: -- 2007-02-20 03:01:04,296 [AcitveMQ C

Re: Kaha store corrupted?

2007-02-20 Thread Albert Strasheim
Hello all On Tue, 20 Feb 2007, Albert Strasheim wrote: > Hey Rob > > On Tue, 20 Feb 2007, Rob Davies wrote: > > > Hey - I'm just finishing up some testing around some fixes - > > hopefully be finished today > This afternoon I tried to reproduce this with revision 509600, but now > our app

Re: ActiveMQ Broker dying

2007-02-20 Thread James Strachan
On 2/20/07, GaryG <[EMAIL PROTECTED]> wrote: I am not using a Java Service Wrapper. Not sure what that is. Broker just died again last night. I am using the broker as installed, just from command line, with the only modifications to the config file being the turning off of the shutdown hook, a

Re: ActiveMQ Broker dying

2007-02-20 Thread GaryG
I am not using a Java Service Wrapper. Not sure what that is. Broker just died again last night. I am using the broker as installed, just from command line, with the only modifications to the config file being the turning off of the shutdown hook, adding jmx, and commenting out the network conne

Re: Kaha store corrupted?

2007-02-20 Thread Albert Strasheim
Hey Rob On Tue, 20 Feb 2007, Rob Davies wrote: > Hey - I'm just finishing up some testing around some fixes - > hopefully be finished today First off, thanks for all your hard work. I can see our app steadily becoming more stable with each checkin from you. :-) While the VMPendingSubscriberM

ActiveMq (JMS) API call Send hangs after certain number of sends.

2007-02-20 Thread suri009
My Server app is sending 1 to 2MB of data (as java object) every 2-10 seconds to java swing clients using ActiveMq. I have 10 java clients connected to activeMq broker. I am using 10Mbit network connection to send data to clients. Configuration: 1) I configured JVM size (Xmx) as 2048M and 1G u

Re: pb when compiling the ActiveMQ 4.1

2007-02-20 Thread James Strachan
I wonder if this is some issue with maven 2.0.5 as we've all been using 2.0.4 and building fine for some time. I'll try get a chance to try out 2.0.5 soon to see if thats the cause On 2/20/07, Dominique DE VITO <[EMAIL PROTECTED]> wrote: Hi, I have just seen the Web Console : http://activemq.

Re: Topology Question

2007-02-20 Thread Juan Jose Comellas
PostgreSQL does have several replication solutions. The one I'm using is Slony-1, which works very well and is available at: http://www.slony.info. On 2/17/07, Rob Bugh <[EMAIL PROTECTED]> wrote: Thanks for the input, James. I'm using Postgresql so I don't think there is a DB vendor solution.

pb when compiling the ActiveMQ 4.1

2007-02-20 Thread Dominique DE VITO
Hi, I have just seen the Web Console : http://activemq.apache.org/web-console.html I have downloaded **ActiveMQ 4.1** from SVN and entered the command (in the page given above) : mvn clean install -Dmaven.test.skip=true Results : [ERROR] BUILD ERROR [INFO] ---

Re: Kaha store corrupted?

2007-02-20 Thread Rob Davies
Hey - I'm just finishing up some testing around some fixes - hopefully be finished today cheers. Rob On 20 Feb 2007, at 08:45, Albert Strasheim wrote: Hey Rob On Sat, 17 Feb 2007, Rob Davies wrote: Hi Albert, if you get a chance - could you try with the latest from SVN - to see if you st

Re: Sending Async messages to temp queue really slow

2007-02-20 Thread James Strachan
On 2/20/07, Paul French <[EMAIL PROTECTED]> wrote: I'm looking into it now. Can you confirm producer.send(tempQueue, jmsResponse) is async in my case. I wondering if the call becomes a sync call due to the method specifying a queue and whether some sync checks need to be done before the message

Re: Sending Async messages to temp queue really slow

2007-02-20 Thread Paul French
I'm looking into it now. Can you confirm producer.send(tempQueue, jmsResponse) is async in my case. I wondering if the call becomes a sync call due to the method specifying a queue and whether some sync checks need to be done before the message is sent? James.Strachan wrote: > > On 2/20/07, P

Re: 41.0 Spring 2.0 DefaultMessageListenerContainer

2007-02-20 Thread James Strachan
On 2/15/07, pds1602 <[EMAIL PROTECTED]> wrote: Hi, I have an application using the spring DefaultMessageListenerContainer. This works fine on MQ Series and Active MQ 4.0.1 (using 2 different srping configuration files). If I switch to ActiveMQ 4.1.0, only the first message is delivered to the Sp

Re: Topology Question

2007-02-20 Thread James Strachan
On 2/17/07, Rob Bugh <[EMAIL PROTECTED]> wrote: Thanks for the input, James. I'm using Postgresql so I don't think there is a DB vendor solution. Are you suggesting to create different topics for each datacenter or share the same topic across all the datacenters? You could use either really;

Re: disable Max Inactivity Duration

2007-02-20 Thread James Strachan
On 2/19/07, Suchitha Koneru (sukoneru) <[EMAIL PROTECTED]> wrote: Hello Active Mq users, Thank you James, for your help in regard to Inactivity Exceptions. For disabling the Max Inactivity Duration , so that the broker is always active should I configure the broker as follo

Re: Sending Async messages to temp queue really slow

2007-02-20 Thread James Strachan
On 2/20/07, Paul French <[EMAIL PROTECTED]> wrote: Any ideas? Am afraid not. Someone might have to get the profiler out. Any chance you can create a JUnit test that reproduces the slowdown? Is... producer.send(tempQueue, jmsResponse); an async send still when I have specifie

Re: Sending Async messages to temp queue really slow

2007-02-20 Thread Paul French
Any ideas? Is... producer.send(tempQueue, jmsResponse); an async send still when I have specified the connection as async? (tempQueue is obtained from the JMSReplyTo property of a received message) Paul French wrote: > > The temp queue is obtained from the JMSReplyTo property

Re: FileMessage: we would like to contribute

2007-02-20 Thread James Strachan
On 2/14/07, Aleksi Kallio <[EMAIL PROTECTED]> wrote: There has been discussion regarding FileMessage or something similar: a message for transferring large amounts of data. For background, see: http://issues.apache.org/activemq/browse/AMQ-1075 We need something that offers better service than

Re: Kaha store corrupted?

2007-02-20 Thread Albert Strasheim
Hey Rob On Sat, 17 Feb 2007, Rob Davies wrote: > Hi Albert, > > if you get a chance - could you try with the latest from SVN - to see > if you still have the issue with Kaha ? > > cheers, > > Rob Still running into UsageManager issues in my attempts to test the Kaha stuff. There are at lea

Re: Do I have to use Spring Framework to configure virtaul topic

2007-02-20 Thread James Strachan
On 2/19/07, LiXiao2007 <[EMAIL PROTECTED]> wrote: I read the documentation regarding the virtual topic. I understand the consumers consume the messsages from the phisical queue tied to the virtual topic. But one thing I am still not clear is wheter the consumers subscrible the virutal topic o