• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Own Instance number
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Own Instance number (From: André Rothe via Webobjects-dev <email@hidden>)

  • Prev by Date: Re: Own Instance number
  • Next by Date: Re: Own Instance number
  • Previous by thread: Re: Own Instance number
  • Next by thread: Asking questions
  • Index(es):
    • Date
    • Thread