On Jul 23, 2010, at 5:15 PM, Pascal Robert wrote:

> 
> Le 2010-07-23 à 20:10, David Holt a écrit :
> 
>> Hi all,
>> 
>> In development am getting the dreaded "The requested application was not 
>> found on this server."
>> 
>> I have followed all of the instructions here on a new Snow Leopard machine:
>> 
>> http://wiki.objectstyle.org/confluence/display/WO/Running+Through+Apache+-+Leopard+Client+10.5.5+-+Summary
>> 
>> and
>> 
>> http://wiki.objectstyle.org/confluence/display/WO/Programming__WebObjects-Web+Applications-Deployment-Mac+OS+X+Server
>> 
>> As soon as I start wotaskd from the commandline, then I no longer get the 
>> error and my application loads correctly.
> 
> The problem is right there! If wotaskd is not available, the HTTP adaptor 
> can't find available instances/applications... AFAIK, you don't need to run 
> JavaMonitor, just wotaskd. 

I will guess that when launchd launches it, there is a permissions issue, 
probably on SiteConfig.xml.  Here is mine:

csaskatoon:~ chuck$ cat 
/Library/LaunchDaemons/com.apple.webobjects.wotaskd.plit<?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>appserverusr</string>
        <key>Label</key>
        <string>com.apple.webobjects.wotaskd</string>
        <key>OnDemand</key>
        <false/>
        <key>Program</key>
        
<string>/System/Library/WebObjects/JavaApplications/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>
        <string>appserver</string>
</dict>
</plist>
saskatoon:~ chuck$ 





-- 
Chuck Hill             Senior Consultant / VP Development

Practical 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







Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to