• 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: Using Apache in Development
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Apache in Development


  • Subject: Re: Using Apache in Development
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 23 Jul 2010 17:19:27 -0700

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Using Apache in Development (From: David Holt <email@hidden>)
 >Re: Using Apache in Development (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: Using Apache in Development
  • Next by Date: Re: Using Apache in Development
  • Previous by thread: Re: Using Apache in Development
  • Next by thread: Ajax accordion menu examples
  • Index(es):
    • Date
    • Thread