Mailing List webobjects-dev@wocommunity.org Message #228
From: Markus Ruggiero (rucotec) <webobjects-dev@wocommunity.org>
Subject: Re: [WO-DEV] apache looking for non existent instances
Date: Thu, 1 Jul 2021 10:36:47 +0200
To: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
Signed Data (Text SHA256)
Are you sure that message has anything to do with Wonder? Just because it says something about “instance” does not necessarily mean Wonder application instance. The string ac_findInstance does not occur in the Apache WO adaptor source. This implies Apache tells you about some other internal issue unrelated to Wonder. Maybe check Apache sources? Do you have other plugins installed that might generate this message?

---markus---

On 28 Jun 2021, at 01:31, Jeffrey Schmitz <webobjects-dev@wocommunity.org> wrote:

Hello List,
  I checked my apache log and am getting the following errors constantly:

[Sun Jun 27 17:59:17.563153 2021] [:error] [pid 32501] ac_findInstance(): Error: An instance with number '2' could not be found after searching 128 instances.  In a properly operating deployment environment, this is an unlikely senario and should be investigated!
[Sun Jun 27 17:59:31.805377 2021] [:error] [pid 32511] ac_findInstance(): Error: An instance with number '5' could not be found after searching 128 instances.  In a properly operating deployment environment, this is an unlikely senario and should be investigated!
[Sun Jun 27 18:00:46.411656 2021] [:error] [pid 32500] ac_findInstance(): Error: An instance with number '6' could not be found after searching 128 instances.  In a properly operating deployment environment, this is an unlikely senario and should be investigated!
[Sun Jun 27 18:02:54.611890 2021] [:error] [pid 32502] ac_findInstance(): Error: An instance with number '6' could not be found after searching 128 instances.  In a properly operating deployment environment, this is an unlikely senario and should be investigated!


I only have 2 instances of my app configured (1 and 2), and only one is running.  Any idea why apache is looking for these other instances?

Below is the site config that comes up at port 1085:

