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                   *.*                    LISTEN

then its the proof that this port is already in use. 
Only one process can use an individual port on a machine.
Find out what application uses this port (the tools to use depend on the OS 
used) and quit or reconfigure that application to use a different port. 
Alternatively change your broker configuration to use another free port other 
than 61618.

Also, is the hostname datafeeds.networkrail.co.uk the correct hostname for this 
machine? 
Does the broker startup correctly when using stomp://localhost:61618 ? If so, 
then your machine name datafeeds.networkrail.co.uk could be incorrect. 


Torsten Mielke
tors...@fusesource.com
tmielke.blogspot.com

On Nov 22, 2012, at 5:15 AM, topsweep1506 wrote:

> 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 <transportConnector name="stomp"
> uri="stomp://datafeeds.networkrail.co.uk:61618"/> )
> 
> ERROR | Failed to load: URL
> [file:/c:/apache-activemq-5.7.0/conf/activemq-stomp-my.xml], reason: Error
> creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0'
> defined in URL [file:/c:/apache-activemq-5.7.0/conf/activemq-stomp-my.xml]
> : Invocation of init method failed; nested exception is java.io.IOException:
> Transport Connector could not be registered in JMX: Failed to bind to server
> socket: stomp://datafeeds.networkrail.co.uk:61618 due to:
> java.net.BindException: Cannot assign
> requested address: JVM_Bind
> 
> That is the main error message that appears
> 
> TONY





Reply via email to