On Oct 13, 2010, at 10:06 PM, Andrew R. Kinnie wrote: > > However, it appears that Apache isn't running, because I get the server not > found error. However, I assumed if wotaskd would appear, Apache had to be > running
No. Check it like this:
saskatoon:~/Cadre/Code/WebObjects chuck$ ps auxwww | grep httpd
chuck 9391 0.7 0.0 2435036 528 s000 S+ 10:08PM 0:00.00 grep
httpd
_www 2384 0.0 0.1 2442140 3748 ?? S Tue12PM 0:06.34
/usr/sbin/httpd -D FOREGROUND
etc. etc.
root 40 0.0 0.2 2442140 6320 ?? Ss Mon11PM 0:04.22
/usr/sbin/httpd -D FOREGROUND
You probably have a config error in the httpd.conf file. Try stopping and
restarting it:
sudo apachectl stop
sudo apachectl start
> Web Sharing is on in prefs, and I edited the httpd.conf file . . . what else
> do I need to do?
I am guessing fix your edits to the httpd.conf file :-) the above should point
this out.
Chuck
>
>
>
> On Oct 14, 2010, at 12:59 AM, Chuck Hill wrote:
>
>> What is the exact (copy and paste) message? Is Apache running (go to
>> http://localhost/)? What does http://localhost:1085 show?
>>
>>
>> Chuck
>>
>>
>> On Oct 13, 2010, at 9:37 PM, Andrew R. Kinnie wrote:
>>
>>> hmm. well I restarted and re-ran the app using the -WOHost localhost
>>>
>>> now the url indeed says localhost, but it still fails in exactly the same
>>> way :-/
>>>
>>> On Oct 13, 2010, at 11:24 PM, Chuck Hill wrote:
>>>
>>>>
>>>> On Oct 13, 2010, at 8:16 PM, Andrew R. Kinnie wrote:
>>>>
>>>>> ok, so now I need to restart wotaskd and JavaMonitor (guess I'll google
>>>>> that), though evidently, I am supposed to restart the app with this
>>>>> WOHost launch parameter as well? Where would I do that?
>>>>
>>>> In the launch args in JavaMonitor is one choice. The Properties file (or
>>>> one of the many Wonder Properties files) is another.
>>>>
>>>>
>>>>> And yes, deploying WO can make me feel like a eunuch but as far as I
>>>>> know, it's never manifested itself physically.
>>>>>
>>>>> TMI
>>>>
>>>> :-P
>>>>
>>>>
>>>>> On Oct 13, 2010, at 10:48 PM, Chuck Hill wrote:
>>>>>
>>>>>>
>>>>>> On Oct 13, 2010, at 7:45 PM, Andrew R. Kinnie wrote:
>>>>>>
>>>>>>> OK, I finally got home. I ran the app in the console, and it tells me
>>>>>>> it's running (the usual console mumbo-jumbo), but when I copy the url
>>>>>>> for webserver connect, I get the server not found in safari.
>>>>>>>
>>>>>>> However, I did notice that the url has my local computer name rather
>>>>>>> than localhost or 127.0.0.1 despite the fact that the wolips properties
>>>>>>> sets the host as localhost, and JavaMonitor says localhost as the host.
>>>>>>>
>>>>>>> I assume this is the basis of my problem?
>>>>>>
>>>>>> Maybe?
>>>>>>
>>>>>>
>>>>>>> Where is this information set?
>>>>>>
>>>>>> The WOHost launch parameter, e.g. -WHost localhost
>>>>>>
>>>>>> You probably also want that on the JavaMonitor and wotaskd apps and to
>>>>>> then restart them (or reboot :-)
>>>>>>
>>>>>> Chuck
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> Thanks for your help
>>>>>>>
>>>>>>> Andrew
>>>>>>>
>>>>>>> On Oct 13, 2010, at 1:05 PM, David Holt wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> On 2010-10-13, at 9:52 AM, Andrew R. Kinnie wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Oct 13, 2010, at 12:39 PM, Andrew R. Kinnie wrote:
>>>>>>>>>
>>>>>>>>>> Hmm. How does one start a wo app from the command line?
>>>>>>>>
>>>>>>>> Sorry missed the question. You have to
>>>>>>>>
>>>>>>>> 1) cd into your .woa
>>>>>>>>
>>>>>>>> cd /Library/WebObjects/Applications/MyApp.woa
>>>>>>>>
>>>>>>>> 2) Run the executable inside. For MyApp.woa you should see a file
>>>>>>>> called MyApp inside the package.
>>>>>>>>
>>>>>>>> . MyApp
>>>>>>>>
>>>>>>>> David
>>>>>>>>
>>>>>>>>>
>>>>>>>>> OK, that was a fairly dumb question.
>>>>>>>>>
>>>>>>>>> I will hopefully be able to check that tonight.
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>> Webobjects-deploy mailing list ([email protected])
>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>> http://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-village.net
>>>>>>>
>>>>>>> This email sent to [email protected]
>>>>>>
>>>>>> --
>>>>>> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>> --
>>>> 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>> --
>> 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
>>
>>
>>
>>
>>
>>
>>
>
--
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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-deploy mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com This email sent to [email protected]
