Consultor Eletrônico



Kbase P108071: How to enable debugging for the osmetrics.dll?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/3/2010
Status: Verified

GOAL:

How to enable debugging for the osmetrics.dll?

GOAL:

How to debug Adminserver startup problems.

FACT(s) (Environment):

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

FIX:

Debugging is enable by defining and exporting an environment variable in the process running the AdminServer.
The environment variable names a file which will be created to contain any debug information.
When the osmetric library loads it attempts to initialize and discover the resources on the system.
If this debug logging is turned on it produces output which gives more information.

On Unix:
1. Stop the adminserver
2. Set this variable and export it:
AMS_DEBUG_FILE_ENV=[your path]/osmetrics-debug.log
export AMS_DEBUG_FILE_ENV

3.Start the adminserver again.
4.This will generate an osmetrics-debug.log in the path you specified in step 2.

On Windows:
1. Stop the adminserver,
2. Set this Windows variable

set AMS_DEBUG_FILE_ENV=[your path]\osmetrics-debug.log

3. Start the adminserver again.
4. This will generate an osmetrics-debug.log in the path you specified in step 2.

The environment variable can be also be defined on Unix in a $WRKDIR/proset.env file so it will take effect when the AdminServer is started.