Re: How to ensure LevelDB store uses a JNI driver

2013-03-05 Thread Claus Ibsen
On Wed, Mar 6, 2013 at 8:00 AM, SuoNayi wrote: > Also I saw the leveldb-0.2.jar in the extra directory under the lib > directory, seems it's the java LevelDB implement. > > I removed the jar from the extra directory and deployed a new broker on other > new CentOS server and restarted the broker,

Re:How to ensure LevelDB store uses a JNI driver

2013-03-05 Thread SuoNayi
Also I saw the leveldb-0.2.jar in the extra directory under the lib directory, seems it's the java LevelDB implement. I removed the jar from the extra directory and deployed a new broker on other new CentOS server and restarted the broker, but I could still send messages to the new broker and lo

How to ensure LevelDB store uses a JNI driver

2013-03-05 Thread SuoNayi
Hi , Can we ensure LevelDB store uses a JNI driver or not via logging? I have deployed brokers on two CentOS servers, one server with LevelDB installation while the other without installation. After changing the logging level to DEBUG, I still can not find logs to indicate that a JNI driver or a

How to ensure LevelDB store uses a JNI driver

2013-03-05 Thread SuoNayi
Hi , Can we ensure LevelDB store uses a JNI driver or not via logging? I have deployed brokers on two CentOS servers, one server with LevelDB installation while the other without installation. After changing the logging level to DEBUG, I still can not find logs to indicate that a JNI driver or a

Re:Re: How to tune LevelDB store?

2013-03-05 Thread SuoNayi
Thanks Gary, it would be better if there are some tricks for performance tune. At 2013-03-05 20:31:09,"Gary Tully" wrote: >have a peek at the apollo doco: >http://activemq.apache.org/apollo/documentation/user-manual.html#LevelDB_Storeto >get the full detail. >You will need to map those to xbea

Re: Message prioritisation Vs prefetch-limit

2013-03-05 Thread Christian Posta
Yes, that sounds correct. On Wed, Feb 20, 2013 at 6:42 AM, deepak_a wrote: > All, > > In the architecture I am working in, messages come into a ActiveMQ Queue > from IBM MQ. > An application/consumer polls the messages from this active MQ Queue. > > Messages from IBM MQ have a priority field se

Re: java.io.IOException: Frame size Error

2013-03-05 Thread Christian Posta
how big is the string you're putting into the console? what version are you using? On Tue, Mar 5, 2013 at 5:26 PM, jdev.hari wrote: > Hi, > I am developing a spring based web application and I configured a jms > listener as follows > > > http://www.springframework.org/schema/beans"; > xmln

Re: Best protocol & network interface binding

2013-03-05 Thread Raúl Kripalani
I assume you are talking about setting up a transportConnector on the broker side. If so, just use the IP assigned to the network adapter as the hostname in the URI. For example, if you have 3 network adapters: en0, with IP 192.168.1.34 en1, with IP 172.16.4.2 en2, with IP 10.65.32.1 and you w

Re: activemq-cpp with -m32 flag

2013-03-05 Thread Timothy Bish
On 03/05/2013 07:11 PM, mah wrote: So I know that if copy paste the /usr/lib/crti.o file into /usr/lib64/crti.o, this error goes away (this is cheating of course). Is there a way to change the library that "make" looks at from "/usr/lib64" to "/usr/lib" -- View this message in context: ht

java.io.IOException: Frame size Error

2013-03-05 Thread jdev.hari
Hi, I am developing a spring based web application and I configured a jms listener as follows http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:context="http://www.springframework.org/schema/context"; xmlns:amq="http://activemq

Re: activemq-cpp with -m32 flag

2013-03-05 Thread mah
So I know that if copy paste the /usr/lib/crti.o file into /usr/lib64/crti.o, this error goes away (this is cheating of course). Is there a way to change the library that "make" looks at from "/usr/lib64" to "/usr/lib" -- View this message in context: http://activemq.2283324.n4.nabble.com/a

Re: secure a queue in Activemq

2013-03-05 Thread Christian Posta
So even with DMLC you have to set/inject a connection factory. On Tue, Mar 5, 2013 at 12:43 PM, Vandy wrote: > Hi > > Thanks for the response. > > In authorization map , I have used one group which can read from the queue > and anorther group which can write to queue. > I am able to configure t

Re: secure a queue in Activemq

2013-03-05 Thread Vandy
Hi Thanks for the response. In authorization map , I have used one group which can read from the queue and anorther group which can write to queue. I am able to configure the username/password for writing to queue using UserCredentialsConnectionFactoryAdapter with jmstemplate. I am not able to f

Re: activemq-cpp with -m32 flag

2013-03-05 Thread mah
So I put the -m32 flag in the AMQ_CXXFLAGS AMQ_CFLAGS and it seems to find the 32 bit versions of OpenSSL and I believe the APR and APR_utils as well. However, it crashes on /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o: could not read symbols: File in wrong format -- Vie

回覆︰ Static network connector with message selector

2013-03-05 Thread Raccoonwao
I follow the JMX tree > Subscription > Topic > NC > Connection > Selector.   Just enter my selector here. A broker-wise selector for network connector would be great.  However, seems no such config is found on the web. > > 寄件人︰ Christian Posta >收件人︰ "users@activ

Re: Static network connector with message selector

2013-03-05 Thread Christian Posta
Where did you add it in the NC via JMX? The network bridge is just a pipe. The consumers determine what will be demand forwarded. So your consumer should have the selector. You might be able to add a broker filter that adds that selector to all network consumers when they're created. On Tue, Mar

Re: Connection Refused from ActiveMQConnectionFactory

2013-03-05 Thread Neduz
Hello, Maybe the user forum is not the recommended place for this discussion: but besides the blueprint xml discussion; there's another "design" question that I'm not sure of how it is seen by the AMQ devs at this moment: I'll be making a few assumptions since I'm not very experienced with Active

Web Console does not show any active connections

2013-03-05 Thread Karl Kraft
I've installed 5.8.0 "out of the box", and made no changes. I create an openwire consumer and producer that start sending messages back and forth, and then look in the web console http://localhost:8161/admin/connections.jsp And nothing is listed there, even though the connections are actively

Re: How to tune LevelDB store?

2013-03-05 Thread Gary Tully
have a peek at the apollo doco: http://activemq.apache.org/apollo/documentation/user-manual.html#LevelDB_Storeto get the full detail. You will need to map those to xbean notation for the 5.8 xml configuration. see: http://activemq.apache.org/schema/core/activemq-core-5.8.0-schema.html#levelDB On

Re:Re: Best protocol & network interface binding

2013-03-05 Thread SuoNayi
AMQ transport supports binding the client to the specific local address, but I failed to find any pages or docs to point out how to use that. Here is an uri example to bind the client to the specific address, tcp://broker-ip:broker-port/local-ip:local-port?wireFormat.maxInactivityDuration=12