<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=417240011-23112007><FONT face=Arial
color=#0000ff size=2>Ah - found my problem - I need to use<EM> /data</EM> rather
than <EM>data</EM> as the name of the realm<EM>.</EM></FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
rabbitmq-discuss-bounces@lists.rabbitmq.com
[mailto:rabbitmq-discuss-bounces@lists.rabbitmq.com] <B>On Behalf Of </B>John
Watson<BR><B>Sent:</B> 23 November 2007 10:27<BR><B>To:</B>
rabbitmq-discuss@lists.rabbitmq.com<BR><B>Subject:</B> [rabbitmq-discuss] Newbie
question<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><SPAN class=946451210-23112007>It was very
interesting to see you, Tony and Alexis, earlier on in the week - very many
thanks for making the time.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=946451210-23112007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=946451210-23112007>I'm having my first
look at the java interface to rabbitMQ. I've installed rabbitMQ on my machine,
set up a user (john) and a virtualhost (sportsdata). I've both granted
myself access and set myself permissions (not sure if I need to do this if I am
the owner) but anyway I get:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=946451210-23112007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=946451210-23112007>Listing permissions
for user "john" in vhost "sportsdata" ...<BR>/data:
[passive,active,write,read]<BR>done.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=946451210-23112007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=946451210-23112007>I'm following the
instructions in the core java API guide, trying to attach to this virtual host
with this user on the host (which I've named 'localhost' - hope this
works). When I attempt channel.accessRequest() to the /data realm, I get
the error:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=946451210-23112007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=946451210-23112007> [java] Caused by:
com.rabbitmq.client.ShutdownSignalException (channel error; reason:
{#method<channel.close>(reply code=403, reply text=ACCESS_REFUSED, class
id=30, method id=10),null,""})</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=946451210-23112007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=946451210-23112007>I'm obviously
missing something, but I can't see what. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=946451210-23112007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=946451210-23112007>Cheers</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=946451210-23112007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=946451210-23112007>John</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=946451210-23112007></SPAN></FONT> </DIV>
<P><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">*************************************************************</SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">Satellite Information
Services Limited Registered Office: </SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">17 Corsham Street London
N1 6DR, Company No. 4243307</SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'"></SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'"></SPAN> </P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">The information in this
e-mail (which includes any files</SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">transmitted with it) is
confidential and is intended for the</SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">addressee only.
Unauthorised recipients are required to</SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">maintain confidentiality.
If you have received this e-mail</SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">in error please notify the
sender immediately, destroy any</SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">copies and delete it from
your computer system. </SPAN></P>
<P><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">*************************************************************</SPAN></P>
<P><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'"></SPAN> </P></BODY></HTML>