Re: ActiveMQ not running using SMF on solaris

2010-07-13 Thread andre.nas
Not sur this is the best solution or not, after creating script for running in background, SMF running ok. andre.nas wrote: > > Dear all, > Maybe someone experience using SMF on solaris. I make SMF Manifest but, > after couple minute the activemq is under maintenance. If i run manually > evert

Re: help needed: heap corruption when activemq-cpp routines called

2010-07-13 Thread jolly.Wang
I have the same problem. Here is the solution: when in debug mode, use activemq-cppd.lib(don't use activemq-cpp.lib: crash);when in release mode, use activemq-cpp.lib(don't use activemq-cppd.lib)。 andrew.marlow wrote: > > I have been seeing an intermittent heap corruption in my AMQ-cpp program

Re: MS Sql server Master Slave problem

2010-07-13 Thread test4john
Using jTDS JDBC driver instead of sqljdbc(4).jar seems sloved the problem. Works fine so far .. cobrien wrote: > > Each instance will try to run "SELECT FOR UPDATE" to > acquire a lock. > > I would first check if the "SELECT FOR UPDATE" syntax is supported by > your version of SQL Ser

Long term and elective durability?

2010-07-13 Thread Adam Sussman
Is there any way to do the following in ActiveMQ? 1) Suppose a regular topic with realtime messages passing through it. 2) We want to archive all messages that pass through the topic permanently somewhere. 3) Any new consumer (not a durable subscriber) connecting to the topic may elect to have

uri stomp & maximumConnections?

2010-07-13 Thread chiefy_dude
Hi, I was trying to connect a number of different consumers and producers to the stomp URI (61613), i noticed that the maximum number i can "connect" is about 300. Actually the listener port allows for many more, but the issue arises at connecting. What directive is causing this "connect" to be

Re: MS Sql server Master Slave problem

2010-07-13 Thread cobrien
Each instance will try to run "SELECT FOR UPDATE" to acquire a lock. I would first check if the "SELECT FOR UPDATE" syntax is supported by your version of SQL Server. I think at one time this syntax was not supported. See http://www.informit.com/articles/article.aspx?p=327394&seqNum=2.

Re: Error while creating object

2010-07-13 Thread Timothy Bish
On Tue, 2010-07-13 at 08:25 -0700, manua wrote: > Hi Tim, > > I am using activemq-cpp-library-3.2.0-src.tar.gz and > /usr/lib/libapr-1.so.0.2.11. > > -rw-r--r-- 1 root root 8114 2010-06-21 11:35 /usr/local/apr/lib/apr.exp > -rw-r--r-- 1 root root 5165 2010-06-21 11:38 > /usr/local/ap

Re: Error while creating object

2010-07-13 Thread manua
Hi Tim, I am using activemq-cpp-library-3.2.0-src.tar.gz and /usr/lib/libapr-1.so.0.2.11. -rw-r--r-- 1 root root 8114 2010-06-21 11:35 /usr/local/apr/lib/apr.exp -rw-r--r-- 1 root root 5165 2010-06-21 11:38 /usr/local/apr/lib/aprutil.exp -rw-r--r-- 1 root root 806606 2010-06-21

Re: MS Sql server Master Slave problem

2010-07-13 Thread test4john
Thanks. However, change false to true will cause: 2010-07-13 10:52:14,515 [Thread-2 ] INFO ResourceXmlApplicationContext - Refreshing org.apache.xbean.spring.context.resourcexmlapplicationcont...@96b5c2: display name [org.apache.xbean.spring.context.resourcexmlapplicationcont...@96b5c2]

Re: JMS-MAP-JSON Improper Data structure

2010-07-13 Thread Dejan Bosanac
Hi, jars from lib/optional are loaded as well, so keep only one instance of the library in those folders. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On

Re: JMS-MAP-JSON Improper Data structure

