I think you need to use CLI to manually create the queue grant and it will
probably work.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, July 12, 2001 12:12 AM
To: [EMAIL PROTECTED]
Subject: [developers] Authentication--Error


Hi,
I'm trying to provide authentication for the testqueue and use the sample
program AsynchQueueReceiver  to receive the message. But I'm getting
following exception
Exception occurred: javax.jms.JMSException:
com.swiftmq.swiftlet.auth.AuthenticationException: receiver subscription to
queue 'testqueue@router1' is not granted for user: anonymous

I changed PROVIDER_URL in SampleUtilitites.java as
smqp://testUser:test@localhost:4001
In AsynchQueueReceiver.java I changed createQueueConnection to
queueConnectionFactory.createQueueConnection("testUser", "test)

I'm using SwiftMQ 2.1.1. I also tested with SwiftMQ 2.1.2. The result is
still the same.

I've attached my configuration file. Am I missing something here?
Appreciate if someone can guide me in making authentication work in Swift
MQ. I'm in the process of evaluating this product for production use. We
are happy with everything except for authentication.

--Venkat

(See attached file: smqr1.properties)

------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/




Reply via email to