On May 7, 2013, at 2:12 PM, Chuck Hill <[email protected]> wrote:

> Have you double checked this:
>>>>> 3. WOHost deliberately set to the hostname in wotaskd, JavaMonitor, and 
>>>>> app Properties

Yeah, just checked for the umpteenth time. I'm explicitly setting 
WOHost=<hostname> in the Properties file for all three.

>>>>> 4. forward/reverse dns working properly with hostname

nslookup <ipaddress>
nslookup <hostname>

…from a remote location (and from the host itself) return each other as values.

> In wotaskd.woa/Contents/Resources there is a file named SpawnOfWotaskd.sh
> The default is this:
> $@ 1>/dev/null 2>&1 & 

I'll try this next. Thanks for all the suggestions.

> Change that to a real path and see if you get anything useful.
> 
> 
> Chuck
> 
> On 2013-05-07, at 1:37 PM, Tim Worman wrote:
> 
>> Thanks Chuck.
>> 
>> The permissions are good all the way through to 
>> /opt/Local/Library/WebObjects/Logs. wotaskd is running as appserver 
>> according to ps. So, wotaskd should be launching my app as appserver, 
>> correct? It's crazy - I am able to launch my app on the command line (as 
>> appserver - 498) with all the arguments from JavaMonitor. ps indicates all 
>> three apps are owned by 498 - and a log is created in 
>> /opt/Local/Library/WebObjects/Logs.
>> 
>> But it refuses to launch from within JavaMonitor. The soup thickens.
>> 
>> T
>> 
>> On May 7, 2013, at 12:10 PM, Chuck Hill <[email protected]> wrote:
>> 
>>> I think the permissions need to be correct all through the path, not just 
>>> at the last directory.
>>> 
>>> Chuck
>>> 
>>> 
>>> On 2013-05-07, at 11:59 AM, Tim Worman wrote:
>>> 
>>>> On May 7, 2013, at 11:52 AM, Chuck Hill <[email protected]> wrote:
>>>> 
>>>>> Hi Tim,
>>>>> 
>>>>>> 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
>>>>> 
>>>>> That usually means that the app does not have permissions to create 
>>>>> file/write files in that directory.  Try copying all of the extra 
>>>>> parameters out of JavaMonitor and launching from the command line.  Now 
>>>>> try that again as the user who wotaskd is running under.
>>>>> 
>>>>> 
>>>>> Chuck
>>>> 
>>>> Thanks Ken and Chuck. I'll look that direction for a bit. I tried setting 
>>>> permissions to 777 about 2 hours ago on /opt/Local/Library/WebObjects/Logs 
>>>> - just as a test - but it didn't help. I'll try your suggestion.
>>>> 
>>>> I'ts been a long time since I've been this burned about a deployment. :-)
>>>> 
>>>> Tim
>>>> 
>>>>> On 2013-05-07, at 11:47 AM, Tim Worman 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      ([email protected])
>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>>>>>> 
>>>>>> This email sent to [email protected]
>>>>> 
>>>>> -- 
>>>>> 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!
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
> 
> -- 
> 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      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to