<SiteConfig type="NSDictionary">
	<hostArray type="NSArray">
		<element type="NSDictionary">
			<type type="NSString">MACOSX</type>
			<name type="NSString">208.52.161.87</name>
		</element>
	</hostArray>
	<applicationArray type="NSArray">
		<element type="NSDictionary">
			<adaptorThreadsMax type="NSNumber">256</adaptorThreadsMax>
			<startingPort type="NSNumber">2001</startingPort>
			<cachingEnabled type="NSString">YES</cachingEnabled>
			<additionalArgs type="NSString">-d64 -Xms2048m -Xmx4096m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO WOHost 208.52.161.87</additionalArgs>
			<adaptor type="NSString">WODefaultAdaptor</adaptor>
			<projectSearchPath type="NSString">()</projectSearchPath>
			<autoRecover type="NSString">YES</autoRecover>
			<listenQueueSize type="NSNumber">128</listenQueueSize>
			<autoOpenInBrowser type="NSString">NO</autoOpenInBrowser>
			<name type="NSString">netbrackets</name>
			<macOutputPath type="NSString">/usr/local/opt/WODeployment/Logs</macOutputPath>
			<notificationEmailEnabled type="NSString">NO</notificationEmailEnabled>
			<debuggingEnabled type="NSString">NO</debuggingEnabled>
			<phasedStartup type="NSString">YES</phasedStartup>
			<adaptorThreads type="NSNumber">8</adaptorThreads>
			<lifebeatInterval type="NSNumber">30</lifebeatInterval>
			<sessionTimeOut type="NSNumber">1800</sessionTimeOut>
			<adaptorThreadsMin type="NSNumber">16</adaptorThreadsMin>
			<macPath type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets</macPath>
			<minimumActiveSessionsCount type="NSNumber">0</minimumActiveSessionsCount>
			<timeForStartup type="NSNumber">30</timeForStartup>
		</element>
	</applicationArray>
	<instanceArray type="NSArray">
		<element type="NSDictionary">
			<hostName type="NSString">208.52.161.87</hostName>
			<port type="NSNumber">2001</port>
			<cachingEnabled type="NSString">YES</cachingEnabled>
			<additionalArgs type="NSString">-d64 -Xms2048m -Xmx4096m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO WOHost 208.52.161.87</additionalArgs>
			<path type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets</path>
			<outputPath type="NSString">/usr/local/opt/WODeployment/Logs/netbrackets-1</outputPath>
			<id type="NSNumber">1</id>
			<schedulingDailyStartTime type="NSNumber">3</schedulingDailyStartTime>
			<schedulingHourlyStartTime type="NSNumber">3</schedulingHourlyStartTime>
			<schedulingEnabled type="NSString">NO</schedulingEnabled>
			<schedulingStartDay type="NSNumber">1</schedulingStartDay>
			<debuggingEnabled type="NSString">NO</debuggingEnabled>
			<gracefulScheduling type="NSString">YES</gracefulScheduling>
			<autoRecover type="NSString">YES</autoRecover>
			<lifebeatInterval type="NSNumber">30</lifebeatInterval>
			<schedulingInterval type="NSNumber">12</schedulingInterval>
			<schedulingWeeklyStartTime type="NSNumber">3</schedulingWeeklyStartTime>
			<applicationName type="NSString">netbrackets</applicationName>
			<schedulingType type="NSString">DAILY</schedulingType>
			<minimumActiveSessionsCount type="NSNumber">0</minimumActiveSessionsCount>
			<autoOpenInBrowser type="NSString">NO</autoOpenInBrowser>
		</element>
		<element type="NSDictionary">
			<hostName type="NSString">208.52.161.87</hostName>
			<port type="NSNumber">2002</port>
			<cachingEnabled type="NSString">YES</cachingEnabled>
			<additionalArgs type="NSString">-d64 -Xms2048m -Xmx4096m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO WOHost 208.52.161.87</additionalArgs>
			<path type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets</path>
			<outputPath type="NSString">/usr/local/opt/WODeployment/Logs/netbrackets-2</outputPath>
			<id type="NSNumber">2</id>
			<schedulingDailyStartTime type="NSNumber">3</schedulingDailyStartTime>
			<schedulingHourlyStartTime type="NSNumber">3</schedulingHourlyStartTime>
			<schedulingEnabled type="NSString">NO</schedulingEnabled>
			<schedulingStartDay type="NSNumber">1</schedulingStartDay>
			<debuggingEnabled type="NSString">NO</debuggingEnabled>
			<gracefulScheduling type="NSString">YES</gracefulScheduling>
			<autoRecover type="NSString">NO</autoRecover>
			<lifebeatInterval type="NSNumber">30</lifebeatInterval>
			<schedulingInterval type="NSNumber">12</schedulingInterval>
			<schedulingWeeklyStartTime type="NSNumber">3</schedulingWeeklyStartTime>
			<applicationName type="NSString">netbrackets</applicationName>
			<schedulingType type="NSString">DAILY</schedulingType>
			<minimumActiveSessionsCount type="NSNumber">0</minimumActiveSessionsCount>
			<autoOpenInBrowser type="NSString">NO</autoOpenInBrowser>
		</element>
	</instanceArray>
	<site type="NSDictionary">
		<viewRefreshEnabled type="NSString">YES</viewRefreshEnabled>
		<woAdaptor type="NSString">http://208.52.161.87/cgi-bin/WebObjects</woAdaptor>
		<viewRefreshRate type="NSNumber">60</viewRefreshRate>
	</site>
</SiteConfig>





Markus Ruggiero


rucotec GmbH                        web https://rucotec.ch
Steinenvorstadt 79                email markus.ruggiero@rucotec.ch
4051 Basel / Switzerland         mobile +41 79 508 4701








Content Unaltered as verified By:
<markus.ruggiero@rucotec.ch>
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster