Hi ,
I got it working. I was granting permission to alias name. After I changed
grant to full form queue name, it is working fine. ie. Instead of granting
permission to testQueue (which is alias to testqueue@router1), I grant
permission to testqueue@router1. Now everything works fine.
venkat@logipo
lis.com To: <[EMAIL PROTECTED]>
Sent by: cc:
[EMAIL PROTECTED] Subject: [developers]
Authentication--Error
e
07/13/01
10:35 AM
Please
respond to
developers
Hi Kang Sun,
I tried creating queue grants manually using cli as you mentioned. But
still I'm getting the same exception. My doubt is that server is not
recognizing the user/password I pass in CreateQueueConnection. I should be
doing something wrong. Whatever value I pass it in CreateQueueConnection it
still results in the same exception.
Any help is very much appreciated.
--Venkat
"Kang Sun"
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
power.com> cc:
Sent by: Subject: [developers]
Authentication--Error
[EMAIL PROTECTED]
07/13/01 01:57
AM
Please respond
to developers
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/
------------------------------------------------------
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/