problem starting/stopping activemq in 4.2 snapshot

2007-05-01 Thread blweiner
I just upgraded from 4.1.1 to the latest 4.2 snapshot. I can run activemq fine, but I'm having problems when I try to pass it start and stop. I get this error when trying to start activemq: ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: java.lang.IllegalArgumentException

Re: Shutdown script doesn't seem to work in 4.1.1

2007-05-01 Thread sparky2708
Yes. Just running it out of the box. Adrian Co wrote: > > Is JMX enabled in the broker? > > sparky2708 wrote: >> I get the following exception when I run the shutdown script. Any ideas? >> : >> >> ACTIVEMQ_HOME: /home/teprod/apache-activemq-4.1.1 >> ACTIVEMQ_BASE: /home/teprod/apache-activemq-

Re: Shutdown script doesn't seem to work in 4.1.1

2007-05-01 Thread Adrian Co
Is JMX enabled in the broker? sparky2708 wrote: I get the following exception when I run the shutdown script. Any ideas? : ACTIVEMQ_HOME: /home/teprod/apache-activemq-4.1.1 ACTIVEMQ_BASE: /home/teprod/apache-activemq-4.1.1 ERROR: java.lang.RuntimeException: Failed to execute stop task. Reason:

Re: [camel] using camel spring container

2007-05-01 Thread dr.jeff
It would help to avoid these kind of errors if there was some mechanism in place to refer to URIs by reference, somewhat in the way that Spring refs work. If I have: then I can do: ... because I have more than one flow using transformers. My suggestion is

stomppy for receiving message

2007-05-01 Thread cyborg
Hi, I use stomppy.py for activemq connectivity, I can connect and send messages but I'm not clear how to receive message. I don't see any "receive" method in there. Anybody has some example? I have so far: st = stomppy.Connection('172.18.8.67', 61613) st.start() st.subscribe('/queue/test') st.??

Unable to restart RAR with JBoss Integration (possible bug?)

2007-05-01 Thread tnine
Hi all, I'm using Active MQ 4.1.1 and JBoss 4.0.5. I have followed the integration instructions for integration MQ as a RAR. Whenever I invoke the destroy then the create operations from the JMX console, MQ fails to start when invoking create. It give me the following error. 2007-05-01 17:37

Network of brokers - messages not forwarded

2007-05-01 Thread uma_rk
Hello... I am using ActiveMQ 4.1.1 with Spring 2.0 and JDK6. I have a network of two brokers deployed as follows: HostA: transportConnectorURIs = tcp://localhost:61616 networkConnectorURIs = tcp://HostB:61616 Number of JMS Clients = 1 HostB: tra

Re: Connections dropped using 5 or more queues in 4.1.1

2007-05-01 Thread Dave Carlson
OK I'll answer my own question...I had the usageManager cpmmented out in my 4.1.1 activemq.xml file. After I uncommented it out, it works as expected. Dave Carlson <[EMAIL PROTECTED]> wrote: > > Hi, I am testing AMQ for use in our production environment, and seem to be > having problems w

Re: Network connector failover problems

2007-05-01 Thread agrabil
Hello again, I *think* I have found the source of this issue in the code, and I have made a patch that seems to work. However, I really don't know all of the implications of this patch. I would greatly appreciate if someone from the development team who knows this code could let me know what th

Re: Active MQ Integration with JBoss DataSource. JNDI Lookup fails

2007-05-01 Thread tnine
I would prefer to use a JBoss DS, I've never used the basic data source for more than integration testing, and I'm not sure of the side effects of using it in a clustered environment with a MySQL cluster with fail over and scalability. It seems I have a more pressing issue, if I remove the dataso

Connections dropped using 5 or more queues in 4.1.1

2007-05-01 Thread Dave Carlson
Hi, I am testing AMQ for use in our production environment, and seem to be having problems with 5 or more queues. I am using 10 senders distributed across 5 connections to send messages to 5 queues. After less than a minute of runtime, no more messages are sent. Then when the application tries to

broker factory bean config file

2007-05-01 Thread Garner, Shawn
I need to do this: Instead of this in my activemq.xml file but it says it can't fined applicationContext.properties which is probably because it's relative to the web app root Here's my broker def: Any help would

Re: Why is ActiveMQ 4.1.1 trying to make a connection to an IP address in PA?

2007-05-01 Thread sparky2708
What is the multicast address that corresponds to "multicast://default"? sparky2708 wrote: > > James, > thanks... So I just do the following (see below). Can you explain why > it was finding that particular IP address? Or can you point me to how > discovery is performed? > > > >

Re: Why is ActiveMQ 4.1.1 trying to make a connection to an IP address in PA?

2007-05-01 Thread sparky2708
James, thanks... So I just do the following (see below). Can you explain why it was finding that particular IP address? Or can you point me to how discovery is performed? James.Strachan wrote: > > There's no spyware! I suspect its the multicast discovery; you mig

Re: Why is ActiveMQ 4.1.1 trying to make a connection to an IP address in PA?

2007-05-01 Thread James Strachan
There's no spyware! I suspect its the multicast discovery; you might wanna disable that. On 5/1/07, sparky2708 <[EMAIL PROTECTED]> wrote: Hi, Our System Administrator was looking at the connections that my out-of-the-box ActiveMQ installation was doing and we couldn't figure out why it was t

Why is ActiveMQ 4.1.1 trying to make a connection to an IP address in PA?

2007-05-01 Thread sparky2708
Hi, Our System Administrator was looking at the connections that my out-of-the-box ActiveMQ installation was doing and we couldn't figure out why it was trying to connect to the following IP address in PA (port 61616): c-68-84-120-96.hsd1.pa.comcast.net (68.84.120.96) Can someone please inves

Re: Active MQ Integration with JBoss DataSource. JNDI Lookup fails

2007-05-01 Thread James Strachan
If you're using Spring to configure the data source, why not just drop JNDI altogether & use Spring? On 5/1/07, tnine <[EMAIL PROTECTED]> wrote: Just an Update. I've also tried the following for the JNDI connection. Whenever I view the jmx-console, my data source has connected and started succ

Re: Active MQ Integration with JBoss DataSource. JNDI Lookup fails

2007-05-01 Thread tnine
Just an Update. I've also tried the following for the JNDI connection. Whenever I view the jmx-console, my data source has connected and started successfully, any help would be greatly appreciated. I'm thoroughly stumped on this one, my knowledge of deploying RARs is minimal. new config snippi

Shutdown script doesn't seem to work in 4.1.1

2007-05-01 Thread sparky2708
I get the following exception when I run the shutdown script. Any ideas? : ACTIVEMQ_HOME: /home/teprod/apache-activemq-4.1.1 ACTIVEMQ_BASE: /home/teprod/apache-activemq-4.1.1 ERROR: java.lang.RuntimeException: Failed to execute stop task. Reason: java.io.IOException: Failed to retrieve RMIServer

Re: [camel] using camel spring container

2007-05-01 Thread James Strachan
BTW I've created a little test case for this kinda use case... https://svn.apache.org/repos/asf/activemq/camel/trunk/camel-spring/src/test/resources/org/apache/camel/spring/routingUsingProcessor.xml https://svn.apache.org/repos/asf/activemq/camel/trunk/camel-spring/src/test/java/org/apache/camel