• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Nightmare of deployment again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nightmare of deployment again


  • Subject: Re: Nightmare of deployment again
  • From: Ralf Schuchardt <email@hidden>
  • Date: Fri, 27 Dec 2013 15:13:11 +0100


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 

http://wiki.wocommunity.org/display/documentation/Deployment

I did

-Install WebObjects using Apple’s Installer
-Configure Apache
-Configure launchd

This last is not working since www.greenislandconsulting.com fail to open. Is there another way?

com.apple.womonitor.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//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>_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"?>
<!DOCTYPE plist PUBLIC "-//Apple//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>_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 Found

The 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



while the application works in Direct Connect mode, e.g. http://www.mysite.com:2001/cgi-bin/WebObjects/Myapp.woa

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

  • Follow-Ups:
    • Re: Nightmare of deployment again
      • From: Stavros Panidis <email@hidden>
    • Re: Nightmare of deployment again
      • From: Samuel Pelletier <email@hidden>
References: 
 >Nightmare of deployment again (From: Stavros Panidis <email@hidden>)

  • Prev by Date: Re: Nightmare of deployment again
  • Next by Date: Re: Nightmare of deployment again
  • Previous by thread: Re: Nightmare of deployment again
  • Next by thread: Re: Nightmare of deployment again
  • Index(es):
    • Date
    • Thread