Consultor Eletrônico



Kbase P185872: Is Java or -classpath necessary in the proserve script if the database will never be configured for
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/13/2011
Status: Unverified

GOAL:

Is Java or -classpath necessary in the proserve script if the database will never be configured for SQL connections?

GOAL:

Can the Java or -classpath references be removed from the proserve script if the database will never be configured for SQL connections?

FACT(s) (Environment):

All Supported Operating Systems
Progress 9.x
OpenEdge 10.x

FIX:

If no SQL connections will be needed for the database the Java and -classpath references in the command line of the proserve script (at the bottom of the file) are not necessary.

The normal information at the bottom of the Unix script:
if [ ! -f $TOOLSPROP ]
then
exec $JVMSTRT -o stderr -m silent ${PROSRV} "$@"
else
exec $JVMSTRT -o stderr -m silent -a $TOOLSPROP::$TOOLSGRP ${PROSRV} "$@"
fi
The above sections could both be commented out.
The most basic command line replacement necessary for the proserve script would be
Unix:
_mprosrv "$@"

The normal information at the bottom of the Windows script:
:START
if exist %TOOLSPROP% goto STRTCP
%JVMSTRT% -c"%JCP%" -o stderr -s -m silent %PROSRV% %PARMS%
goto END
:STRTCP
%JVMSTRT% -a "%TOOLSPROP%"::%TOOLSGRP% -o stderr -s -m silent %PROSRV% %PARMS%

The above sections could both be commented out.
The most basic command line replacement necessary for the proserve script would be
Windows:
_mprosrv %1 %2 %3 %4 %5 %6 %7 %8 %9