Kbase P158379: What are these new _mprosrv processes that appear to be java related?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/01/2010 |
|
Status: Unverified
GOAL:
What are these new _mprosrv processes that appear to be java related?
GOAL:
What are the _mprosrv java processes?
FACT(s) (Environment):
UNIX
OpenEdge 10.x
CHANGE:
Recently upgraded from 9.1X to 10.X of OpenEdge
FIX:
The proserve command used to start a database is a script. Within this script, several environment variables are set. These variables are associated with the OpenEdge installation. Some of the variables that are set by this script are:
DLC
WRKDIR
PROMSGS
PROSRV
JVMSTART
TOOLSPROP
TOOLSGRP
TERM
Wtihin this script, several other scripts are invoked to set additional variables These variables deal with the java enviroment and shared libraries used by an OpenEdge installation. Those scripts are:
$DLC/bin/java_env
$DLC/bin/slib_env
If for some reason Java can not be detected, the database will be started without making use of Java. Excerpt from $DLC/bin/proserve script:
# set the java environment
if [ ! -f $DLC/bin/java_env ]
then
echo "Java Environment not found, using Java free proserve"
exec $PROSRV "$@"
exit 0
fi
# Set the JAVA environment
. $DLC/bin/java_env
if [ ! -f $JREHOME/bin/$JVMEXE ]
then
echo "Java Environment not found, using Java free proserve"
exec $PROSRV "$@"
exit 0
fi
If Java can be detected, then the database will be started making use of a Java Starter (JVMSTRT) to start the database.
Excerpt from $DLC/bin/proserve script:
# at this point ALL required environment variable should be set
# invoke the Progress Server
if [ ! -f $TOOLSPROP ]
then
exec $JVMSTRT -o stderr -m silent ${PROSRV} "$@"
else
exec $JVMSTRT -o stderr -m silent -a $TOOLSPROP::$TOOLSGRP ${PROSRV} "$@"
fi