2010-07-13 Thread gtsafas
t;:[17,1005000322]},{"string":[382,1]},{"string":[39,2]},{"string":[14,100]},{"string":[11,230421007130001002]},{"string":[37,1610613204]},{"string":[38,100]},{"string":[20,0]},{"string":[150,2]},{"string":[151,0]},{"strin

Re: Error while creating object

2010-07-13 Thread Timothy Bish
On Tue, 2010-07-13 at 07:02 -0700, manua wrote: > Hi Tim, > > My program crashes on activemq::library::ActiveMQCPP::initializeLibrary(); > > I am using ActriveMQ 5.3 with i686 i686 i386 GNU/Linux box and > compiler is gcc version 4.1.2 20070925 (Red Hat 4.1.2-33). > > Thanks, > Manu > > Whi

Re: Error while creating object

2010-07-13 Thread manua
Hi Tim, My program crashes on activemq::library::ActiveMQCPP::initializeLibrary(); I am using ActriveMQ 5.3 with i686 i686 i386 GNU/Linux box and compiler is gcc version 4.1.2 20070925 (Red Hat 4.1.2-33). Thanks, Manu Timothy Bish wrote: > > On Tue, 2010-07-13 at 06:02 -0700, manua wrote

Re: JMS-MAP-JSON Improper Data structure

2010-07-13 Thread gtsafas
Ok, now I was under the impression .jars go into the lib folder and lib/optional was not loaded? If there is a file in lib will it take precedence over the lib/optional? or will it be ignored? I ask because I realize I had jettision 1.2 inside of the activemq/lib folder and jettision 1.1 inside of

Re: JMS-MAP-JSON Improper Data structure

2010-07-13 Thread Dejan Bosanac
Hi, yes, putting Jettison 1.0 in lib/optional folder (and deleting the one that comes with the distro) should do the trick for now. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http

Re: JMS-MAP-JSON Improper Data structure

2010-07-13 Thread gtsafas
So you are saying that I should be downgrading to Jettison 1.0? Dejan Bosanac wrote: > > I just tested and it seems that Jettison 1.2 produces the same JSON. > The tests were passing in ActiveMQ as core module was still using 1.0 > version. So the only workaround for now is to actually downg

Re: Error while creating object

2010-07-13 Thread Timothy Bish
On Tue, 2010-07-13 at 06:02 -0700, manua wrote: > Hi All, > > I getting the following error while creating the object in AMQ, > > #0 0x002cd777 in apr_atomic_add32 (mem=0x95123ec, val=4294967295) at > atomic/unix/mutex.c:78 > #1 0x016208b8 in > decaf::util::concurrent::atomic::AtomicIntege

Error while creating object

2010-07-13 Thread manua
Hi All, I getting the following error while creating the object in AMQ, #0 0x002cd777 in apr_atomic_add32 (mem=0x95123ec, val=4294967295) at atomic/unix/mutex.c:78 #1 0x016208b8 in decaf::util::concurrent::atomic::AtomicInteger::decrementAndGet (this=0x95123e8) at decaf/util/conc

Re: Getting rid of DQL

2010-07-13 Thread Konstantin Fomin
Hello, Dejan, Thanks a lot for the reply. Could you, please, verify if the this configuration is OK for disabling DLQ? Unfortunately, when I use it, ActiveMQ.DLQ gets created: $ cat activemq.xml http://www.springframework.org/schema/beans"; xmlns:amq="http://activemq.apache.org/schema/core"

Re: JMS-MAP-JSON Improper Data structure

2010-07-13 Thread Dejan Bosanac
I just tested and it seems that Jettison 1.2 produces the same JSON. The tests were passing in ActiveMQ as core module was still using 1.0 version. So the only workaround for now is to actually downgrade to 1.0. I'll try to see what's changed in between and if it can/should be fixed. Cheers -- Dej

Re: Overhead between network of brokers and direct TCP socket connection

2010-07-13 Thread Gary Tully
A network connection will be fine in this case. If you have very dynamic producers and consumers, you may find that advisory messages propagated across the network use too much bandwidth. If this is the case, it is possible to specify a static route with statically included destinations and disable

Function Sequence Error

2010-07-13 Thread r8rdarklord
I have written a multithreaded ODBC program which tries to insert data to 11 tables in MonetDB. Each thread has a connection handle, a statment handle (comprising of insert into blah!). Each thread on instantiation creates the handles (connection, statement etc.), connects to the db, binds met

AMQ2693 : 5.3.2 : DemandForwardingBridge and Failover interaction ?

2010-07-13 Thread Eric-AWL
In fact it's the AMQ2693 bug Eric-AWL -- View this message in context: http://old.nabble.com/5.3.2-%3A-DemandForwardingBridge-and-Failover-interaction---tp29147602p29147952.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: 5.3.2 : DemandForwardingBridge and Failover interaction ?

2010-07-13 Thread Eric-AWL
Problem seems to be localized here When it works Ok : 09:11:02,704 [ActiveMQ Task ] DEBUG AbstractRegion - localhost removing consumer: ID:td0sib01s.priv.atos.fr-53632-1279005032084-2:3:2:1 for destination: queue://FailoverWithOutstandingCommit 2010-07-13 09:11:02,705 [127.0.0

5.3.2 : DemandForwardingBridge and Failover interaction ?

2010-07-13 Thread Eric-AWL
Hi In 5.3.2, I try to modify DemandForwardingBridgeSupport class (by adding a RemoteBrokerNameKnownLatch.countdown at the end of the stop() method). It's the only source which is modified. When I launch the maven tests, FailoverConsumerOutstandingCommitTest tests regularly fail with my version.