Re: help: ruby listener/publisher

2012-11-22 Thread Torsten Mielke
Hi Tony, As I mentioned in my previous email, this error is generally thrown if the port (61618 in your example) is already in use by another process. Stop your broker and run netstat -an | grep 61618 and if you see something like this line being printed tcp4 0 0 *.61618

Re: help: ruby listener/publisher

2012-11-21 Thread topsweep1506
Hi Torsten Here are a few of the error messages ive been recieving when running activemq-stomp-my.xml (all i done to the default file was change the port and address to ) ERROR | Failed to load: URL [file:/c:/apache-activemq-5.7.0/conf/activemq-stomp-my.xml], reason: Error creating bean with nam

Re: help: ruby listener/publisher

2012-11-21 Thread topsweep1506
Ive even got a pdf file here telling me how to do it but following these instructions dosnt work either just wish it was as easy as it says in the pdf file lol In the pdf file these is the way it says to do it 6.3.3 Configure the broker Check that the the Stomp connector is present in the broker

Re: help: ruby listener/publisher

2012-11-21 Thread Torsten Mielke
Hi Tony > Hi > > I seem to be gettin somewere now ive got the default brokers running now > (activemq.xml/activemq-stomp.xml) but when i try to configure them to what i > want they are returning error messages > When i try and change the transport connector host/port from the default to > what

Re: help: ruby listener/publisher

2012-11-20 Thread topsweep1506
Hi I seem to be gettin somewere now ive got the default brokers running now (activemq.xml/activemq-stomp.xml) but when i try to configure them to what i want they are returning error messages When i try and change the transport connector host/port from the default to what i want in activemq-stom

Re: help: ruby listener/publisher

2012-11-20 Thread Torsten Mielke
You seem to be passing this argument to the activemq script: xbean:file:c:\apache-activemq-5.7.0\conf\activemq-stomp-my.xml These \ characters cause problems on Windows shells. Instead try using xbean:file:/c:/apache-activemq-5.7.0/conf/activemq-stomp-my.xml or a variation of this. Torsten

Re: help: ruby listener/publisher

2012-11-20 Thread topsweep1506
Hi thorsten ive done what u told me with the broker file and the activemq-stomp.xml and im getting these errors which i think are java related Warning: JAVA_HOME environment variable is not set. Java Runtime: Oracle Corporation 1.7.0_09 C:\Program Files\Java\jre7 Heap sizes: current=1004928k

Re: help: ruby listener/publisher

2012-11-20 Thread Torsten Mielke
It seems to be necessary to fully escape the () in the broker command, e.g. ./activemq console broker:\\\(tcp://localhost:61613\\\) It should then startup. On Nov 20, 2012, at 1:11 PM, topsweep1506 wrote: > Hi torsten sorry for bein a pain but im gettin stuck with the broker config, > what i

Re: help: ruby listener/publisher

2012-11-20 Thread Torsten Mielke
Hi Tony, Instead of using the broker: argument to the bin/activemq script, it may be easier to put the broker config into a separate configuration file and reference that file at startup, e.g. ./activemq xbean:file:../conf/my-broker-config.xml It is easier to further fine tune the broker conf

Re: help: ruby listener/publisher

2012-11-20 Thread topsweep1506
Hi torsten sorry for bein a pain but im gettin stuck with the broker config, what i was goin to do was make my own config file using the uri statement (broker:(tcp://localhost:61616,network:static:tcp://remotehost:61616)?persistent=false&useJmx=false) without using the jmx as i think thats were im

Re: help: ruby listener/publisher

2012-11-20 Thread Torsten Mielke
Hi Tony, The conf/ folder contains a couple of different broker configurations for illustration purposes. If you run the broker using bin/activemq, it will by default use the configuration in conf/activemq.xml. So it is this broker config file that you need to change (or supply a different c

Re: help: ruby listener/publisher

2012-11-19 Thread topsweep1506
Hi im using the activemq broker ive added this to the conf\activemq.xml file or do i add this to the conf\activemq-stomp.xml? ... ... ... i havnt changed anything in the ruby listener/producer rb files TONY -- View this message in context: http://activemq.2283324.n4.nabble.com/help-rub

Re: help: ruby listener/publisher

2012-11-19 Thread Torsten Mielke
What broker url did you specify? Assuming you are talking the stomp protocol, make sure the broker configuration starts a stomp transport listener, typically on port 61613. Use the same host:port in your ruby client. Torsten Mielke tors...@fusesource.com tmielke.blogspot.com On Nov 19, 2012,