activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Problem with starting activemq with network brokers
Date Mon, 19 Feb 2007 01:36:40 GMT

I am starting my standalone broker as follows by specifying  network brokers as follows:

   C:\activemq>bin\activemq broker:tcp://localhost:61616,network:static:tcp://remoteHost:61616

I have two questions:
1) Am I right in assuming that in this configuration, the messages published on topics/queues
the local broker will get forwarded to the remote broker also? Such that the subscribers on
local and remote hosts will receive the messages?

2) My attempt to start activemq as above yields the following exception, indicating that 
network brokers could not be started. How could I fix this problem?

ERROR: java.lang.Exception: Could load network factory:java
.io.IOException: Could not find factory class for resource: META-INF/services/or
java.lang.Exception: Could load network
xception: Could not find factory class for resource: META-INF/services/org/apach
        at org.apache.activemq.console.command.StartCommand.runTask(StartCommand
        at org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
        at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand
        at org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
        at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.ja
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
        at java.lang.reflect.Method.invoke(
        at org.apache.activemq.console.Main.runTaskClass(
        at org.apache.activemq.console.Main.main(

Any assistance hreatly appreciated.



View raw message