[rabbitmq-discuss] Newbie question
John Watson
JWatson at sis.tv
Fri Nov 23 11:01:40 GMT 2007
Ah - found my problem - I need to use /data rather than data as the name
of the realm.
________________________________
From: rabbitmq-discuss-bounces at lists.rabbitmq.com
[mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of John
Watson
Sent: 23 November 2007 10:27
To: rabbitmq-discuss at lists.rabbitmq.com
Subject: [rabbitmq-discuss] Newbie question
It was very interesting to see you, Tony and Alexis, earlier on in the
week - very many thanks for making the time.
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:
Listing permissions for user "john" in vhost "sportsdata" ...
/data: [passive,active,write,read]
done.
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:
[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,""})
I'm obviously missing something, but I can't see what.
Cheers
John
*************************************************************
Satellite Information Services Limited Registered Office:
17 Corsham Street London N1 6DR, Company No. 4243307
The information in this e-mail (which includes any files
transmitted with it) is confidential and is intended for the
addressee only. Unauthorised recipients are required to
maintain confidentiality. If you have received this e-mail
in error please notify the sender immediately, destroy any
copies and delete it from your computer system.
*************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20071123/26acd654/attachment.htm
More information about the rabbitmq-discuss
mailing list