Hi Chuck, Tim, 

Yes, the apps really don't start. I triple checked permissions and only for 
testing set all of the contents of /opr/local and opt/Library to 777.

Do you recommend a way to debug when and if SpawnOfWotaskd.sh is called by 
wotaskd? The point is that nothing is written to SpawnOfWotaskd.log also.

here its is my SpawnOfWotaskd.sh (inside wotaskd.woa/Contents/Resources/

#$@ 1>/dev/null 2>&1 &
LOG=/opt/Library/WebObjects/Logs/SpawnOfWotaskd.log
echo "************" >>${LOG}
echo "date: `date`" >>${LOG}
echo "args: $@" >>${LOG}
$@ 1>>${LOG} 2>&1 &

I already set the /etc/WebObjects/Properties . Must I specify this path in any 
config file? Is there any way to debug if these hosts information is being 
used? I tried to start the wotaskd with 
-log4j.logger.er.extensions.fixes.ERSharedEOLoader DEBUG to have some clues but 
couln't get it...

My /etc/hosts is set also with the IP , like this:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               PROXY-MO-IDEIAS002 localhost.localdomain localhost
::1             localhost6.localdomain6 localhost 6
10.128.132.97           PROXY-MO-IDEIAS002

All the other things seems to run fine: SiteConfig.xml propagated fine in apps 
servers; WOConfig.xml saved correctly in proxy server; communication betwwen 
proxy and apps servers seems OK weel by the logs of JavaMonitor and wotaskd...

Thank you again for your help!

Nilton

On 04/09/2013, at 23:53, Chuck Hill <ch...@global-village.net> wrote:

> Do the apps really not start, or is it that JavaMonitor and wotaskd can't
> see them?  If they are really not starting, look at SpawnOfWotaskd.sh.  If
> they do start, look at the WOHost settings all around.  Do the IP address
> have DNS names?  Do they resolve in reverse correctly?
> 
> 
> Chuck
> 
> 
> 
> 
> On 13-09-04 6:20 PM, "Nilton Lessa" <nle...@moleque.com.br> wrote:
> 
>> Hi Tim,
>> 
>> I am afraid I am suffering exactly the same problem you had: my apps
>> don't initiate. (i posted a description of the problem in a  recent post
>> and it really seems exactly the same problem you had). Could you solve
>> it? Hope so! :-)
>> 
>> Cheers.
>> 
>> Nilton
>> On 08/05/2013, at 15:23, Tim Worman <li...@thetimmy.com> wrote:
>> 
>>> On May 8, 2013, at 11:16 AM, Chuck Hill <ch...@global-village.net>
>>> wrote:
>>> 
>>>> 
>>>> On 2013-05-08, at 11:11 AM, Tim Worman wrote:
>>>> 
>>>>> OhŠ.myŠŠGod. Done. I had changed that Š.. and changed it back. So,
>>>>> I'm only guilty of temporary insanity - as far as you know.
>>>> 
>>>> :-)
>>>> 
>>>> 
>>>>> So, what do you make of the thing I raised about SpawnOfWotaskd.sh?
>>>>> Is what I suggested about the LOG path possible?
>>>> 
>>>> It has been a while since I have done that, but I think it just does
>>>> not log.  You could test that...  :-)
>>> 
>>> Very scared. :-) But I'll do it.
>>> 
>>> Tim
>>> 
>>>> Chuck
>>>> 
>>>> 
>>>>> 
>>>>> On May 8, 2013, at 10:53 AM, Chuck Hill <ch...@global-village.net>
>>>>> wrote:
>>>>> 
>>>>>> This is sounding less painful now.  :-)
>>>>>> 
>>>>>> Check the WO configuration for Apache:
>>>>>> 
>>>>>> # Host List Configuration
>>>>>> # wotaskd is started automatically on supported platforms,
>>>>>> # so this is the default mode.
>>>>>> # The apache module gets its configuration from the wotaskds
>>>>>> # listed on the configuration line
>>>>>> # For multiple hosts:
>>>>>> # WebObjectsConfig
>>>>>> http://<name-of-a-host>:<port-on-a-host>,http://<name-of-another-host>
>>>>>> :<port-on-a-host> <interval>
>>>>>> # For localhost:
>>>>>> WebObjectsConfig http://localhost:1085 10
>>>>>> 
>>>>>> 
>>>>>> Does that host name match what you used in WOHost?
>>>>>> 
>>>>>> 
>>>>>> Chuck
>>>>>> 
>>>>>> 
>>>>>> On 2013-05-08, at 10:50 AM, Tim Worman wrote:
>>>>>> 
>>>>>>> The app runs now but I get the dreaded "The requested application
>>>>>>> was not found on this server."
>>>>>>> 
>>>>>>> <for discussion - possible cause of the launch issue>
>>>>>>> SpawnOfWotaskd.sh has this:
>>>>>>> 
>>>>>>> # Log messages will be written to:
>>>>>>> LOG=/Library/WebObjects/Logs
>>>>>>> 
>>>>>>> That path does not exist on CentOS. The script tries to log to that
>>>>>>> path when /tmp/logWebObjects exists. It will exist when someone is
>>>>>>> trying to solve problems. Is there any chance that when
>>>>>>> /tmp/logWebObjects exists, and Spawn tries to write to the path (and
>>>>>>> can't) there could be a failure launching the app?
>>>>>>> 
>>>>>>> I changed LOG assignment to /opt/Local/Library/WebObjects/Logs in
>>>>>>> the script and now the app launches.
>>>>>>> </for discussion>
>>>>>>> 
>>>>>>> So, now I have to figure out why  "The requested application was
>>>>>>> not found on this server." This feels more like home toto.
>>>>>>> 
>>>>>>> now on a first name basis with Spawn,
>>>>>>> 
>>>>>>> Tim
>>>>>>> 
>>>>>>> On May 8, 2013, at 10:29 AM, Tim Worman <li...@thetimmy.com> wrote:
>>>>>>> 
>>>>>>>> Honestly, I've tried numerous different things in /etc/hosts.
>>>>>>>> Currently,this is what I have in there:
>>>>>>>> 
>>>>>>>> 127.0.0.1   localhost localhost.localdomain
>>>>>>>> <IP>   <hostname>.local        <hostname>
>>>>>>>> 
>>>>>>>> The loopback entries are pretty much the default I think. I really
>>>>>>>> appreciate all the advice - it's got to be something close.
>>>>>>>> 
>>>>>>>> Tim
>>>>>>>> 
>>>>>>>> On May 8, 2013, at 4:03 AM, Altera WO Team <webobje...@altera.it>
>>>>>>>> wrote:
>>>>>>>> 
>>>>>>>>> Hi Tim,
>>>>>>>>> 
>>>>>>>>> what do you have in /etc/hosts ?
>>>>>>>>> 
>>>>>>>>> I had to put:
>>>>>>>>> 
>>>>>>>>> 127.0.0.1 localhost
>>>>>>>>> ipaddress hostname
>>>>>>>>> 
>>>>>>>>> On a Centos 6.4 i had to fix that before being able to make an
>>>>>>>>> app launch via wotaskd, regardless of what i put in the propertiesŠ
>>>>>>>>> 
>>>>>>>>> Matteo
>>>>>>>>> 
>>>>>>>>> On 08/mag/2013, at 00:38, Tim Worman <li...@thetimmy.com> wrote:
>>>>>>>>> 
>>>>>>>>>> I just had to double-check. I wish that had been the issue.
>>>>>>>>>> 
>>>>>>>>>> [worman@<hostname> ~]$ sestatus
>>>>>>>>>> SELinux status:                 disabled
>>>>>>>>>> 
>>>>>>>>>> On May 7, 2013, at 2:43 PM, Hugi Thordarson <h...@karlmenn.is>
>>>>>>>>>> wrote:
>>>>>>>>>> 
>>>>>>>>>>> Have you tried disabling SElinux? You can do it temporarily by
>>>>>>>>>>> issuing:
>>>>>>>>>>> 
>>>>>>>>>>> echo 0 >/selinux/enforce
>>>>>>>>>>> 
>>>>>>>>>>> And then restart your perforce in fences isms.
>>>>>>>>>>> 
>>>>>>>>>>> - huge
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> On 7.5.2013, at 18:47, Tim Worman <li...@thetimmy.com> wrote:
>>>>>>>>>>> 
>>>>>>>>>>>> Hoping someone can nudge me toward whatever is keeping my app
>>>>>>>>>>>> from running. I have never had so much difficulty getting a
>>>>>>>>>>>> deployment going. The main symptom I'm seeing right now is that
>>>>>>>>>>>> my app simply will not complete a launch from JavaMonitor. The
>>>>>>>>>>>> On/Off image just flicks up and down until a death is logged.
>>>>>>>>>>>> Nothing meaningful is logged to /tmp/WebObjects.log.
>>>>>>>>>>>> 
>>>>>>>>>>>> Every particular I can think of:
>>>>>>>>>>>> 
>>>>>>>>>>>> 1. Linode, Centos 6.2
>>>>>>>>>>>> 2. used the wocommunity rpms to install wo bits
>>>>>>>>>>>> 3. WOHost deliberately set to the hostname in wotaskd,
>>>>>>>>>>>> JavaMonitor, and app Properties
>>>>>>>>>>>> 4. forward/reverse dns working properly with hostname
>>>>>>>>>>>> 5. wotaskd config can be reached at http://<hostname>:1085
>>>>>>>>>>>> 6. JavaMonitor is running and can be reached.
>>>>>>>>>>>> 7. App instance is set to log to
>>>>>>>>>>>> /opt/Local/Library/WebObjects/Logs - nothing is written to the
>>>>>>>>>>>> log when trying to launch the app
>>>>>>>>>>>> 8. WebObjectsAlias /apps/WebObjects
>>>>>>>>>>>> 9. mod_WebObjects loading before mod_rewrite
>>>>>>>>>>>> 10. from my main apache conf
>>>>>>>>>>>> Alias /WebObjects "/var/www/html/WebObjects"
>>>>>>>>>>>> <Directory "/var/www/html/WebObjects">
>>>>>>>>>>>> AllowOverride All
>>>>>>>>>>>> Order allow,deny
>>>>>>>>>>>> Allow from all
>>>>>>>>>>>> </Directory>
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> <LocationMatch /apps/WebObjects/.*>
>>>>>>>>>>>> Order allow,deny
>>>>>>>>>>>> Allow from all
>>>>>>>>>>>> </LocationMatch>
>>>>>>>>>>>> 
>>>>>>>>>>>> 11. from setting up linux on the wiki, I created
>>>>>>>>>>>> /etc/WebObjects/Properties ->
>>>>>>>>>>>> er.extensions.WOHostUtilities.localhostips=(<IP Address>)
>>>>>>>>>>>> That suggestion is for addressing the symptom I'm experiencing.
>>>>>>>>>>>> 
>>>>>>>>>>>> 12. all apps have appserver/appserveradm ownership
>>>>>>>>>>>> 
>>>>>>>>>>>> Anyone have any ideas they can throw my way?  Please. :-)
>>>>>>>>>>>> 
>>>>>>>>>>>> Tim
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>>>>>> Webobjects-dev mailing list
>>>>>>>>>>>> (Webobjects-dev@lists.apple.com)
>>>>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>>>> 
>>>>>>>>>>>> https://lists.apple.com/mailman/options/webobjects-dev/hugi%40ka
>>>>>>>>>>>> rlmenn.is
>>>>>>>>>>>> 
>>>>>>>>>>>> This email sent to h...@karlmenn.is
>>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>>>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>>>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>>>> 
>>>>>>>>>> https://lists.apple.com/mailman/options/webobjects-dev/webobjects%
>>>>>>>>>> 40altera.it
>>>>>>>>>> 
>>>>>>>>>> This email sent to webobje...@altera.it
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>> 
>>>>>>>> https://lists.apple.com/mailman/options/webobjects-dev/lists%40theti
>>>>>>>> mmy.com
>>>>>>>> 
>>>>>>>> This email sent to li...@thetimmy.com
>>>>>>> 
>>>>>> 
>>>>>> -- 
>>>>>> Chuck Hill   
>>>>>> Executive Managing Partner, VP Development and Technical Services
>>>>>> 
>>>>>> 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/gvc/practical_webobjects
>>>>>> 
>>>>>> Global Village Consulting ranks 13th in 2012 in BIV's Top 100
>>>>>> Fastest Growing Companies in B.C!
>>>>>> Global Village Consulting ranks 76th in 24th annual PROFIT 200
>>>>>> ranking of Canada¹s Fastest-Growing Companies by PROFIT Magazine!
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>>> -- 
>>>> Chuck Hill     
>>>> Executive Managing Partner, VP Development and Technical Services
>>>> 
>>>> 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/gvc/practical_webobjects
>>>> 
>>>> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest
>>>> Growing Companies in B.C!
>>>> Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking
>>>> of Canada¹s Fastest-Growing Companies by PROFIT Magazine!
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> 
>>> https://lists.apple.com/mailman/options/webobjects-dev/nlessa%40moleque.c
>>> om.br
>>> 
>>> This email sent to nle...@moleque.com.br
>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-vill
>> age.net
>> 
>> This email sent to ch...@global-village.net
> 


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

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

Reply via email to