On Aug 18, 2008, at 9:36 AM, Florijan Stamenkovic wrote:

Hi all,

So, I've never done any serious deployment, am doing some test now, and have some problems. They seem to be, surprise surprise, permissions related. Maybe somebody could point out what I am doing wrong; point out what is the standard, tested, working and sanctioned setup...

Problem:
App seems to crash (or simply not start up) at times. Well, this might or might not be fixed, since I've been fussing around a bit and have yet to see how this is affected. My bigger problem was that when looking for logs trying to determine why the app was down, I found nothing, which didn't help determine the problem.

SiteConfig:
        <application>
                ...     
                <macOutputPath>/Library/WebObjects/Logs/</macOutputPath>
        </application>
        <instance>
                ...     
<outputPath>/Library/WebObjects/Logs/AppNameInstanceNumber</ macOutputPath>
        </application>

Permissions:
Every folder in /Library/WebObjects has permissions:
Owner: appserver, read-write
Group: appserveradm, read-write
Others: read

Does everyone have execute on the directories?


wotaskd is starting up under root. Should I change that to appserver? That seems to be at least a part of the logging problem.

Yes, it should run as appserver unless you are on 10.3.


Also, could the logging / permissions mess be related to the apps not starting?


Yes, if it can't create the log file and write to it, the app will just die.

Chuck

--
Chuck Hill             Senior Consultant / VP Development

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/products/practical_webobjects






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

This email sent to [EMAIL PROTECTED]

Reply via email to