Re: Deploying on Amazon EC
Re: Deploying on Amazon EC
- Subject: Re: Deploying on Amazon EC
- From: Alberto Hung <email@hidden>
- Date: Tue, 31 Mar 2015 13:35:31 -0430
Hi, Matteo,
I have two woas and now it is working (sort of). Pascal pointed me to the right direction.
Thank you for your suggestion. I will take a look at the link.
Alberto
On Mar 29, 2015, at 4:28 PM, Matteo Centro <email@hidden> wrote:
> Hi, you should have 2 woas one in the WebObjects directory and that's the one you're seeing and another one somewhere else. To avoid seeing the contents you should change the Apache configuration like here
> https://wiki.apache.org/httpd/DirectoryListings
> But this is completely unrelated to WebObjects.
>
> I'm on an iPhone so I can't check the website right now so I can't help you with the actual adaptor issue. Maybe you could try to send us the configuration file.
>
>
> Matteo
>
> Inviato da iPhone
>
>> Il giorno 29/mar/2015, alle ore 20:03, Alberto Hung <email@hidden> ha scritto:
>>
>> 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.
>>
>> 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 <email@hidden> wrote:
>>>
>>> Hi Alberto,
>>>
>>>> On 28 Mar 2015, at 5:59 am, Alberto Hung <email@hidden> 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,+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 (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
_______________________________________________
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