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! > > > > > > > > > > > _______________________________________________ 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]
