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

2008-05-23 Thread Rob Davies
On 23 May 2008, at 06:55, Kumar Ravella wrote: Hi All , There are two Brokers Getting Created while trying to use both VM and TCP Protocols.. I deployed ActiveMQ inside JBoss. - activemq-ra.rar. In my Brokre-Config i have made these setting for My Broker. Named it as Broker1 .

Re: Store And Forward Request Reply

2008-05-23 Thread Rob Davies
A forwarding bridge is a construct of a network connector - see http://activemq.apache.org/networks-of-brokers.html So from your local broker - add a network connector with the duplex property = true - to the remote broker - that's all you need to do. cheers, Rob

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

2008-05-23 Thread Kumar Ravella
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 use BrokerName as the logical name as same i get this error... javax.management.InstanceAlreadyExistsException: org.apache.activemq:BrokerName=broker1,Type=Broker

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

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:

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 MapMessageAvailableConsumer, String

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 #

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

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

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: 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

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: networkConnectors networkConnector uri=multicast://gigaspaces.dev name=bridge dynamicOnly=true conduitSubscriptions=false

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

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: 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

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 [EMAIL

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

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 went

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