Hi ,
I have deployed an application in Websphere 8.0. The deployment is successful and the application is running. The issue occurs when the application tries to acquire a JMS connection. The application internally uses SIBus. Security is enabled for the SIBus and I have added the required users under the -->Authorization Policy --> Users and groups in the bus connector role. The J2C Authentication alias has been set for all these users. For some reason whenever the application tries to obtain the JMSConnection websphere throws javax.jms.JMSSecurityException: CWSIA0006E: The authorization for the supplied user name was not successful. -- On following the stack trace at the bottom I see "CONTAINER AUTHORIZATION EXCEPTION 1071". I also looked at the ffdc logs generated. The error thrown in FFDC logs is
CWSJR1028E: An internal error has occurred. The exception com.ibm.wsspi.sib.core.exception.SINotAuthorizedException: CWSIP0303E: No user specified when creating a connection to secure messaging engine. And below I can see the application requested connection details where the user name and password is null.
com.ibm.ws.sib.api.jmsra.impl.JmsJcaConnectionFactoryImpl::_managedConnectionFactory BEGIN:com.ibm.ws.sib.api.jmsra.impl.JmsJcaManagedConnectionFactoryImpl@2ac41eb1
[com.ibm.ws.sib.api.jmsra.impl.JmsJcaManagedConnectionFactoryImpl@2ac41eb1 <logWriter=null> <busName=CuramBus> <clientID=null> <userName=null> <password=null> <xaRecoveryAlias=HIXDEVDSKTP11Node01/databaseAdmin> <nonPersistentMapping=ExpressNonPersistent> <persistentMapping=ReliablePersistent> <durableSubscriptionHome=HIXDEVDSKTP11Node01.server1-CuramBus> <readAhead=Default> <temporaryQueueNamePrefix=null>
Can anybody help me understand what is the missing link?