Re: Configuration Confusion

2008-03-12 Thread carbon60
carbon60 wrote: > > But the master/slave setup seems to cause a bottleneck with a single > broker, no? I would rather have multiple brokers sharing the load in a > peer-to-peer fashion. > I believe that this config should work: http://activemq.org/config/1.0"; brokerName="broker1" id="bro

ObjectMessage objects are serialized in spite of configurations

2008-03-12 Thread eharoldw
We want to prevent ObjectMessage serialization for performance reasons. We are using an embedded broker with the VM protocol. We have followed the instructions found on http://activemq.apache.org/how-should-i-use-the-vm-transport.html. Our configuration options include the following: - set "copyM

Re: Looking for Sample Code JMS 1.02b

2008-03-12 Thread pjagwani
Here's what I did to get my sample to work. I put the apache-activemq-4.1.1.jar in front of the Weblogic 8.1 jar and it seemed to work fine. For my sample app I used http://java.sun.com/products/jms/tutorial/1_3_1-fcs/examples/simple/SimpleQueueSender.java & http://java.sun.com/products/jms/t

Re: Can ActiveMQ-CPP work "offline"?

2008-03-12 Thread Timothy Bish
No, the CPP client does not have such an ability. You could extend the transport layer to add something like this. Regards Tim. On Wed, 2008-03-12 at 09:28 -0700, Igor Lobanov wrote: > Greetings! > > I wasn't able to find an answer for this seemingly trivial question neither > in documentatio

Exclusive Consumer & Network of Brokers

2008-03-12 Thread Aymeric Alibert
I am trying to set-up an exclusive customer with a network of brokers (2 brokers). I have 2 consumers connecting to a queue and both use consumer.exclusive=true, but I still see messages going to both consumers. I browse the distribution list and found that old thread about exclusive consumer not

Re: Configuration Confusion

2008-03-12 Thread carbon60
ttmdev wrote: > > You can think of the peer connector as a superset of the VM connector. The > peer connector uses the VM connector to launch and connect to an > 'embedded' broker, but it also configures the embedded broker to establish > network connectors to other embedded brokers within the L

Re: Configuration Confusion

2008-03-12 Thread ttmdev
You can think of the peer connector as a superset of the VM connector. The peer connector uses the VM connector to launch and connect to an 'embedded' broker, but it also configures the embedded broker to establish network connectors to other embedded brokers within the LAN subnet that have the sa

Re: Configuration Confusion

2008-03-12 Thread carbon60
carbon60 wrote: > > On 11-Mar-08, at 10:01 AM, James Strachan wrote: >>> I need to configure my brokers to fault-tolerant in a two-node >>> cluster. I'm configuring this directly inside Spring. >>> >>> I believe I need to use some form of auto-discovery, journaled >>> persistence and clustering,

Can ActiveMQ-CPP work "offline"?

2008-03-12 Thread Igor Lobanov
Greetings! I wasn't able to find an answer for this seemingly trivial question neither in documentation for ActiveMQ-CPP nor in the forum archives - probably it is my fault, but anyway... Does ActiveMQ-CPP support working in offline mode? By "offline" I mean the situation when remote messaging b

Re: Ajax password authenticate

2008-03-12 Thread Dejan Bosanac
I believe the easiest way is to provide a custom configured connection factory (with appropriate username and password set) to the message servlet through org.apache.activemq.connectionFactory attribute. In case that you want to be able to use different credentials per request, I'm afraid you'll

How do I switch on jetty debug logging for admin webapp?

2008-03-12 Thread jaspa
Hi, Can someone please tell me how I can turn on Jetty debug logging when it is lauched within the broker (to host the admin webapp) Thanks, Jason -- View this message in context: http://www.nabble.com/How-do-I-switch-on-jetty-debug-logging-for-admin-webapp--tp16004366s2354p16004366.html Sent

Re: Problem with Master/Slave, how to configure it? (I'm using Servicemix)

2008-03-12 Thread Eric Rodriguez
It seems your master and slave are out of synch. Take a look at here: http://activemq.apache.org/masterslave.html#MasterSlave-RecoveryingaMasterSlavetopology Jorge S. wrote: On the other hand, I'm trying 5.0.0 release and I get this error in Slave node, so communication between master and slav

Re: Active MQ installation problem

2008-03-12 Thread pjagwani
Login to your account and open .profile file $ vi ~/.profile Set JAVA_HOME as follows using syntax export JAVA_HOME=. If your path is set to /usr/java/jdk1.5.0_07/bin/java, set it as follows: export JAVA_HOME=/usr/java/jdk1.5.0_07/bin/java Set PATH as follows: export PATH=$PAT

Re: Access control on the message queue

2008-03-12 Thread ttmdev
Sounds like what you may be looking for are LDAP Authorization and Authentication plugins? That is, retrieve user security information from one central directory service or repository. Maybe take a look at Acegi; I think Acegi is or was on the ActiveMQ road map. I think ActiveMQ's plugin archite

Re: Problem with Master/Slave, how to configure it? (I'm using Servicemix)

2008-03-12 Thread Jorge S.
On the other hand, I'm trying 5.0.0 release and I get this error in Slave node, so communication between master and slave fails: ACTIVEMQ_HOME: /opt/servicemix/apache-activemq-5.0.0 ACTIVEMQ_BASE: /opt/servicemix/apache-activemq-5.0.0 Loading message broker from: xbean:activemq.xml INFO BrokerS

Re: Problem with Master/Slave, how to configure it? (I'm using Servicemix)

2008-03-12 Thread Jorge S.
Thank you Rob. I've tried ActiveMQ 5.1-20080311.181016-59 release but I get the following error when I start it: WARN log- EXCEPTION java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet at java.net.URLClassLoader$1.run(URLClassL

Re: Send response to temporary queue gets stuck after 3900 sends

2008-03-12 Thread Michal Singer
Great. It looks like it solved the problem. However, I see that the memory still increases gradually where I would expect it to stay as is. Looks like some kind of memory leak. Michal Singer wrote: > > hi. I am using activemq 5.0.0 broker embedded in spring. I use temporary > queues. > After c

Re: Consumers not always being released

2008-03-12 Thread Eric Rodriguez
This seems to be exactly the problem. I will try the shared master/slave configuration but is this bug fixable and if so when will a fix be ready? Thanks, Eric Joe Fernandez wrote: -Original Message- From: Rob Davies [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 4:21 PM To

Access control on the message queue

2008-03-12 Thread Natit
i'd like to create a plugin that handles all user authentication in a simple way. I do not want to use JAAS, and i need to sync the authorized users and topics with another application. I would like a plugin template that has something with a similar signature: boolean canRead(ConnectionInfo,Acti

invalid CEN header (bad signature)

2008-03-12 Thread jaspa
Hi, I am attempting to run activemq-5.0.0 on Red Hat Enterprise Linux AS release 4 (Nahant Update 2) java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_06-b05, mixed mode) The broker appears top start up

Recieving xml data from activemq

2008-03-12 Thread sridhardev
Hi, i'm able to send the text message to activemq and able to recieve text message from activemq, but when i'm sending xml data to activemq, i'm unable to recieve the data in xml format. i'm Using the following code to recieve the message from activemq using ajax var feedHandler = {