Auto Reconnect (-autoReconnect)
- Last Updated: October 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Use Auto Reconnect (-autoReconnect)
to reestablish connections to disconnected databases that were specified using
startup parameters.
When a STOP condition is raised, GUI and character-mode ABL sessions
are reset and restarted if the STOP condition is not handled by the application. If
-autoReconnect is specified, the AVM attempts
to reestablish connections to any disconnected databases (including shared-memory
connections) that were specified through startup parameters. This happens
immediately before running the procedure specified by the -p startup parameter. If the database connections cannot be
reestablished during a restart, the AVM does not attempt to run the procedure.
Instead, the AVM exits to the operating system.
| Operating system and syntax | UNIX / Windows |
-autoReconnect
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| Client Connection | — | — | — | — |
Auto Reconnect (-autoReconnect) only
applies to GUI or character-mode clients. The parameter is a no-op if specified for
batch-mode clients or application server sessions.
When running without -autoReconnect,
the ABL session is reset and and the procedure specified by the -p startup parameter is run, without attempting to
reconnect to any databases that were specified at startup using startup
parameters.
For more information, see Learn about automatic database reconnect.