Re: Using SonicMQ client with ActiveMQ server?

2010-12-13 Thread digant
> ActiveMQ and SonicMQ use two entirely different wire protocols so you > can't just point your SonicMQ client at an ActiveMQ broker. You'd need > to either use a JMS to JMS bridge, or if the client is using pure JMS > API calls then just have your client use the ActiveMQ Java client > instead.

Re: Using SonicMQ client with ActiveMQ server?

2010-12-13 Thread Timothy Bish
On Mon, 2010-12-13 at 15:03 -0800, digant wrote: > Hello, > > We have some old code that uses the SonicMQ libraries and we're trying to > move them to ActiveMQ server. So far, when they try to negotiate a > connection, I get: > > Transport failed: java.io.IOException: Remote wire format magic is

Using SonicMQ client with ActiveMQ server?

2010-12-13 Thread digant
Hello, We have some old code that uses the SonicMQ libraries and we're trying to move them to ActiveMQ server. So far, when they try to negotiate a connection, I get: Transport failed: java.io.IOException: Remote wire format magic is invalid I see that ActiveMQ is sending: Sending: WireFormat

broker config if destination may be down

2010-12-13 Thread logosdev
Hi folks, for the purposes of this question I am using activemq 5.3.1, non-persistent I would like to use the BrokerService in the normal way as a bridge between a local queue and a remote destination. The trick is that the remote destination may or may not be up at the time the BrokerService st

Re: Can't start ActiveMQ 5.4.2 with PostgreSQL 8.4 as persistence backend

2010-12-13 Thread Bruce Snyder
On Mon, Dec 13, 2010 at 11:46 AM, Stanislaw Kogut wrote: > Hi. > > > Here is my activemq.xml part for persistence configuration: > >         >                 dataDirectory="${activemq.base}/data" dataSource="#pgsql-ds" /> >         > ... > > > > > > > > > > > > > > Then I create databa

Re: Can't start ActiveMQ 5.4.2 with PostgreSQL 8.4 as persistence backend

2010-12-13 Thread Gary Tully
As a workaround, you can provide the string value for the entire createSchemaStatements via jdbcPersistenceAdapter config statements element. You would take inspiration from the existing string createSchemaStatements in http://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/main/java/org

Can't start ActiveMQ 5.4.2 with PostgreSQL 8.4 as persistence backend

2010-12-13 Thread Stanislaw Kogut
Hi. Here is my activemq.xml part for persistence configuration: ... Then I create database 'activemq', user 'activemq' with password 'activemq' and granting it access to database in posgress. But when I'm starting activemq there is an issue with S

Re: Slow throughput after several hundred messages

2010-12-13 Thread Reynald Borer
Hi guys, Have you tried to enable GC logs to see if maybe a full GC is happening while everything is slowed down? In the past I encountered the same issue where for an unknown reason the GC activity was suddenly high, making a full GC of 0.2 seconds every second. I spotted this issue becau

Re: Slow throughput after several hundred messages

2010-12-13 Thread robert.sl...@misys.com
I have tried each of the different cursor types with 5.4.1, but since downloading the 5.4.2 version, I have not changed the cursor used, so this is the default configuration, where no cursor is defined for queues - this should result in the default store cursor being used. I have just tried with

Re: Slow throughput after several hundred messages

2010-12-13 Thread Aleksandar Ivanisevic
"robert.sl...@misys.com" writes: > Also, here is the broker configuration I used: > > http://activemq.2283324.n4.nabble.com/file/n3085451/activemq.xml > activemq.xml I see the cursors are commented out. Why? Have you tried enableJournalDiskSyncs="false" within ? I am having similar problems

Re: Slow throughput after several hundred messages

2010-12-13 Thread robert.sl...@misys.com
Also, here is the broker configuration I used: http://activemq.2283324.n4.nabble.com/file/n3085451/activemq.xml activemq.xml -- View this message in context: http://activemq.2283324.n4.nabble.com/Slow-throughput-after-several-hundred-messages-tp3082431p3085451.html Sent from the ActiveMQ - Us

Re: Slow throughput after several hundred messages

2010-12-13 Thread robert.sl...@misys.com
Heapdump following killing the test application and performing GC: http://activemq.2283324.n4.nabble.com/file/n3085363/activemq-heapdump-after-test.rar activemq-heapdump-after-test.rar -- View this message in context: http://activemq.2283324.n4.nabble.com/Slow-throughput-after-several-hundred-

Re: Slow throughput after several hundred messages

2010-12-13 Thread robert.sl...@misys.com
The activemq heap dump during execution of the sample test case: http://activemq.2283324.n4.nabble.com/file/n3085361/activemq-heapdump-during-test-after-5-mins.rar activemq-heapdump-during-test-after-5-mins.rar -- View this message in context: http://activemq.2283324.n4.nabble.com/Slow-throug

Re: Slow throughput after several hundred messages

2010-12-13 Thread robert.sl...@misys.com
Here is the sample netbeans project that I have used to highlight the problem: http://activemq.2283324.n4.nabble.com/file/n3085358/StandaloneJMSWriteConsume.rar StandaloneJMSWriteConsume.rar It is very crude, simply run the ConcurrentJMSWriteConsumeJ2SETest class and it will continue to write a

Re: Slow throughput after several hundred messages

2010-12-13 Thread robert.sl...@misys.com
I have attached a compressed rar file containing the broker debug trace: http://activemq.2283324.n4.nabble.com/file/n3085354/logs.rar logs.rar Due to attachment file size limits, I will attempt in separate posts to add the broker configuration and crude netbeans project I used to show this beh

Re: Slow throughput after several hundred messages

2010-12-13 Thread robert.sl...@misys.com
I have just downloaded version 5.4.2 and run the same standalone j2se test case I developed to highlight this issue against this version, but I am still experiencing the same behaviour as with 5.4.1. -- View this message in context: http://activemq.2283324.n4.nabble.com/Slow-throughput-after-se

Re: java.lang.ArrayOutOfBoundsException : -32768

2010-12-13 Thread Eric-AWL
Gary, what happened with "peerBrokerInfo" and BrokerInfoMarshaller if one broker A is "network connected" on broker B and broker B is connected on broker A too ? It's our configuration. -- View this message in context: http://activemq.2283324.n4.nabble.com/java-lang-ArrayOutOfBoundsExceptio