Info: <WebObjects Apache Module> new request: /Apps/WebObjects/Classes.woa/wa/default
Debug: App Name: Classes.woa/wa/default (7)
Info: V4 URL: /Apps/WebObjects/Classes.woa/wa/default
Info: Selected new app instance at index 9
Debug: Composed URL to '/Apps/WebObjects/Classes.woa/1/wa/default'
Info: New request is GET /Apps/WebObjects/Classes.woa/1/wa/default INCLUDED
Info: Sending request to instance number 1, port 2010
Info: Trying to contact Classes:1 on (2010)
Info: Caching hostent for 209.210.211.212
Info: attempting to connect to 209.210.211.212 on port 2010
Info: Classes:1 on (2010) connected [pooled: No]
Info: Request GET /Apps/WebObjects/Classes.woa/1/wa/default INCLUDED
sent, awaiting response
Info: attempting to connect to localhost on port 1085
Info: Preparing to read config for host: localhost
Info: New response: HTTP/1.0 200 Apple WebObjects
Debug: nonBlockingRecv(): recv() returned 0 (connection closed)
Info: retrying request due to connection reset
Info: attempting to connect to 209.210.211.212 on port 2010
Info: Classes:1 on (2010) connected [pooled: No]
Info: Request GET /Apps/WebObjects/Classes.woa/1/wa/default INCLUDED
sent, awaiting response
Debug: ac_readConfiguration(): skipped reading config
Debug: nonBlockingRecv(): recv() returned 0 (connection closed)
Info: Marking instance 1 dead
Warn: Marking 209.210.211.212:1 unresponsive
Debug: connectionAttempts = 1, retries = 10
Debug: ac_readConfiguration(): skipped reading config
Info: tr_selectInstance(): scheduler failed to select instance.
Info: No new instance located for failover
Error: Request handling error: No instance available
Then with Option key down and forcing a reload, I got the "The requested application was not found on the server" error as seen here.
Info: <WebObjects Apache Module> new request: /Apps/WebObjects/Classes.woa/wa/default
Debug: App Name: Classes.woa/wa/default (7)
Info: V4 URL: /Apps/WebObjects/Classes.woa/wa/default
Info: Selected new app instance at index 9
Debug: Composed URL to '/Apps/WebObjects/Classes.woa/1/wa/default'
Info: New request is GET /Apps/WebObjects/Classes.woa/1/wa/default INCLUDED
Info: Sending request to instance number 1, port 2010
Info: Trying to contact Classes:1 on (2010)
Info: Caching hostent for 209.210.211.212
Info: attempting to connect to 209.210.211.212 on port 2010
Info: Classes:1 on (2010) connected [pooled: No]
Info: Request GET /Apps/WebObjects/Classes.woa/1/wa/default INCLUDED
sent, awaiting response
Info: attempting to connect to localhost on port 1085
Info: Preparing to read config for host: localhost
Info: New response: HTTP/1.0 200 Apple WebObjects
Debug: nonBlockingRecv(): recv() returned 0 (connection closed)
Info: retrying request due to connection reset
Info: attempting to connect to 209.210.211.212 on port 2010
Info: Classes:1 on (2010) connected [pooled: No]
Info: Request GET /Apps/WebObjects/Classes.woa/1/wa/default INCLUDED
sent, awaiting response
Debug: ac_readConfiguration(): skipped reading config
Debug: nonBlockingRecv(): recv() returned 0 (connection closed)
Info: Marking instance 1 dead
Warn: Marking 209.210.211.212:1 unresponsive
Debug: connectionAttempts = 1, retries = 10
Debug: ac_readConfiguration(): skipped reading config
Info: tr_selectInstance(): scheduler failed to select instance.
Info: No new instance located for failover
Error: Request handling error: No instance available
Info: <WebObjects Apache Module> new request: /Apps/WebObjects/Classes.woa/wa/default
Debug: App Name: Classes.woa/wa/default (7)
Info: V4 URL: /Apps/WebObjects/Classes.woa/wa/default
Info: tr_selectInstance(): scheduler failed to select instance.
Error: Request handling error: The requested application was not found on this server.
As mentioned, I can hit this application with both the fqdn/Apps/WebObjects/Classes and with fqdn/Apps/WebObjects/Classes.woa/wa/default. Also, I have only one instance of the app currently running and there are no deaths. From WOMonitor this is the start argument for the app. I am not doing anything special other than defining the path to the app and then letting it rip.
-WOPort 2010 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /dev/null -WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO -WOLifebeatInterval 30 -WOLifebeatEnabled YES -WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor -WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin 16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath () -WOSessionTimeOut 3600 -WOApplicationName Classes -WOMonitorEnabled YES -WONoPause YES
When hosting under 10.3 I recall doing the includes. Then a few years ago I upgraded the hosting environment to 10.4 and then never resolved it but also no longer needed it. This server is hosting 3 other WO apps that are full projects and never need any attention.
The includes module is loaded in Apache as I am a heavy user of includes. CGI execution and SSI are on for the virtual host and the evil web performance cache is turned off.
Does the log show anything that I am missing? In both cases it is marking the instance dead and the server unresponsive. But meanwhile all other apps are running fine.
Thanks again for helping. Chuck, are you going to do a "Dealing with Separation Anxiety - Moving Stubborn WO Developers Away from XCode" session at WWDC this year?