When you execute
SessionHandlerFactory.connect() or
SessionHandler.connect()if the action is successful then your application is connected to the specified session. If the action is not successful the default behavior is that CMF logs an error message in the correlator log file. This is the result of the default error callback that is common to all session handlers. The default error callback logs at the
ERROR level. To add or change error behavior, see
Overriding default error handling for sessions.
To be notified of a successful connection, you can call
SessionHandler.connectCb(), which specifies a connection callback that you provide. See
Setting session callbacks.