check your startup script to make sure it doesnt' run witangod more than once...

/John

Here's my script- just a simple mod of the stock script. Path has been generalized for this message-

I don't think it's getting lit off more than once-

check me-
----------------------------------------------


#!/bin/sh

# Witango Application Server Startup Command
# Sample of how to start FileMaker and Witango server from a command line
# in the same user space.


StartFileMaker ()
{
################################################
####  Start FileMaker and Open Databases    ####
####  Modify these lines to automatically   ####
####  start FileMaker Pro databases         ####
####  osascript is used to send AppleEvents ####
####  it uses an AppleScript syntax to do   ####
####  to do this.  Type 'man osascript' in  ####
####  the terminal to get more info.        ####
################################################
echo "Starting FileMaker"
/usr/bin/osascript -e 'Tell application "FileMaker Pro"' -e \
        'activate' -e \
'open file "servername:Applications:4DWebSTAR:WebServer:machine.mynet.com:filename.fp5" with password ""' -e \
        'end tell'
/usr/bin/osascript -e 'Tell application "Finder"' -e \
        'activate' -e \
        'end tell'
}


# Witango Application Server Startup Command
# Sample of how to Witango server from a command line
# in the same user space.

##################################################
####  set environment variables               ####
####  The following lines setup the variables ####
####  the server need to locate the odbc      ####
####  initialization file                     ####
##################################################
#
# InitWitangoEnv
# Use this procedure to set all environment variables to be used by the witangod process
#
InitWitangoEnv ()
{
        # Set up environment for Witango server
        #
        WITANGO_PATH=/Applications/WitangoServer/5.5/
        export WITANGO_PATH
        WITANGO_CONFIG=$WITANGO_PATH/configuration
        export WITANGO_CONFIG

        # Set up environment for Java Virtual Machine
        #
        
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Libraries/
        export JAVA_HOME
        LD_LIBRARY_PATH=$WITANGO_PATH:/usr/lib:/usr/local/lib:$JAVA_HOME
        export LD_LIBRARY_PATH
        #Add the paths to the JDBC jar files to the CLASSPATH
        CLASSPATH=$WITANGO_PATH/jdbc_drivers/
        export CLASSPATH

        # Set up environment for ODBC driver manager
        #
        ODBCINI=/Library/ODBC/odbc.ini
        export ODBCINI
        ODBCINSTINI=/Library/ODBC/odbcinst.ini
        export ODBCINSTINI

        # Set up general environment variables
        #
        PATH=$WITANGO_PATH:$PATH
        export PATH
        LC_ALL=en_US
        export LC_ALL
}


##################################################
####  Start the Witango Application Server    ####
####  The witango server is started with a -u ####
####  option to force the process to be owned ####
####  by the logged in user.  The & releases  ####
####  the terminal so it can be reused        ####
####  The next lines show the process info    ####
####  for the Witango process                 ####
##################################################
echo "Starting Witango Server in user environment"
InitWitangoEnv
StartFileMaker
cd $WITANGO_PATH
$WITANGO_PATH/witangod -u &
ps -aux | grep witangod | grep -v grep
ps -aux | grep FileMaker | grep -v grep

-------------------------
--
Thanks,

Chuck

Chuck Leavens Director of Engineering and IT Management
WDUQ-FM  Duquesne University  Pittsburgh PA 15282
412-396-5508 Direct
[EMAIL PROTECTED]
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to