Went over all the apache config stuff on the wiki, and I think the problem was 
this directive:

   Tell wotaskd to Use Localhost Too
   Edit 
/System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties

   Add this line after the WOPort=1085 one:

   WOHost=localhost

When I looked at my Properties file, it had a similar line, but it said:

WOPort=localhost

What's weird is all this worked until my upgrade to Snow Leopard.  Could 
upgrading have caused that line to get changed?

Anyway, I changed it to WOHost, and now my app comes up.

Now on to the next problem.   The app can't find my css file that I keep under 
/Library/Webserver/Documents.  Haven't really debugged this part yet, but 
wanted to post what I found so far for the previous problem.

Jeff



On Dec 30, 2009, at 10:42 PM, Chuck Hill wrote:

> 
> On Dec 30, 2009, at 8:20 PM, Jeff Schmitz wrote:
> 
>> I'm not configuring virtual hosts (that I know of anyway).
>> 
>>> http://wiki.objectstyle.org/confluence/display/WO/Running+Through+Apache+-+Leopard+Client+10.5.5+-+Summary
>> 
>> I'm trying to set up a Snow Leopard Server deployment machine.  Will all 
>> this apply?
> 
> I don't know about "all" but the directory stuff will.
> 
> 
> Chuck
> 
> 
>> On Dec 30, 2009, at 9:31 PM, Chuck Hill wrote:
>> 
>>> I think that your Apache config is messed up.  Are you configuring virtual 
>>> hosts?
>>> 
>>> Check the Directory config here:
>>> http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Deployment-Apache
>>> http://wiki.objectstyle.org/confluence/display/WO/Running+Through+Apache+-+Leopard+Client+10.5.5+-+Summary
>>> 
>>> Also:
>>> http://wiki.objectstyle.org/confluence/dosearchsite.action?searchQuery.queryString=%2Bdirectory+%2Bapache&searchQuery.spaceKey=conf_global
>>> 
>>> Chuck
>>> 
>>> On Dec 30, 2009, at 7:08 PM, Jeff Schmitz wrote:
>>> 
>>>>> 
>>>>> Does apache.conf is included in httpd.conf? In /etc/apache2/httpd.conf, 
>>>>> you should have this :
>>>>> 
>>>>>   Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
>>>> 
>>>> Yes, this has been there all along.  and the apache.conf file does exist.
>>>> 
>>>> Jeff
>>>> 
>>>> 
>>>> On Dec 30, 2009, at 8:00 PM, Pascal Robert wrote:
>>>> 
>>>>> 
>>>>> Le 09-12-30 à 18:51, Jeff Schmitz a écrit :
>>>>> 
>>>>>> Hello,
>>>>>> I used migration to migrate my data from a Leopard server to a snow 
>>>>>> leopard server.  I then installed my webobjects app and started it with 
>>>>>> Monitor for WebObjects.  That all seemed to work without problem.  
>>>>>> However, when I try to navigate to the app with:
>>>>>> 
>>>>>> http://localhost/cgi-bin/WebObjects/netBrackets
>>>>>> 
>>>>>> I get a 404 error.  Looking at the httpd error logs I see:
>>>>>> 
>>>>>> script not found or unable to stat: 
>>>>>> /Library/WebServer/CGI-Executables/WebObjects
>>>>>> 
>>>>>> I then tried to install WO using the installer here:
>>>>>> 
>>>>>> http://support.apple.com/kb/DL688
>>>>>> 
>>>>>> I restarted apache and am still getting the error.  I have verified that 
>>>>>> the .../CGI-Executables/WebObjects script still does NOT exist.
>>>>> 
>>>>> And it shouldn't exist, it should run as a Apache module.
>>>>> 
>>>>>> Shouldn't this have been installed by the installer?  I guess I could 
>>>>>> copy the one over from my Leopard Server, but I'm afraid perhaps 
>>>>>> something else didn't get installed correctly.  Any suggestions on how 
>>>>>> to proceed?
>>>>>> 
>>>>>> 
>>>>>> As a note, I have done the things outlined below:
>>>>>> 
>>>>>> - Download & install WO 5.4.3 for 10.5 from ADC
>>>>>> - cd /Developer/Examples/JavaWebObjects/Deployment/
>>>>>> - sudo sh configure.sh
>>>>>> - Test: http://127.0.0.1:1085  -> wotaskd works
>>>>>> - Test: http://127.0.0.1:56789 -> WOMonitor works
>>>>>> 
>>>>>> - edit /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf :
>>>>>> Uncomment Line "WebObjectsAdminUsername public"
>>>>> 
>>>>> Does apache.conf is included in httpd.conf? In /etc/apache2/httpd.conf, 
>>>>> you should have this :
>>>>> 
>>>>>   Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
>>>>> 
>>>>> If not, add it and restart Apache.
>>>>> 
>>>>>> - Restart apache: sudo apachectl restart
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Thanks,
>>>>>> Jeff
>>>>>> 
>>>>>> _______________________________________________
>>>>>> 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/probert%40macti.ca
>>>>>> 
>>>>>> This email sent to [email protected]
>>>>> 
>>>> 
>>>> _______________________________________________
>>>> 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/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
> 
> 
> 
> 
> 
> 
> 

 _______________________________________________
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