WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  CONTAINER AUTHORIZATION EXCEPTION 1071

    Posted 09/10/16 01:29 PM

    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?



  • 2.  RE: CONTAINER AUTHORIZATION EXCEPTION 1071

    Posted 09/23/16 10:30 AM

    Hi Vijay,

      Take a look to the next technote, seems your error:
     
      CONTAINER AUTHORIZATION EXCEPTION 1071
      http://www-01.ibm.com/support/docview.wss?uid=swg21625948
     
      Hope this helps. Tell us if you need more support
     
    Regards



  • 3.  RE: CONTAINER AUTHORIZATION EXCEPTION 1071

    Posted 10/07/16 07:45 PM

    Hi Gabriel,

    Thanks for the info.

    But the issue was resolved by adding allauthenticated group to my SIBus security configuration.

    Regards

    Vijay Gopal