BRPM to BSA automation step failing - Operation failed: (soapenv:Server) SessionRejectedException

Version 2
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    BMC Release Lifecycle Management


    APPLIES TO:

    BMC Release Lifecycle Management



    PROBLEM:

     

    BRPM to BSA automation step failing - Operation failed: (soapenv:Server) SessionRejectedException

    LP: BMC Release Process Management 4.4.00
    DR: Release Process Management 4.4.00

    Operation failed: (soapenv:Server) SessionRejectedException, Backtrace:
    ["/app/bmc/RLM/lib/jruby/lib/ruby/gems/shared/gems/savon-1.1.0/lib/savon/soap/response.rb:107:in `raise_errors'", "/app/bmc/RLM/lib/jruby/lib/ruby/gems/shared/gems/savon-1.1.0/lib/savon/soap/response.rb:18:in `initialize'", "/app/bmc/RLM/lib/jruby/lib/ruby/gems/shared/gems/savon-1.1.0/lib/savon/soap/request.rb:35:in `response'", "/app/bmc/RLM/lib/jruby/lib/ruby/gems/shared/gems/savon-1.1.0/lib/savon/client.rb:84:in `request'", "/app/bmc/RLM/releases/4.4.00/RPM/lib/script_support/baa_utilities.rb:418:in `baa_soap_login'", "/rpm/automation_results/request/CRM/15235/step_31316/script_baa_10111_1402849639.txt:489:in `(root)'"]

     

     


    SOLUTION:

     

    Legacy ID:KA414675

      

    BRPM uses BSA WebServices for the integration.
    Error in BRPM server logs:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    D, [2014-06-26T20:46:06.469000 #25981] DEBUG -- : SOAP response (status 500):
    D, [2014-06-26T20:46:06.471000 #25981] DEBUG -- : <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring>SessionRejectedException</faultstring><detail><ns2:SessionRejectedException xmlns:ns2="http://bladelogic.com/webservices/skeleton/login"><ns2:SessionRejectedException xmlns:ns1="http://bladelogic.com/webservices/framework/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:SessionRejectedException"><ns1:Exception xmlns:s533="http://www.w3.org/2001/XMLSchema" xsi:type="s533:string">The user 'BLAdmin' has exceeded the maximum number of sessions permitted for a user</ns1:Exception></ns2:SessionRejectedException></ns2:SessionRejectedException></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
    Operation failed: (soapenv:Server) SessionRejectedException, Backtrace:
    ["/app/bmc/RLM/lib/jruby/lib/ruby/gems/shared/gems/savon-1.1.0/lib/savon/soap/response.rb:107:in `raise_errors'", "/app/bmc/RLM/lib/jruby/lib/ruby/gems/shared/gems/savon-1.1.0/lib/savon/soap/response.rb:18:in `initialize'", "/app/bmc/RLM/lib/jruby/lib/ruby/gems/shared/gems/savon-1.1.0/lib/savon/soap/request.rb:35:in `response'", "/app/bmc/RLM/lib/jruby/lib/ruby/gems/shared/gems/savon-1.1.0/lib/savon/client.rb:84:in `request'", "/app/bmc/RLM/releases/4.4.00/RPM/lib/script_support/baa_utilities.rb:418:in `baa_soap_login'", "/rpm/automation_results/request/DSMP/15326/step_32118/script_baa_10111_1403786689.txt:557:in `(root)'"]

    [Script output written to: /rpm/automation_results/request/DSMP/15326/step_32118/output_10111_1403786689.txt]
    ]

      

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~


    Error in BSA AppServer logs:

      

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    [26 Jun 2014 20:46:06,399] [http-9843-3] [INFO] [::] [] LoginUsingUserCredentialResponse | Login Request with transaction id null
    [26 Jun 2014 20:46:06,400] [http-9843-3] [ERROR] [::] [] The user 'BLAdmin' has exceeded the maximum number of sessions permitted for a user
    com.bladelogic.om.infra.session.client.SessionRejectedException: The user 'BLAdmin' has exceeded the maximum number of sessions permitted for a user
    at com.bladelogic.webservices.framework.WSAuthenticationFactory.authenticate(WSAuthenticationFactory.java:172)
    at com.bladelogic.webservices.skeleton.login.LoginServiceSkeleton.loginUsingUserCredential(LoginServiceSkeleton.java:126)

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Solution:
    Increase the MaxSessionsPerUser on the BSA appservers and restart.

    set WebServices MaxSessionsPerUser <new higher value>

      
    Related Products:  
       
    1. BMC Release Process Management
    2.  
    3. BMC Release Process Management

     


    Article Number:

    000093633


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles