Re: Nightmare of deployment again
Re: Nightmare of deployment again
- Subject: Re: Nightmare of deployment again
- From: Stavros Panidis <email@hidden>
- Date: Sat, 28 Dec 2013 18:29:17 +0200
Dear Ralf,
thank you for sending me the plists
The only ScriptAlias is
#ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1”
Nothing changes if I put it out or in.
Stavros On 27 Δεκ 2013, at 4:13 μ.μ., Ralf Schuchardt < email@hidden> wrote: Am 27.Dez. 2013 um 05:34 schrieb Stavros Panidis < email@hidden>:
Dear,
I try to deploy as follows OS X 10.9.1 clean install on iMac After finishing installation web server is working serving static pages.
Then, following instruction from
I did
-Install WebObjects using Apple’s Installer -Configure Apache -Configure launchd
com.apple.womonitor.plist:
<?xml version="1.0" encoding="UTF-8"?> <plist version="1.0"> <dict> <key>Disabled</key> <false/> <key>GroupName</key> <string>_appserverusr</string> <key>Label</key> <string>com.webobjects.womonitor</string> <key>OnDemand</key> <false/> <key>Program</key> <string>/Library/WebObjects/Applications/JavaMonitor.woa/JavaMonitor</string> <key>ProgramArguments</key> <array> <string>JavaMonitor</string> <string>-WOPort</string> <string>56789</string> </array> <key>ServiceIPC</key> <false/> <key>UserName</key> <string>_appserver</string> </dict> </plist>
com.apple.wotaskd.plist:
<?xml version="1.0" encoding="UTF-8"?> <plist version="1.0"> <dict> <key>Disabled</key> <false/> <key>GroupName</key> <string>_appserverusr</string> <key>Label</key> <string>com.webobjects.wotaskd</string> <key>OnDemand</key> <false/> <key>Program</key> <string>/Library/WebObjects/Applications/wotaskd.woa/wotaskd</string> <key>ProgramArguments</key> <array> <string>wotaskd</string> <string>-WOPort</string> <string>1085</string> </array> <key>ServiceIPC</key> <false/> <key>UserName</key> <string>_appserver</string> </dict> </plist>
Finally JavaMonitor runs, host is available, I can add my application but when I try to connect I get
Not FoundThe requested URL /cgi-bin/WebObjects/Myapp.woa was not found on this server. Apache/2.2.24 (Unix) PHP/5.4.17 mod_wsgi/3.3 Python/2.7.5 mod_ssl/2.2.24 OpenSSL/0.9.8y DAV/2 Server at 192.168.1.64 Port 80
This error means the request is not reaching the WebObjects adaptor, but is handled by Apache itself. I suspect a misconfigured ScriptAlias line in httpd.conf. You may try to comment out any ScriptAlias statements and see if it works then.
Best regards, Ralf Schuchardt
Best regards, happy and successful New Year
Stavros Panidis
|
_______________________________________________
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