IBM Support

IT09806: LOCKS CREATED WHEN EDITING AS2 RESOURCES CANNOT BE RELEASED BY LOCK MANAGER

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

Direct link to fix

 

APAR status

  • Closed as program error.

Error description

  • Customer is not able to release locks created when editing an
    AS2 organization, and exiting without save or cancel.
    Receiving the following error in UI log:
    
    [2015-05-15 10:53:55.843] ERROR Error
    [2015-05-15 10:53:55.843] ERROR [1431705235843] null
    [2015-05-15 10:53:55.844] ERRORDTL
    [1431705235843]java.lang.IllegalArgumentException
        at
    com.sterlingcommerce.refactor.util.URLDecoder.decode(URLDecoder.
    java:75)
        at
    com.sterlingcommerce.refactor.util.URLDecoder.decode(URLDecoder.
    java:50)
        at
    com.sterlingcommerce.woodstock.adminui.jspbean.LockList.search(L
    ockList.java:201)
        at
    org.apache.jsp.jsp.locklist_jsp._jspService(org.apache.jsp.jsp.l
    ocklist_jsp:121)
        at
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:9
    7)
        at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWr
    apper.java:332)
        at
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.j
    ava:314)
        at
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264
    )
        at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at
    org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.jav
    a:511)
        at
    org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.j
    ava:401)
        at
    org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandle
    r.java:216)
        at
    org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.j
    ava:182)
        at
    org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.j
    ava:768)
        at
    org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java
    :450)
        at
    org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:329
    )
        at
    org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126
    )
        at
    com.sterlingcommerce.woodstock.ui.servlet.ServletBase.gotoPage(S
    ervletBase.java:340)
        at
    com.sterlingcommerce.woodstock.adminui.servlet.Page.doPost(Page.
    java:164)
        at
    com.sterlingcommerce.woodstock.ui.servlet.ServletBase.doGet(Serv
    letBase.java:188)
        at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
        at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at
    org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.jav
    a:511)
        at
    org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Se
    rvletHandler.java:1221)
        at
    com.sterlingcommerce.woodstock.ui.dlsso.DLSSOFilter.doFilter(DLS
    SOFilter.java:264)
        at
    org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Se
    rvletHandler.java:1212)
        at
    com.sterlingcommerce.security.csrf.SCUIcsrfFilter.doFilter(SCUIc
    srfFilter.java:66)
        at
    org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Se
    rvletHandler.java:1212)
        at
    com.sterlingcommerce.security.dv.web.SCUIRequestValidatorFilter.
    doFilter(SCUIRequestValidatorFilter.java:30)
        at
    org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Se
    rvletHandler.java:1212)
        at
    com.sterlingcommerce.security.dv.web.SCUISafeRequestFilter.doFil
    ter(SCUISafeRequestFilter.java:42)
        at
    org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Se
    rvletHandler.java:1212)
        at
    com.sterlingcommerce.woodstock.ui.SecurityExtensionFilter.doFilt
    er(SecurityExtensionFilter.java:127)
        at
    org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(Se
    rvletHandler.java:1212)
        at
    org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.j
    ava:399)
        at
    org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandle
    r.java:216)
        at
    org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.j
    ava:182)
        at
    org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.j
    ava:768)
        at
    org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java
    :450)
        at
    org.mortbay.jetty.handler.ContextHandlerCollection.handle(Contex
    tHandlerCollection.java:230)
        at
    org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollec
    tion.java:114)
        at
    org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.j
    ava:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at
    org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.ja
    va:544)
        at
    org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(H
    ttpConnection.java:942)
        at
    org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
        at
    org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        at
    org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:406)
        at
    org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoi
    nt.java:410)
        at
    org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThrea
    dPool.java:451)
    
    Simulation Steps
    (Steps taken by support or customer to replicate or comments)
    
    Reproduced error on oxnard:46000 and other 525 instances.
    1) Edit an AS2 partner.
    2) Exit without cancel/save
    3) Check Lock Manager
    4) Attempt to clear lock (produces error message and above
    error in ui log)
    
    Seems to be related to locks where '%' symbol is in the lock
    name. Updated LOCKS table to remove '%' sumbol from ITEMNAME
    column and was then able to release lock using Lock Manager.
    Error did NOT occur in 5020402 or 5020402_4 instances (where a
    '%' symbol was also present in the lock name).
    

Local fix

  • STRRTC - 468773
    PC / PC
    Workaround:
    1) Delete lock from LOCKS table.
    2) Allow lock to expire. LockInterval property set
    to 30 minutes by default.
    

Problem summary

  • Problem Description:
    An exception occurs because the AS2 lock contains a percent
    sign and we make an extra call to URLDecoder which tries to
    decode an already decoded string.
    
    Platforms Affected:
    All
    
    Users Affected:
    AS2 users
    

Problem conclusion

  • Resolution Summary:
    A code fix has been provided.
    
    Delivered In:
    5020500_7
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT09806

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    525

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-01

  • Closed date

    2015-07-23

  • Last modified date

    2015-07-29

  • 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

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

  • R525 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.5","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
29 July 2015