Please correct webpage regarding "bridge from ActiveMQ to another JMS provider"

2011-08-09 Thread Willem Moors
Can somebody who has the authority please correct page: http://activemq.apache.org/how-do-i-bridge-different-jms-providers.html The links to the service-mix website point to a site regarding car-tuning-chips. instead of pointing to: http://servicemix.apache.org/home.html Thanks, Willem -- Vie

Chanage hostname after installing ActiveMQ

2011-08-09 Thread mk_aftab
Hello I installed ActiveMQ 5.5 on a centOS 5.6 machine. Every thing was OK, but when I changed hostname of my CentOS machine, ActiveMQ could not start. How can I tell ActiveMQ that hostname was changed. 2011-08-10 10:13:34,372 | INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@1

Re: Segfault with ActiveMQ-CPP 3.4.0

2011-08-09 Thread Timothy Bish
On Tue, 2011-08-09 at 15:24 -0700, Seb wrote: > Hi Tim, > > The "throw()" that I'm talking about it because the API has changed > between activemq-cpp 3.1.x and activemq-cpp 3.4. > Now (3.4) the signature of the onMessage method and the destructor of > the MessageListener expect to throw an except

xa transaction times double with no share master/slave ActiveMQ

2011-08-09 Thread softweave
We have a web application publishing persistent messages to a virtual topic within XA transactions. Message listeners remove messages from their queues almost as soon as they arrive. We're running ActiveMQ 5.4.2 using KahaDB persistence. The system performs well under varying simulated user loads

Re: Segfault with ActiveMQ-CPP 3.4.0

2011-08-09 Thread Seb
Hi Tim, The "throw()" that I'm talking about it because the API has changed between activemq-cpp 3.1.x and activemq-cpp 3.4. Now (3.4) the signature of the onMessage method and the destructor of the MessageListener expect to throw an exception which was not the case previously. So I was wondering

Re: Segfault with ActiveMQ-CPP 3.4.0

