OSB - Problems connecting sync business service to resp. queue with login
760173Mar 31 2010 — edited Apr 8 2010Hello,
I have a synchronous JMS business service which uses the MessageID correlation pattern with statically configured request and response JMS queues. The JMS queues are imported using a foreign JMS and a connection factory with credentials (username and password). The requests seem to work just fine (they are received at the foreign JMS) but I still have problems with the responses. I get the following log entries:
<Mar 31, 2010 1:50:10 PM CEST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: ResponseEJB-8048850762288479454-46349ef3.127b3dbbff1.-7fe6 is unable to connect to the JMS destination: queue.local.name. The Error was:
javax.jms.JMSSecurityException: User: null is not authorized to read from destination queue.external.name>
It seems that the response is handled by a MDB which does not seem to use the username and password configured in the connection factory. Any ideas how to make it use the username and password of the connection factory to receive the response? I have tried both providing the connection factory for the response and leaving it empty (which would cause it to use the one from the request) - both with no success.
I am really stuck here..
Thanks,
Dimo