Make sure you pass the virtual host without a leading '/' when creating the
connection, or you'll get an error.

Rupert

On 2/4/07, Marnie McCormack <[EMAIL PROTECTED]> wrote:

Hi Kevin,

Sorry I missed the start of this thread. Most of the questions you have
are
probably answered (at least to a degree) by the Apache confluence docs for
the Java broker.

http://cwiki.apache.org/qpid/qpid-java-documentation.html

There's a section on config and one on URLs. The only thing to note is
that
recent changes around virtual hosts (which I haven't yet doc'd) probably
mean using /testpath in your url.

If there are gaps in the doc details, please let me know and I'll enhance
to
add end user value !

Hth,
Marnie

On 2/2/07, Kevin Smith <[EMAIL PROTECTED]> wrote:
>
> Kevin Smith wrote:
> > Robert Godfrey wrote:
> >> Which revision of the code are you using...
> >>
> >> For me, this line:
> >>
> >>      at
> >>
> org.apache.qpid.server.protocol.AMQMinaProtocolSession.dataBlockReceived
(
> >> AMQMinaProtocolSession.java:206)
> >>
> >> resolves to this
> >>
> >>                   locales.getBytes(), // locales
> >>
> >> which given that locales is defines not moments before as String
> >> locales =
> >> "en_US" is very unlikley to be the throw an NPE, and thus I'm
assuming
> >> your
> >> line 206 isn;t the same as mine :-)
> >>
> >> The only line close that looks like it could NPE is the next one:
> >>
> >>                    mechanisms.getBytes(), // mechanisms
> >>
> >> Which would imply that your authentication manager hasn't configured
> >> itself
> >> properly.
> >>
> >> The config.xml you sent... is that the *whole* of your config?  i.e.
> have
> >> you purposefully deleted all the other config from it?
> >>
> >> You probably want to run with a config which contains all the
standard
> >> config + what you have added (apologies if this is what you are
already
> >> doing).
> >>
> >>
> >> - Rob
> >>
> > That's what I suspect. The config I sent is the entirety of the config
> > file I'm currently using. I'll update from svn and re-jigger my
configs
> > and try this again.
> >
> > --Kevin
> >
> OK. I'm running much better with the configs from subversion plus my
> changes.
> However, I'm having a hard time figuring out what the correct URL should
> be for
> the client to connect to my server. Assuming that I'm running the broker
> on
> localhost with the default configs -- what should the URL look like?
>
> --Kevin
>
>
>

Reply via email to