-
1. Re: JMSSecurityException (Very Urgent)
monu Jul 16, 2003 4:18 PM (in response to monu)Hi,
I have created queue by adding the below to jbossmq-destination-service.xml file.
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
<depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager
I m creating connection like this:
QueueConnectionFactory factory = (QueueConnectionFactory) getConnectionFactory();
QueueConnection queueConnection = factory.createQueueConnection("guest","guest");
queueConnection.start();
I have a java program, which send messages to queue. For 20-30 minutes it works fine after that it starts throwing exception.
“javax.jms.JMSSecurityException: User: guest is NOT authenticated.”
Kindly help me in solving this problem.
Thanks in advance,
Regards,
Monu