Daniel:

The file /etc/WebObjects/Properties - I have created that entry for the 
localhostips and it has the external IP for the server. I've tried different 
variations of entries in /etc/hosts. I'll try an entry like you recommended.

Tim

On May 7, 2013, at 2:32 PM, D Fedak <[email protected]> wrote:

> Just my two centos's ;)
> 
> If you're not on a DNS server, make sure that /etc/hosts has a static entry:
> 
> e.g.
> 192.168.1.101    myserver.local
> -----
> 
> Make sure there is a global 'Properties' file in the following location:
> mkdir -p /etc/WebObjects
> vi /etc/WebObjects/Properties
> 
> Add this single line to the above Properties file:
> er.extensions.WOHostUtilities.localhostips=(192.168.1.101)
> 
> That may or may not do the trick. I also tend to disable CentOSs SELinux, as 
> I find it a pain.
> 
> Restart WOTaskd and javamonitor and hopefully you might have some luck.
> 
> Thanks,
> Daniel
> 
> VPT
> Building 3, Chiswick Park, 
> 566 Chiswick High Road, 
> London
> W4 5YA
> United Kingdom
> 
> Tel: +44 (0)208 899 6576
> 
> Vocal Planet Ltd t/a VPT,  registered office Building 3, Chiswick Park, 566 
> Chiswick High Road, London, W4 5YA, United Kingdom. Registered in England and 
> Wales, number 3449503
> 
> This e-mail is only intended for the person(s) to whom it is addressed and 
> may contain confidential information.  Unless stated to the contrary, any 
> opinions or comments are personal to the writer and do not represent the 
> official view of the company.  If you have received this e-mail in error, 
> please notify us immediately by reply e-mail and then delete this message 
> from your system.  Please do not copy it or use it for any purposes, or 
> disclose its contents to any other person.  Thank you for your co-operation.
> 
> On 7 May 2013, at 22:12, Chuck Hill <[email protected]> wrote:
> 
>> Have you double checked this:
>>>>>> 3. WOHost deliberately set to the hostname in wotaskd, JavaMonitor, and 
>>>>>> app Properties
>>>>>> 4. forward/reverse dns working properly with hostname
>> 
>> In wotaskd.woa/Contents/Resources there is a file named SpawnOfWotaskd.sh
>> The default is this:
>> $@ 1>/dev/null 2>&1 & 
>> 
>> 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/df%40vpt.co.uk
>> 
>> This email sent to [email protected]
> 


 _______________________________________________
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