Removed hard dependency on IBM's JVM.

This commit is contained in:
Juan Carlos Luciani
2006-11-18 07:10:14 +00:00
parent ff0b8df96b
commit 0332b6610e
7 changed files with 65 additions and 10 deletions

View File

@@ -90,7 +90,16 @@ StartDAEMON()
# Start the daemon
echo -n "Starting casa_atvd..."
$START_DAEMON_CMD $START_DAEMON_CMD_FLAG $DAEMON_USER $DAEMON -d
if [ "${JVM_VER}" = "SUN" ]; then
# We need to specify the single-threaded option :-( due to Sun's
# JVM bug (Bug 221420). This will be changed once the issue is
# resolved.
echo "Starting daemon using single threaded mode :-("
$START_DAEMON_CMD $START_DAEMON_CMD_FLAG $DAEMON_USER $DAEMON -d -s
else
$START_DAEMON_CMD $START_DAEMON_CMD_FLAG $DAEMON_USER $DAEMON -d
fi
RVAL=$?
$ECHO
}