Re: Own Instance number
Re: Own Instance number
- Subject: Re: Own Instance number
- From: André Rothe via Webobjects-dev <email@hidden>
- Date: Thu, 02 Mar 2023 12:15:24 +0100
Am 01.03.2023 12:15, schrieb André Rothe via Webobjects-dev:
Can I get the instance number of the own WO application?
I found
http://localhost:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig
which is accessible without credentials and returns an XML with the
instance number. This URL I can access from my application. The wotaskd
port number is defined by WOApplication.lifebeatDestinationPort(). The
first part of the URL you can get from WOApplication.cgiAdaptorURL(),
which you can enhance by the lifebeat port and the rest of the path.
The XML can be queried by XPath and be filtered by the application name
and port (WOApplication.port(), WOApplication.name()) to find the right
instance id. Seems to work on my installation.
André
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden