Consultor Eletrônico



Kbase P27156: How do I know which java version the Adminserver is using on Unix?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   04/03/2005
Status: Unverified

GOAL:

How do I know which java version the Adminserver is using on Unix?

GOAL:

How do I know which java version I'm using on Unix?

FACT(s) (Environment):

UNIX

FIX:

Set 'java -version' within the proadsv script. This way, when you start the Progress AdminServer, it will display the 'java' version that is being used when the AdminServer is started.

Make sure the AdminServer is not running.
1. Go to $DLC/bin/proadsv
2. Edit this file
3. Go to the end of the file where it states:

exec $JVMSTRT -w $WRKDIR -o stderr -m silent $JREHOME/bin/$JVMEXE -classpath $CLASSPATH $JVMARGS -Djava.security.policy=$JAVAPOLICY
-DInstall.Dir=$DLC -DWork.Dir=$WRKDIR -Djvmstart.debug=$JVMSTRT_DBGOPT -Djava.command=$JVMEXE -Dadmsrv.jvm=$JREHOME/bin/$JVMEXE -
Djava.jvmargs="$JVMARGS" $ADMSRVRCLASS $@

4. Enter java -version before this 'exec" line


$JDKHOME/bin/java -version
$JREHOME/bin/java -versionexec $JVMSTRT -w $WRKDIR -o stderr -m silent $JREHOME/bin/$JVMEXE -classpath $CLASSPATH $JVMARGS -Djava.security.policy=$JAVAPOLICY
-DInstall.Dir=$DLC -DWork.Dir=$WRKDIR -Djvmstart.debug=$JVMSTRT_DBGOPT -Djava.command=$JVMEXE -Dadmsrv.jvm=$JREHOME/bin/$JVMEXE -
Djava.jvmargs="$JVMARGS" $ADMSRVRCLASS $@

5. Start the AdminServer via the command line

proadsv -start

5. When start it, Progress will display the version of java that is being used.