Hi Greg

The executable needs to be owned by appserver:appserveradm, so do something 
like:


        cd /Library/WebServer/Applications
        chown -R appserver:appserveradm MyApp

and then see if it will start via Monitor.

LIz

On 1 Jul 2013, at 22:40, Bogdan Zlatanov <bogdan.zlata...@gmail.com> wrote:

> Hi Greg,
> 
> On 1 Jul 2013, at 23:36, Greg Lappen wrote:
> 
>> Thanks for the info Liz.  I did what you said, but when the monitor page 
>> opens in the browser and I try to start my app, it never starts.  Nothing 
>> relevant appears in the log files :(
>> 
> 
> Check the application permissions, especially the executable.
> 
>> 
>> On Mon, Jul 1, 2013 at 5:20 PM, Elizabeth Lynch <l...@plsys.co.uk> wrote:
>> Hi
>> 
>> We have exactly the same problem: some Apple updates were applied yesterday 
>> on a client's Snow Leopard server (I don't know exactly what), and now 
>> wotaskd and JavaMonitor won't start automatically. We got the 
>> kCGErrorFailure message at one point: now I just see 'Exited with exit code 
>> (1)'.
>> 
>> Both start fine when started from Terminal, so for the moment I have got the 
>> site back running by starting the 2 apps from Terminal with:
>> 
>>         sudo -u appserver  
>> /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd
>> and
>>         sudo -u appserver  
>> /System/Library/WebObjects/JavaApplications/wotaskd.woa/JavaMonitor
>> 
>> But of course this is just a temporary 'fix' to keep the client's website up 
>> while we find the real solution.
>> 
>> I have tried setting permissions for /Library/LaunchDaemons/JavaMonitor.woa 
>> and wotaskd.woa to be owned by appserver:wheel and by 
>> appserver:appserverusr. This made no difference.
>> 
>> Liz
>> 
>> On 1 Jul 2013, at 21:03, Christoph Wick <wi...@me.com> wrote:
>> 
>> > Hi Greg,
>> >
>> > can you start WOMonitor manually? Try to execute
>> >
>> >       
>> > /System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor
>> >
>> > (if you are using the original Apple WOMonitor, or the one from Wonder 
>> > wherever you've installed it)
>> >
>> > Does the log (defined in your LaunchDaemon's 
>> > com.apple.webobjects.womonitor.plist) tells you anything?
>> >
>> > C.U.CW
>> > --
>> > What are the three enemies of a programmer? Sunlight, oxygen, and the 
>> > appalling roar of the birds.
>> >
>> > On 01.07.2013, at 21:09, Greg Lappen <g...@lapcominc.com> wrote:
>> >
>> >> Hello,
>> >>
>> >> We have a WebObjects app running on a Snow Leopard Server.  Some OS X 
>> >> updates were applied recently, and now WebObjects javamontor, wotaskd, 
>> >> and hence our app are not starting up.
>> >>
>> >> I saw this error in /var/log/system.log:
>> >>
>> >> Suspicious setup: User "appserver" maps to user: _appserver
>> >>
>> >> I modified the LaunchAgent plist files so that the user and group name 
>> >> now have dashes in front of them and reloaded the files into launchd with 
>> >> launchctl.  The error I see now is this:
>> >>
>> >> kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors 
>> >> as they are logged.
>> >>
>> >> This seems like some issue with java not being able to connect to the 
>> >> window server, but I was not able to find any solutions.  Does this look 
>> >> familiar to anyone?
>> >>
>> >> Much thanks,
>> >>
>> >> Greg
>> >> _______________________________________________
>> >> 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/wicki%40me.com
>> >>
>> >> This email sent to wi...@me.com
>> >
>> >
>> > _______________________________________________
>> > 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/liz%40plsys.co.uk
>> >
>> > This email sent to l...@plsys.co.uk
>> 
>> 
>>  _______________________________________________
>> 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/greg%40lapcominc.com
>> 
>> This email sent to g...@lapcominc.com
>> 
>> _______________________________________________
>> 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/bogdan.zlatanov%40gmail.com
>> 
>> This email sent to bogdan.zlata...@gmail.com
> 

 _______________________________________________
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