webMethods

webMethods

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
Expand all | Collapse all

How to kill session ?, problem to attach Sesion

  • 1.  How to kill session ?, problem to attach Sesion

    Posted Mon November 19, 2018 11:21 AM

    Hi to all, I´m new en Applinx and I have a problem.

    I have a project where sessions are opened, but when I want to recover it there are occasions where I receive the message “Session is Attached”.

    It is possible to kill a session if it can not be recovered.

    I have this method by attach sessions :

    
    
    public SesionApplinx attachSesion(String serverURL, String applicationName, String sesionId) throws ApplinxException {
    SesionApplinx nuevaSesionApplinx = new SesionApplinx(serverURL, applicationName);
    try {
    nuevaSesionApplinx.setClientBaseObject(GXClientBaseObjectFactory.getBaseObject(new GXAttachToSessionRequest(serverURL, sesionId)));
    nuevaSesionApplinx.setCreateSessionRequest(new GXCreateSessionRequest(serverURL, applicationName, sesionId, "", "", "", ""));
    nuevaSesionApplinx.setPantallaActiva(nuevaSesionApplinx.getClientBaseObject().getScreen());
    return nuevaSesionApplinx;
    } catch (GXGeneralException e) {
    throw new ApplinxException(e);
    }
    }

    But when I do:

    nuevaSesionApplinx.setCreateSessionRequest(new GXCreateSessionRequest(serverURL, applicationName, sesionId, "", "", "", ""));

    An exception occurs.

    I can´t attach the session them I can´t close it. There is some way to kill it ?

    Regards and sorry for my english


    #webMethods
    #Mainframe-Integration
    #ApplinX


  • 2.  RE: How to kill session ?, problem to attach Sesion

    Posted Sun November 17, 2019 04:24 AM

    This issue has been addressed and fixed recently.
    Which version are you using?


    #Mainframe-Integration
    #ApplinX
    #webMethods