Hi Ken,
Can you look at the wotaskd install instructions on the WIKI and make sure that it includes information about this issue so others don’t trip over it the same way.
Dave
On Apr 26, 2015, at 12:58 PM, Ken Anderson < email@hidden> wrote:
Nevermind - all good now.
The /Library/WebObjects/Logs directory was not write-able by appserver, and was clearly pissing everything off.
Thanks for everyones help!
Ken On Apr 26, 2015, at 12:45 PM, Ken Anderson < email@hidden> wrote:
ok - progress!
For some reason, the upgrade to Yosemite got rid of the linked file to the conf file in the adaptors directory. I didn’t notice until now. When modWebobjects wasn’t loading, I just added it to the load modules of the main httpd.conf, not thinking that everything else was missing too!
So, now I’m getting “No instance available” - which is definitely progress. Now I get this in the error log:
[Sun Apr 26 08:58:28.446126 2015] [:error] [pid 17179] error sending request [Sun Apr 26 08:58:28.446314 2015] [:error] [pid 17179] error sending request [Sun Apr 26 08:58:28.446323 2015] [:error] [pid 17179] Failed to send request [Sun Apr 26 08:58:28.451075 2015] [:error] [pid 17179] Request handling error: No instance available
and this in the access_log:
127.0.0.1 - - [26/Apr/2015:08:58:28 -0400] "GET /cgi-bin/WebObjects/FitnotixMaint.woa/-8888 HTTP/1.1" 500 65
Bogdan, I checked, and WODirectConnectEnabled is false, and WOHost is set to localhost. I also don’t see any errors in the output of wotaskd. Any other ideas?
Thanks again, Ken
On Apr 26, 2015, at 8:51 AM, Ken Anderson < email@hidden> wrote:
Unfortunately, no errors related to mod_Webobjects. Plus, httpd -M shows it loaded. On Apr 26, 2015, at 8:47 AM, Bogdan Zlatanov < email@hidden> wrote:
It might be a good idea to check the apache error logs for any problems with mod_WebObjects On 26/04/2015 14:44, Ken Anderson wrote:
Thanks Pascal.
Yes, WebObjects_module (shared) appears with httpd -M, and the only place cgi-bin appears is:
<IfModule alias_module> ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1” </IfModule>
On Apr 26, 2015, at 8:40 AM, Pascal Robert < email@hidden> wrote:
That sounds like a ScriptAlias directive problem.Do: httpd -M And check for the presence of mod_WebObjects. If it’s there, search for « cgi-bin » in Apache’s config files, you probably have a config that says that anything starting with /cgi-bin will be handled by a specific directory.Le 2015-04-26 à 08:14, Ken Anderson <email@hidden> a écrit :
Thanks Markus. Unfortunately, I’ve worked backwards and seem to have more issues than I thought.
I can run wotaskd manually, but I still can’t connect to a WOApp. I have apache 2.4 running and loading mod_WebObjects. I can access other things through Apache (like a website built with a virtual host directive). The syntax of the apache.conf file passes. I made this change:
<Directory /> Options FollowSymLinks AllowOverride None # Order deny,allow # Deny from all </Directory>
to comment out the Order and Deny items.
Can anyone think of anything else? I get a Not Found when trying to reach an app I know is running in Eclipse:
Not Found The requested URL /cgi-bin/WebObjects/FitnotixMaint.woa/-8888 was not found on this server.
I can direct connect to Monitor with localhost:56789 and am setting -WOPort 56789 when launching Monitor.
Anyone have any other thoughts?
Thanks!
Ken
On Apr 25, 2015, at 6:54 PM, Markus Ruggiero <email@hidden> wrote:
Put the following as a text file into /Library/LaunchDeamons. You might call it org.projectwonder.wotaskd.plist. Check the location of your wotaskd.woa and adapt the path accordingly. There is also a path to wotaskd.log. Adapt that too. Then just do sudo launchctl load org.projectwonder.wotaskd and wotaskd should run (and keep running)
Have fun ---markus---
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Disabled</key>
<false/> <key>GroupName</key>
<string>_appserveradm</string> <key>Label</key>
<string>org.projectwonder.wotaskd</string> <key>OnDemand</key>
<false/> <key>Program</key> <string>/ServerApplications/wotaskd.woa/wotaskd</string> <key>ProgramArguments</key>
<array>
<string>wotaskd</string>
<string>-WOPort</string>
<string>1085</string>
<string>-WOHost</string>
<string>localhost</string>
</array> <key>ServiceIPC</key>
<false/> <key>UserName</key>
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
—————————————————————————————
WebObjects - so easy that even Dave Avendasora can do it!™ ————————————————————————————— David Avendasora Senior Software Abuser Nekesto, Inc.
|