IBM Support

JR41612: EXECUTESERVICEBYNAME DOES NOT CALL INITIALIZENEWLOGIN SO NEW USERS CANNOT EXECUTE SERVICES WITHOUT LOGGING INTO PORTAL FIRST

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The initalizeNewLogin script is only run when a user logs into
    the BPM portal.  For solutions where the portal is not used and
    credentials are passed with the REST API or WEBAPI, the
    initalizeNewLogin is not run.  This script auto populates
     LSW_USR_* tables with the correct group references. Without
    this population, running BPM processes do not function properly.
    
    Affectts WLE 7.1, 7.2 and BPM 7.5, 7.5.0.1, 7.5.1
    Reference: JIRA WLE-7203
    
    
    The source of this problem is that unless initializeNewLogin is
    called, the users role mapping is not established. Since
    initializeNewLogin is not called by this servlet, the user will
    NEVER get their role assignments filled in. Even if they hit
    this servlet multiple times.
    
    Sample error stack from BPM 7.5.0.1
    
    [15/12/11 10:22:32:446 GMT] 00000053 wle_servlet   E
    CWLLG0062E: An unexpected exception occurred in a servlet
    doGet() method. Error:
    com.lombardisoftware.core.TeamWorksException: You are not
    allowed to execute this item for one of the following reasons:
     1. The service is not exposed.
     2. The snapshot is not active.
     3. You do not have permission to run the service.
    
    com.lombardisoftware.core.TeamWorksException: You are not
    allowed to execute this item for one of the following reasons:
     1. The service is not exposed.
     2. The snapshot is not active.
     3. You do not have permission to run the service.
     at
    com.lombardisoftware.servlet.ExecuteServiceByNameServlet.doGet(E
    xecuteServiceByNameServlet.java:154)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
     at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr
    apper.java:1657)
     at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr
    apper.java:1597)
     at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp
    FilterChain.java:131)
     at
    com.lombardisoftware.servlet.ClearThreadCachesFilter.doFilter(Cl
    earThreadCachesFilter.java:24)
     at
    com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(Fi
    lterInstanceWrapper.java:188)
     at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp
    FilterChain.java:116)
     at
    com.lombardisoftware.servlet.SetUserTimeZoneFilter.doFilter(SetU
    serTimeZoneFilter.java:41)
     at
    com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(Fi
    lterInstanceWrapper.java:188)
     at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp
    FilterChain.java:116)
     at
    com.lombardisoftware.servlet.CrossSiteScriptingFilter.doFilter(C
    rossSiteScriptingFilter.java:29)
    

Local fix

  • Users must login to the BPM portal for user membership to work
    properly.
    

Problem summary

  • ExecuteServiceByName does not call initializeNewLogin so new
    users cannot execute services without logging into portal first
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    JR41612

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-01-06

  • Closed date

    2012-02-14

  • Last modified date

    2012-02-14

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R751 PSY

       UP

  • R750 PSN

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5"}]

Document Information

Modified date:
06 October 2021