3.7.1.3.6 Return Value
Boolean TRUE
or FALSE
.
TRUE
indicates success. FALSE
indicates
failure. If an error occurs in initialize()
, the
application code should return FALSE
. The application
code should not call the system call exit()
. Calling
exit()
does not give the TP Framework a chance to
release resources allocated during startup and may cause
unpredictable results.
If the return value is FALSE
:
-
Server::release()
is not invoked. - Any transactions that are started in the
initialize()
method and are not terminated will eventually time out; they are not automatically rolled back.
Parent topic: Server::initialize()