On Jan 19, 2009, at 10:41 PM, Lachlan Deck wrote:
> On 20/01/2009, at 5:25 PM, Lachlan Deck wrote:
>
>> $ sudo lsof -i tcp:80
>> Password:
>> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
>> Safari 594 ldeck 44u IPv4 0x11229a68 0t0 TCP
>> 10.0.1.200:53058->169.2.233.220.exetel.com.au:http (CLOSE_WAIT)
>> Safari 594 ldeck 45u IPv4 0xbbb866c 0t0 TCP
>> 10.0.1.200:53045->169.2.233.220.exetel.com.au:http (CLOSE_WAIT)
>> Safari 594 ldeck 47u IPv4 0x852966c 0t0 TCP
>> 10.0.1.200:53059->169.2.233.220.exetel.com.au:http (CLOSE_WAIT)
>> Safari 594 ldeck 48u IPv4 0x984fe64 0t0 TCP
>> 10.0.1.200:53047->169.2.233.220.exetel.com.au:http (CLOSE_WAIT)
>> Safari 594 ldeck 53u IPv4 0x1139766c 0t0 TCP
>> 10.0.1.200:53050->nwk-qtsoftware.apple.com:http (CLOSED)
>> Safari 594 ldeck 60u IPv4 0x1122966c 0t0 TCP
>> 10.0.1.200:58232->170.2.233.220.exetel.com.au:http (CLOSE_WAIT)
>> Safari 594 ldeck 61u IPv4 0x162e8270 0t0 TCP
>> 10.0.1.200:59274->nwk-qtsoftware.apple.com:http (CLOSED)
>> Safari 594 ldeck 62u IPv4 0x11229e64 0t0 TCP
>> 10.0.1.200:58233->nwk-qtsoftware.apple.com:http (CLOSED)
>> httpd 68549 root 3u IPv6 0x764f80c 0t0 TCP *:http
>> (LISTEN)
>> httpd 68550 _www 3u IPv6 0x764f80c 0t0 TCP *:http
>> (LISTEN)
>> httpd 68553 _www 3u IPv6 0x764f80c 0t0 TCP *:http
>> (LISTEN)
>>
>>
>> Okay I've fixed the problem with not getting adaptor logging. Silly
>> me had the write permissions limited to appserver:appserveradm
>> $ sudo chmod a+rwx /Library/WebObjects/Logs/WebObjects.log
>>
>> And we get...
>> Debug: <WebObjects Apache Module> new translate: /cgi-bin/
>> WebObjects/myApp.woa/-51231
>> Info: <WebObjects Apache Module> new request: /cgi-bin/WebObjects/
>> myApp.woa/-51231
>> Debug: App Name: myApp.woa/-51231 (8)
>> Info: Specific instance myApp: not found. Reloading config.
>> Info: Reading configuration from http://localhost:1085/WebObjects/wotaskd.woa/wa/woconfig
>> 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
>> Error: Request handling error: The requested application was not
>> found on this server.
>> Debug: <WebObjects Apache Module> new translate: /favicon.ico
>> Debug: <WebObjects Apache Module> translate - DECLINED: /favicon.ico
>>
>> Also - who knows why - I've restarted apache yet again fixed
>> permissions on the plain vanilla test app and it works from
>> Eclipse. So now the hunt is down to the real app. Perhaps it is
>> getting the request but because of some api change or something
>> it's returning odd results which may be doing something weird.
>> Stabbing in the dark again .. but progress is good.
>>
>> Thanks for all your help so far!!
>
> So, direct connect, as I mentioned, connects to my real app just
> fine. However, via apache I'm seeing the above in WebObjects.log.
> It's possible that it's getting to the app but some exception lower
> down is getting thrown. It's certainly not hitting dispatchRequest
> in the app.
>
> Is there anything lower down I can override to test whether a
> connection is being made at all? Or any logging?
> Thanks.
What does http://localhost:1085 show when you launch the real app from
Eclipse? Does wotaskd know about it? Are any of the launch config
params different from the working, vanilla app?
Chuck
-- Chuck Hill Senior Consultant / VP DevelopmentPractical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects
This archive was generated by hypermail 2.0.0 : Tue Jan 20 2009 - 01:46:49 EST