Re: Unable to run wotaskd and monitor as appserver

David Frank <[email protected]> Thu, 16 Sep 2004 07:48:43 +0200
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
hi,
there used to be a bug in that script (not sure it's still there in 
5.2.3). to quote myself:

> The template in /System/Library/StartupItems/WebObjects is something 
> like
>
>   /usr/bin/su nonrootuser -c "$WOSERVICE" -appPath "$WOTASKD" 
> >/var/log/webobjects.log 2>&1 &
>
> but it looks like the quotes need to be around the whole command:
>
>   /usr/bin/su nonrootuser -c "$WOSERVICE -appPath $WOTASKD" 
> >/var/log/webobjects.log 2>&1 &

hth,
dave

David Frank
david.frank <at> tiscali.ch
http://home.tiscali.ch/david.frank


On 16.09.2004, at 01:31, Mariano Peterson wrote:

> I just installed OS X 10.3.5 and WebObjects Developer 5.2.3.  I'm 
> trying to get WoTaskD and JavaMonitor to start automatically under the 
> appserver user account.
>
> When I set the startup file 
> (/System/Library/StartupItems/WebObjects/WebObjects) to start the 
> services as root, everything works fine (I get a valid response from 
> http://localhost:1085 and http://localhost:56789).  When I comment out 
> the lines that start the services as root and enable the lines that 
> start the services as appserver, WebObjects no longer starts up 
> correctly.  After restarting the server or running sudo SystemStarter 
> start "WebObjects Services", I no longer get responses from 
> http://localhost:1085 and http://localhost:56789.
>
> The /var/log/system.log file doesn't indicate any errors.  The 
> /var/log/webobjects.log file is empty when I run WebObjects as 
> appserver, but has normal startup data when I run WebObjects as root.
>
> Any ideas how I can get WebObjects to run as appserver?
>
> Thanks!
> Mariano_______________________________________________
> WebObjects-admin mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-admin