activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Receiver using, Sender not.
Date Wed, 06 Jun 2007 09:25:41 GMT
I don't really understand what you're doing or whats happening; but I
guess you might be hitting an issue with classpaths, or that the
broker is not being created until after your connections. Maybe
switching to tcp:// rather than vm:// might help

On 6/4/07, QJack <> wrote:
> I have a Receiver that is using in the classpath and the
> InitialContext is being created with the default contructor.
> InitialContext().  I am also running the broker service.  When I run the
> Receiver it appears that it is trying to create its own service instead of
> binding to the existing broker.  I think this because I get a JMX connector
> "NameAlreadyBoundException".
> I then have a Sender that is creating an InitialContext with the EXACT same
> properties as the file using InitialContext(props) and the
> is NOT nor should be in it's classpath.  Yet, my receiver
> never receives the messages and what's more is that when using JConsole to
> monitor my Topics, the receiver's topic never shows.
> The JNDI tutorial doesn't mention this.  Also, I've noticed that if I use
> the in the classpath for both Receiver and Sender, the same
> thing happens, I don't successfully send messages.
> Any clues?
> Thanks,
> Jeff
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


View raw message