PAS SESSION:SERVER-CONNECTION-ID Value - Forum - OpenEdge Development - Progress Community

PAS SESSION:SERVER-CONNECTION-ID Value

 Forum

PAS SESSION:SERVER-CONNECTION-ID Value

This question is answered

Hi.

When using PAS as a stateless appserver for an ABL application, the server-connection-id contains the following:

"D4ABD9223C4E5AD688B7D40ACC9428DF26D176936884.oepas1"

My question is:

Will the PAS instance name *always* be the 2nd entry in this period-delimited list?

Jeff Ledbetter

Roundtable Product Architect

www.roundtable-software.com

Verified Answer
  • In curl, add -u tomcat:tomcat  (or whatever's configured; you can see that in OEM/OEE).

All Replies
  • Why do you care about that name?
     
    Also, it *may* be the ABL application name (which is the same as the instance name by default).
  • I care because I want to display a "friendly name" showing the appserver in use.

    Jeff Ledbetter

    Roundtable Product Architect

    www.roundtable-software.com

  • If I am right, then it is the alias name of the instance and it might dissappear if you enable clustering on that specific PASOE instance.

    Regards,

    Irfan

  • OK.
     
    The “appserver” in use is a combination of instance (eg http://localhost:8810 or an alias like oepas1  ) and the ABL application name. I don’t believe the instance alias and ABL application names are exposed to clients in the normal but you can get this info via the oemanager REST API (start at  https://documentation.progress.com/output/ua/OpenEdge_latest/index.html#page/pasoe-admin/list-abl-plication-information.html# ). Note that this requires you to install the oemanager webapp.
     
    You should show a combination of those, similarly to how PDSOE does in the Servers view
     
     
     
     
  • For us, this value is set at login and stored in our session table (which all happens on the server) so accessing it via the client isn't really a necessity. We already store the SERVER-CONNECTION-ID and fish out the appserver name for a "traditional" stateless AppServer from this string. I was hoping to do something similar for a PAS server. I don't need this data for establishing a connection, etc. It's just a visual clue to the end-user (and for our tech support).

    Jeff Ledbetter

    Roundtable Product Architect

    www.roundtable-software.com

  • Peter, for funsies I tried what you suggested but received an "unauthorized" response. Is this a small part of a bigger puzzle, or is there some kind of way to pass credentials to the call?

    Jeff Ledbetter

    Roundtable Product Architect

    www.roundtable-software.com

  • How  did you ask? you'll need to log in to to access oemanager. The default creds are tomcat/tomcat.

  • I tried using curl (per the example in the doc) as well as my own code (using .Net). How does one log in?

    Jeff Ledbetter

    Roundtable Product Architect

    www.roundtable-software.com

  • In curl, add -u tomcat:tomcat  (or whatever's configured; you can see that in OEM/OEE).

  • Ok, that seems to work. Thanks.

    Not sure what you mean by "you can see that in OEM/OEE" though.

    Jeff Ledbetter

    Roundtable Product Architect

    www.roundtable-software.com

  • There’s a screen somewhere that lets you specify the u/pw used (so it’s not always tomcat/tomcat).
  • Yes, ok, gotcha. I thought you meant some way to see the URI and parameters being passed. :)

    Jeff Ledbetter

    Roundtable Product Architect

    www.roundtable-software.com