Robert,

Here is what I have. As I see it, it should start as appserver


StartService ()
{
        if [ -x "${WOSERVICE}" ]; then
        
        if [ "${PRINTSTARTSTOPMESSAGES}" = "YES" ]; then
                        ConsoleMessage "Starting WebObjects services"
                fi

        if [ -e /var/log/webobjects.log ]; then
                mv /var/log/webobjects.log /var/log/webobjects.log.1
        fi

                ####
                # OSX Server now has the 'appserver' and 'appserveradm' for 
security
                # For Panther Server, wotaskd and javawoservice.sh are owned
                # by the appserver user.  By launch 

        "${WOSERVICE}" -appPath "${WOTASKD}" >/var/log/webobjects.log 2>&1 & 

                # Uncomment the next line to start Monitor 
                #"${WOSERVICE}" -appPath "${WOJAVAMONITOR}" -WOPort 56789 -
WOAutoOpenInBrowser NO >>/var/log/webobjects.log 2>&1 & 
                ####    
        
        fi
}


On Wed, Nov 29, 2006, Robert Walker wrote:

>Robert,
>
>Take a look at the file here to see how wotaskd is being started:
>
>/System/Library/StartupItems/WebObjects/WebObjects
>
>Also it's worth noting that a recent update has changed the  
>WebObjects deployment startup to use launchd instead of the legacy  
>UNIX startup system.
>
>On Nov 29, 2006, at 10:06 AM, Robert Snyder wrote:
>
>> Sacha and Kieran,
>>
>> I was searching through the archives and found a tread from March 7,
>> 2006 that matched a problem I am having. Unfortunately, I never found
>> out how the problem was solved . . . the thread dies off before the
>> solution is reached. Can you, or anyone else, tell me how to fix  
>> this problem?
>>
>> I am trying to solve a problem with one of my app servers. I have a
>> number of XServes that are running as WO app servers. They are all  
>> up to
>> date with patches and updates (10.4.8), but for reasons I won't go  
>> into
>> here, we are still running 5.2.4 WebObjects.
>>
>> On all but one of the app servers WebObjects applications are  
>> correctly
>> running as appserver. But on one of our older machines, which started
>> life as a 10.3.x box, all WO processes are running as root. It has  
>> been
>> doing this for some time, and I need to correct it so that a script  
>> that
>> I run to keep wotaskd running will work (again, don't ask . . . my
>> script checks to see how many java process are running as  
>> appserver, and
>> if it is only one, it kills that process, forcing wotaskd to  
>> respawn and
>> then our apps to relaunch . . . I call it wotaskdGoneZombie.sh).
>>
>> At any rate,  I don't want the script to be killing root processes,  
>> so I
>> need to get the server running as appserver.
>>
>> Thanks
>>
>> Robert
>>
>> ____________________________________________
>>
>> Robert Snyder
>> Outreach Technology Services
>> The Pennsylvania State University
>> 151A Outreach Building
>> University Park  PA  16802
>> Phone: 814-865-0912  Fax: 814-865-4406
>> E-mail: [EMAIL PROTECTED]
>>
>>
>>  _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-deploy mailing list      (Webobjects- 
>> [EMAIL PROTECTED])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-deploy/ 
>> robertwalker1%40mac.com
>>
>> This email sent to [EMAIL PROTECTED]
>
> _______________________________________________
>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/rns3%40psu.edu
>
>This email sent to [EMAIL PROTECTED]
>

____________________________________________

Robert Snyder
Outreach Technology Services
The Pennsylvania State University
151A Outreach Building
University Park  PA  16802
Phone: 814-865-0912  Fax: 814-865-4406 
E-mail: [EMAIL PROTECTED]


 _______________________________________________
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 archive@mail-archive.com

Reply via email to