Re: VM transport not using pass-by-reference

2008-05-23 Thread Ryan Stewart
Ryan Stewart wrote: > > I'm trying to use an embedded ActiveMQ instance for some lightweight > message handling... > Here is a simple test case that exhibits the problem. Unfortunately you'll need some sort of profiler to see the actual problem. When I run this test, I get 2001 ActiveMQTextMes

Re: Secutiry and Predefined Destinations

2008-05-23 Thread ttmdev
Yup, I'm getting the same thing w/my JNDI producer. However, my consumer has no problem. Perhaps a JIRA is in order ;) Joe Tom Purcell wrote: > > Joe > > Thanks for the follow up. I'm almost where I need to be. I made one > change. I upgraded from AMQ 5.0 to AMQ 5.1. The SecurityException we

VM transport not using pass-by-reference

2008-05-23 Thread Ryan Stewart
I'm trying to use an embedded ActiveMQ instance for some lightweight message handling. According to the http://activemq.apache.org/vm-transport-reference.html VM Transport Reference and http://activemq.apache.org/how-should-i-use-the-vm-transport.html this FAQ , the VM transport should pass mes

Re: Looking for "encoded string too long" workaround

2008-05-23 Thread rtsan
I am actually using Spring JMS Remoting that is making ActiveMQ throw the UTFDataFormatException. Please provided direction on how to fix the problem. Much obliged, rtsan Hiram Chirino wrote: > > The body of a TextMessage supports big strings. > > On Thu, May 22, 2008 at 7:05 AM, rtsan <[EMA

undefined reference to `MQAdapter::class$' when use "gcj" to build activemq client

2008-05-23 Thread kingheiy
Hi All: I am following the example in http://activemq.apache.org/compile-activemq-with-gcj.html to compile ActiveMQ with GCJ to get a native C/C++ library. But I am getting error in the last step $:~/gcj_test.dir> /opt/gcc424/bin/gcj -o Bootstrap Bootstrap.o MQAdapter.so -L /opt/gcc424/lib -

Re: Secutiry and Predefined Destinations

2008-05-23 Thread Tom Purcell
Joe Thanks for the follow up. I'm almost where I need to be. I made one change. I upgraded from AMQ 5.0 to AMQ 5.1. The SecurityException went away and AMQ came up clean. But I'm still have a problem and I think it has more to do with my client code than AMQ itself. That is I'm not sure how to co

Weird problem using temporary topic

2008-05-23 Thread rbrown3
Greetings: I am seeing some very weird behavior when using some temporary topics to receive messages. 1. I am creating a temporary topic Topic temp = mySession.createTemporaryTopic(); 2. I then create MessageConsumer object to receive messages on this temporary topic

Re: Understanding Active MQ

2008-05-23 Thread ttmdev
See the following http://activemq.apache.org/how-do-i-create-new-destinations.html http://activemq.apache.org/configure-startup-destinations.html Joe Swampcritter wrote: > > Ok cool, so then I can use a single instance of the Active MQ as a master > and then just use clients to access the b

Problem of durable subscribers not receiving messages in a multicast network with dynamicOnly attribute

2008-05-23 Thread janylj
Hello, I have three brokers multicast network. And the configuration for every broker is: Then I have one producer to a topic and a durable subscriber registered on this topic. I am using Activemq Maven performance test. The results I got is that the producer is f

Re: Secutiry and Predefined Destinations

2008-05-23 Thread ttmdev
FWIW, I have dropped your configuration into my setup (AMQ 5.1, JDK 1.5.0_06-b05, Windoze XP Pro) and have not encountered your problem. I have used both jaasAuthenticationPlugin and simpleAuthenticationPlugin. Joe Tom Purcell wrote: > > Hello > I'm trying to get the ActiveMQ authorizatio

Re: Understanding Active MQ

2008-05-23 Thread Swampcritter
Ok cool, so then I can use a single instance of the Active MQ as a master and then just use clients to access the broker. Okay, quick question. How do I setup queues for the remote clients to access the broker? I found the conf/activemq.xml file for connectors, but I cannot find any place to put

Re: Understanding Active MQ

2008-05-23 Thread ttmdev
With ActiveMQ, clients and brokers are not required to reside on the same machine/site. So the answer to your last questions is, yes. The point A and B clients can exchange messages via the remote central broker. Joe Get a free ActiveMQ user guide at www.ttmsolutions.com Swampcritter wrote:

Understanding Active MQ

2008-05-23 Thread Swampcritter
I come from the older IBM MQ Series environment, so I have some understanding of MQ Series and how it works on a basic level. I have been exploring Active MQ to replace an aging file transfer application that was built in-house. My question is... Under IBM MQ Series, you needed to have both the

Re: Store And Forward Request Reply

2008-05-23 Thread ttmdev
The element is mapped to the DiscoveryNetworkConnector class, which extends NetworkConnector. By default, the element represents a unidirectional forwarding bridge. As Rob mentioned in a related posting, to make it bidirectional, you need to set the duplex property to true. A couple of duplex-re

Problem in Configuring JBoss 4.2 with external ActiveMQ 5.1

2008-05-23 Thread Hema Natarajan
Hi, I am looking for the steps to configure JBoss with external ActiveMQ. Please provide us. We tried the following and it gave the exception as follows. Modified jndi.properties file like... # DO NOT EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING # #java.naming.factory.initial=org.jnp

MessageConsumer and NotSerializableException

2008-05-23 Thread petrkorda
Hi, Tomcat throws a number of NotSerializableException exceptions when being restarted and when there are some active AJAX AMQ listeners. The problem is related with mls.consumerDestinationNameMap which is stored in user's session and which is defined as Map while MessageAvailableConsumer is not

Re: ActiveMQ In Jboss - Two Brokers Getting Created when using VM Protocol

2008-05-23 Thread Kumar Ravella
HI , I have removed my VM Uri from the Broker-Config.xml and My broker name is broker1 .. In my code i am using my URI as vm://broker1 ... same as my broker name in Broker-Config.xml . But still i am getting this error.. Caused by: javax.management.InstanceAlreadyExistsException: org.apa

Re: ActiveMQ In Jboss - Two Brokers Getting Created when using VM Protocol

2008-05-23 Thread Rob Davies
Are you still explicitly registering a vm:// connector on the broker ? - you shouldn't need to cheers, Rob On 23 May 2008, at 07:51, Kumar Ravella wrote: Hi ,, When i searched archives the suggested solution is to use the same name for VM and Broker name in broker-config.xml .. If i u