Re: [E] Re: Optimizing WO use on AWS
Re: [E] Re: Optimizing WO use on AWS
- Subject: Re: [E] Re: Optimizing WO use on AWS
- From: Steve Peery <email@hidden>
- Date: Thu, 25 Jan 2018 09:54:49 -0500
Hi James,
It sounds like something is wrong with your Apache config files.
I will send you my current AWS Apache config files as an attachment off list.
Maybe they will be helpful.
Steve
> On Jan 25, 2018, at 8:55 AM, Soles, James T <email@hidden> wrote:
>
> Hi all,
>
> I'm in need of some help with getting my application moved to AWS RHEL and
> particularly to Apache 2.4. We have been on Unix and Apache 2.2 for many
> years but are being required to make the move. I've read a number of things
> (https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat,+CentOS+or+Amazon+Linux
>
> <https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+RedHat,+CentOS+or+Amazon+Linux>
> and others) about configuration for Apache 2.4 and WO but I continue to have
> issues even after trying many different things. I believe that I have a
> WOAdaptor that is built correctly for Linux and Apache 2.4. It seems to load
> properly when I start Apache based on the log file:
>
> Debug: init_adaptor(): ac_init succeeded
> Debug: init_adaptor(): transaction_init() succeeded
> Info: Reading configuration from
> http://10-118-140-236.ebiz.verizon.com:1085/WebObjects/wotaskd.woa/wa/woconfig
>
> <http://10-118-140-236.ebiz.verizon.com:1085/WebObjects/wotaskd.woa/wa/woconfig>
> Info: attempting to connect to 10-118-140-236.ebiz.verizon.com
> <http://10-118-140-236.ebiz.verizon.com/> on port 1085
> Info: Preparing to read config for host: 10-118-140-236.ebiz.verizon.com
> <http://10-118-140-236.ebiz.verizon.com/>
> Info: New response: HTTP/1.0 200 Apple WebObjects
> Debug: Header read: last-modified: Thu, 25 Jan 2018 13:08:31 GMT
> Debug: Header read: x-webobjects-loadaverage: 0
> Debug: Header read: content-type: text/xml
> Debug: Header read: content-length: 192
> Info: content-length was set expl.: 192
> Info: ac_newInstance(): added JavaMonitor:-33000 (33000)
> Info: WebObjects_post_config(): WebObjects adaptor initialization succeeded.
>
> I can access the application from WOMonitor and start instances but if I try
> to access the application the way we have with Apache 2.2 I get errors about
> "This page can't be displayed". If I do a direct access to my application it
> runs so I'm pretty sure it's not an application issue. One other thing I
> have noticed recently is that I can't get the WOAdaptor page to display like
> I can on our Apache 2.2 installations. If I try something like
> https://10-118-140-236.ebiz.verizon.com/woapp/WebObjects/WOAdaptorInfo?user+password
>
> <https://10-118-140-236.ebiz.verizon.com/woapp/WebObjects/WOAdaptorInfo?user+password>
> I get "The webpage cannot be found". Where if I use a similar URL on
> another server with Apache 2.2
> (https://evaltest.vzbi.com/woapp/WebObjects/WOAdaptorInfo?user+password
> <https://evaltest.vzbi.com/woapp/WebObjects/WOAdaptorInfo?user+password>) I
> get the Server Adaptor page.
>
> I've tried to setup my httpd.conf and webobjects.conf (apache.conf in most
> documents) based on all the documentation I have read. I'm sure it must be
> something pretty simple that I am missing but I just can't seem to find it.
>
> Does anyone have documentation with steps on how to setup WO, Apache 2.4, and
> AWS/Linux with configuration details, other than the link I listed above,
> that I might be able to try?
>
> Thanks,
>
> Terry Soles
>
> 214-273-3916
>
>
> On Wed, Jan 24, 2018 at 3:35 PM, Josef Vanek <email@hidden
> <mailto:email@hidden>> wrote:
> Hi Steve,
>
> We are using WebObjects in production environment on AWS EC2 instances and we
> finished by creating
> an Elastic LoadBalancer which redirects requests on as many servers you wish.
> So in principle you create
> one master instance with Apache+mod_WebObejcts+wotaskd+womonitor, then you
> create a snapshot
> of this instance as a model.
> You can then add as many server instances as you wish by restoring your
> snapshot and you simply add
> all your new servers to the loadbalancer. In that way the front-end URL
> doesn't change and you can handle
> traffic load very easily.
>
> Hope this helps,
> Josef
>
>
> Le 24 janvier 2018 à 19:13:27, Steve Peery (email@hidden
> <mailto:email@hidden>) a écrit:
>
>> Hi List,
>>
>> All of my WO applications are now happily running on AWS.
>>
>> I work in education so application use varies dramatically during the year
>> with predictable peaks at the end of each term and almost no use during the
>> summer.
>>
>> I currently use a standard deployment with Monitor and WOTaskd all running
>> on one server instance.
>>
>> I am trying to determine the best, most cost effective way to deal with use
>> fluctuations.
>>
>> The obvious solution is to launch additional server instances, but in my
>> past experiences with multi server deployments, Monitor needs to be
>> reconfigured when servers come and go.
>>
>> Any suggestions about the best way to deal with this?
>>
>> Thank you in advance,
>>
>> Steve
>>
>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden
>> <mailto:email@hidden>)
>> Help/Unsubscribe/Update your Subscription:
>>
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.apple.com_mailman_options_webobjects-2Ddev_josef.vanek-2540intellicore.net&d=DwMFaQ&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=iRNEp3hMYgapkyD3-QXbLkRAGBlXFJDQ04EUUAYPIus&m=EtIju0yFARNhMBzIBOFKrBaj7s0TlubZO3906Bh-BkQ&s=U-8RDdtxcgTdS6xEZfaQTAFiv76E-WG5psQ-BhfkzwQ&e=>
>>
>>
>> This email sent to email@hidden
>> <mailto:email@hidden>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden
> <mailto:email@hidden>)
> Help/Unsubscribe/Update your Subscription:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.apple.com_mailman_options_webobjects-2Ddev_terry.soles-2540one.verizon.com&d=DwICAg&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=iRNEp3hMYgapkyD3-QXbLkRAGBlXFJDQ04EUUAYPIus&m=EtIju0yFARNhMBzIBOFKrBaj7s0TlubZO3906Bh-BkQ&s=gCtBtXUpl6ri-VEqX3wr9M4qLiNUPcX38pB10mQtA2w&e=
>
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.apple.com_mailman_options_webobjects-2Ddev_terry.soles-2540one.verizon.com&d=DwICAg&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=iRNEp3hMYgapkyD3-QXbLkRAGBlXFJDQ04EUUAYPIus&m=EtIju0yFARNhMBzIBOFKrBaj7s0TlubZO3906Bh-BkQ&s=gCtBtXUpl6ri-VEqX3wr9M4qLiNUPcX38pB10mQtA2w&e=>
>
> This email sent to email@hidden
> <mailto: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