Thank you, Pascal!

I changed the following lines in /etc/httpd/conf.d/webobjects.conf

WebObjectsDocumentRoot /opt/Local/Library/WebObjects/Applications

WebObjectsAlias /Apps/WebObjects

and now it is working… Sort of. 

I thought the scripts also changed the conf files. The page

<https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat%2C+CentOS+or+Amazon+Linux>

should include the modifications above. 

Thank you, everybody, for your help. 


Alberto



On Mar 29, 2015, at 7:29 PM, Pascal Robert <prob...@macti.ca> wrote:

> 
>> Le 2015-03-29 à 14:03, Alberto Hung <albert...@mac.com> a écrit :
>> 
>> Hi Paul,
>> 
>> Thank you for your response.
>> 
>> Yes, I can run the app directly. I can also create an instance using 
>> JavaMonitor. The problem seems to be WOAdaptor. When I omit “cgi-bin” from 
>> the URL I can access the contents of the woa file. You can see it here
>> 
>> <http://www.cutlerme.com/WebObjects/Cutlerme.woa/>
>> 
>> I assume when WOAdaptor is properly working I should not get this response.
> 
> It is not, because you are getting a directory listing from Apache. For 
> cgi-bin, did you disable the Script-Alias directive?
> 
> https://wiki.wocommunity.org/display/documentation/Deploying+on+Linux?src=search
> 
> « If you want to keep /cgi-bin/WebObjects as the base URL, you will need to 
> remove a line in httpd.conf. Find the line that starts with ScriptAlias 
> /cgi-bin and comment it out, or else Apache will try to find a WebObjects CGI 
> in /cgi-bin instead of loading the adaptor from the Apache module. »
> 
>> Issuing the command “httpd -M” the module “WebObjects_module” is listed. I 
>> guess this is WOAdaptor.
>> 
>> What else should I check?
>> 
>> 
>> Alberto
>> 
>> 
>> On Mar 27, 2015, at 6:35 PM, Paul Hoadley <pa...@logicsquad.net> wrote:
>> 
>>> Hi Alberto,
>>> 
>>> On 28 Mar 2015, at 5:59 am, Alberto Hung <albert...@mac.com> wrote:
>>> 
>>>> Newbie here. I am trying to install a WO app on an Amazon EC. I followed 
>>>> the steps listed on this page
>>>> 
>>>> <https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat%2C+CentOS+or+Amazon+Linux>
>>>> 
>>>> to install wotaskd, JavaMonitor and the woadaptor. I uploaded the 
>>>> Application and WebServerResources files, decompressed, put them at 
>>>> /opt/Local/Library/WebObjects/Applications and /var/www/html/WebObjects 
>>>> respectively and changed the ownerships. No modifications were made to the 
>>>> conf files.
>>>> 
>>>> Using JavaMonitor I started an instance of my app. But when I click on the 
>>>> link or type the URL directly in Safari I get a ‘was not found on this 
>>>> server’ message (404 Not Found).
>>>> 
>>>> When I try ‘View site statistics and WOAdaptor information’ it just times 
>>>> out.
>>>> 
>>>> What am I missing? Where should I start to fix this?
>>> 
>>> Are you able to launch the application from the command line?  Try running:
>>> 
>>> $ /opt/Local/Library/WebObjects/Applications/YourApp.woa/YourApp
>>> 
>>> directly and make sure it will start.  We don't use the approach you've 
>>> linked to above, so I'm not certain of the specifics, but you'll probably 
>>> need to 'su' to some other user to try this, possibly 'appserver'—see who 
>>> JavaMonitor is running as.
>>> 
>>> 
>>> -- 
>>> Paul Hoadley
>>> http://logicsquad.net/
>>> 
>>> 
>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-deploy/probert%40macti.ca
>> 
>> This email sent to prob...@macti.ca
> 


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

This email sent to arch...@mail-archive.com

Reply via email to