Unhandled PowerBuilder exceptions

An unhandled fatal exception raised by a PowerBuilder component running in EAServer, can cause the PBVM to become unstable, resulting in unpredictable behavior and unforeseen problems with the PBVM and EAServer. This scenario is unlikely, but possible. You may want to restart or shut down the server, rather than allow EAServer to continue running in an unstable state.

The PBOnFatalError system environment variable allows you to specify the action you want EAServer to take when an unhandled exception is raised in the PBVM. The PBOnFatalError variable is supported in PowerBuilder 8.0.4 (Build 10501) and PowerBuilder 9.0.1 (Build 6533) maintenance releases, and later. These are the values you can assign to the PBOnFatalError variable:

Value

Resulting behavior when a fatal error occurs in a PowerBuilder component

continue

EAServer continues running, and a CORBA_TRANSACTION_ROLLEDBACK exception is thrown. This is the default value.

restart

EAServer restarts automatically.

shutdown

EAServer shuts down.