2011-08-09 Thread Timothy Bish
On Tue, 2011-08-09 at 14:57 -0700, Seb wrote: > Hi Tim, > > So I give a try on Linux Ubuntu 9.4 with gcc 4.4.1 with the svn trunk > of activemq-cpp. > > I still get the same runtime error in the "createThreadInstance" with > the sample code. > > Although, when I use my code with the fix ( "throw

Re: Segfault with ActiveMQ-CPP 3.4.0

2011-08-09 Thread Seb
Hi Tim, So I give a try on Linux Ubuntu 9.4 with gcc 4.4.1 with the svn trunk of activemq-cpp. I still get the same runtime error in the "createThreadInstance" with the sample code. Although, when I use my code with the fix ( "throw()" added), it works just fine. So I have 3 questions: - what i

Re: Segfault with ActiveMQ-CPP 3.4.0

2011-08-09 Thread Timothy Bish
On Tue, 2011-08-09 at 13:41 -0700, Seb wrote: > Hi Tim, > > thanks for your reply. > So my platform in both case is Mac OS X Lion (10.7) with gcc 4.2. > > When I tried to compiled the trunk, the compilation of the demo sample > complain here: > > /.../src/main.cpp:108: error: cannot call member

Re: Segfault with ActiveMQ-CPP 3.4.0

2011-08-09 Thread Seb
Hi Tim, thanks for your reply. So my platform in both case is Mac OS X Lion (10.7) with gcc 4.2. When I tried to compiled the trunk, the compilation of the demo sample complain here: /.../src/main.cpp:108: error: cannot call member function ‘long long int decaf::lang::Thread::getId() const’ with

5.4.2 : [Lorg.apache.activemq.command.DataStructure

2011-08-09 Thread kjagadeeshkumar
Hi All, Recently we upgraded to AMQ5.4.2 and jmap histo on the broker shows that the Array of DataStructure objects is using more than 75% of total heap, with each instance weighing around 52-55K(in prod). num #instances #bytes class name 1: 12054 656514208 [Lorg.a

Re: Segfault with ActiveMQ-CPP 3.4.0

2011-08-09 Thread Timothy Bish
On Tue, 2011-08-09 at 13:14 -0700, Seb wrote: > I'm going to partially answer to my question. > The issue that I was facing is related to the following bug > https://issues.apache.org/jira/browse/AMQCPP-369 > > By patching activemq-cpp 3.4 with the change made for that bug fix, I > managed to comp

Re: Segfault with ActiveMQ-CPP 3.4.0

2011-08-09 Thread Seb
I'm going to partially answer to my question. The issue that I was facing is related to the following bug https://issues.apache.org/jira/browse/AMQCPP-369 By patching activemq-cpp 3.4 with the change made for that bug fix, I managed to compile and run the application. But with the demo applicati

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-09 Thread pol_ice
I have done more tests. 1) I've restored all conf files to defaults of ActiveMq 5.5.0 out-of-box. Verified the existing code, so that it sends messages to virtual topics and consumer can successfully receive them from the consumers' queues. All messages are sent as persistent. By default KahaDB p

Re: networks of brokers, queues and selectors

2011-08-09 Thread ripienaar
Gary Tully wrote: > > introduce more networkconnectors and partition those topics that > require selectors across them using include and excludes > sweet, thanks for the hint, that solved my problem. -- View this message in context: http://activemq.2283324.n4.nabble.com/networks-of-brokers-qu

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-09 Thread pol_ice
Here it is. Weird thing is that even after I removed expiration attributes from policyEntry for my queues, making it like: There are still messages about expiration: activemq.log 2011-08-09 09:48:48,356 | DEBUG | queue://Consumer.funcTestOne-634484802276816364.Virtu

Re: networks of brokers, queues and selectors

2011-08-09 Thread ripienaar
Gary Tully wrote: > > introduce more networkconnectors and partition those topics that > require selectors across them using include and excludes > interesting, unfortunate extra complexity but I will give this a try, thanks! -- View this message in context: http://activemq.2283324.n4.nabble

Re: networks of brokers, queues and selectors

2011-08-09 Thread ripienaar
pol_ice wrote: > > I believe you can apply wildcards to policyMap feature: > http://activemq.apache.org/wildcards.html > sure, but I dont believe policy maps let me set the conduit policy on a per queue basis. -- View this message in context: http://activemq.2283324.n4.nabble.com/networks-of-

Re: networks of brokers, queues and selectors

2011-08-09 Thread Gary Tully
introduce more networkconnectors and partition those topics that require selectors across them using include and excludes On 9 August 2011 17:06, ripienaar wrote: > > Gary Tully wrote: >> >> http://activemq.apache.org/networks-of-brokers.html#NetworksofBrokers-Conduitsubscriptionsandconsumerselec

Re: networks of brokers, queues and selectors

2011-08-09 Thread pol_ice
I believe you can apply wildcards to policyMap feature: http://activemq.apache.org/wildcards.html just specify it in or Is that what you needed? -- View this message in context: http://activemq.2283324.n4.nabble.com/networks-of-brokers-queues-and-selectors-tp3727717p3730447.html Sent from

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-09 Thread Gary Tully
enable TRACE level logging in the log4j.properties On 9 August 2011 17:17, pol_ice wrote: > Sorry, that was something I did to test the kahadb.. instead of mssql > persistence. > > Here is the log of restarting with JDBC persistence: > > -- > INFO   | jvm 1    | 2011/08/09 09:11:01 |

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-09 Thread pol_ice
Sorry, that was something I did to test the kahadb.. instead of mssql persistence. Here is the log of restarting with JDBC persistence: -- INFO | jvm 1| 2011/08/09 09:11:01 | INFO | ActiveMQ Message Broker (localhost, ID:build-cc2-57856-1312905998723-0:1) is shutting down INFO

Re: networks of brokers, queues and selectors

2011-08-09 Thread ripienaar
Gary Tully wrote: > > http://activemq.apache.org/networks-of-brokers.html#NetworksofBrokers-Conduitsubscriptionsandconsumerselectors > that looks interesting but I use topics quite heavily as well on this network and disabling conduit subscriptions causes huge amounts of duplication on my netwo

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-09 Thread Gary Tully
don't think that is the problem, but the message: INFO | jvm 1| 2011/08/08 16:20:05 | INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[C:\activemq\apache-activemq-5.5.0\bin\win32\..\..\data\kahadb] indicates that it is using KahaDB and not JDBC persistence, is that expected? On 9

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-09 Thread pol_ice
Hi Gary, Can it be caused by the wrong version of wrapper.dll? All of my machines are 64-bit and it looks like activemq package for Windows only includes 32-bit version of wrapper.dll - is that so? I was reading http://blog.bigrocksoftware.com/2010/10/07/commons-daemon-procrun-as-a-java-service-wr

Segfault with ActiveMQ-CPP 3.4.0

2011-08-09 Thread Seb
Hi everyone, I've been using activemq-cpp 3.1.x for a while with success now. But as it is getting more and more difficult to built it on modern platform due to some old APR/APR-Util version, I thought it could be worth upgrading my application to use the latest ActiveMQ-CPP 3.4 that use current d

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-09 Thread Gary Tully
this is very wrong! To narrow down the problem, try using embedded derby for a quick test, use Also, can you post the logs of a broker restart, enable TRACE level logging for org.apache.activemq It may make sense to open a jira issue to track this till we get to the bottom of it. On 9 August 2

RE: ActiveMQ JNI problem - simple config problem or compatibility issue?

2011-08-09 Thread sdenning
I think I really want JNI_VERSION to be 1.6 because this indicates the JDK version and activemq 5.4.2 wants java 1.6... Right? -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-JNI-problem-simple-config-problem-or-compatibility-issue-tp3721325p3730080.html Sent from

RE: ActiveMQ JNI problem - simple config problem or compatibility issue?

2011-08-09 Thread sdenning
I think I really want JNI_VERSION to be 1.6 because this indicates the JDK version and activemq 5.4.2 wants java 1.6... Right? -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-JNI-problem-simple-config-problem-or-compatibility-issue-tp3721325p3730081.html Sent from

Re: networks of brokers, queues and selectors

2011-08-09 Thread Gary Tully
http://activemq.apache.org/networks-of-brokers.html#NetworksofBrokers-Conduitsubscriptionsandconsumerselectors On 8 August 2011 18:30, ripienaar wrote: > Hello, > > I am having some pain with message delivery for queues with selectors in a > network of 3 brokers. > > The broker setup is pretty s

RE: ActiveMQ JNI problem - simple config problem or compatibility issue?

2011-08-09 Thread sdenning
Thanks Allen. I still am not able to figure this out. What JNI_VERSION should I be using for ActiveMQ to work? 1.6??? THANKS!! Susan -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-JNI-problem-simple-config-problem-or-compatibility-issue-tp3721325p3730038.html

Re: Message bandwidth/overheads - how to reduce?

2011-08-09 Thread Timothy Bish
On Tue, 2011-08-09 at 04:30 -0700, Phil White wrote: > Thanks Tim > > The subscriber URI is now: > > activemq:tcp://HUSH7:61616?wireFormat.tightEncodingEnabled=true&transport.useLogging=true > but I don't see any log files. I must be missing something - do I need to > enable something else, or i

Re: Message bandwidth/overheads - how to reduce?

2011-08-09 Thread Phil White
Thanks Tim The subscriber URI is now: activemq:tcp://HUSH7:61616?wireFormat.tightEncodingEnabled=true&transport.useLogging=true but I don't see any log files. I must be missing something - do I need to enable something else, or install a logger on the subscriber? On the question of the underlyi

Re: Non-ASCII messages via Stomp being dropped or mangled in 5.5

2011-08-09 Thread Aleksandar Ivanisevic
atani writes: > I downloaded the 5.6 source and added trace logging in StompWireFormat.java > and LegacyFrameTranslator.java and it's starting to look like there's > something happening between the Net::Stomp library and the ActiveMQ input > stream - that something is somehow related to the use o