Number of user connections

Versions of Adaptive Server earlier than 12.5.3 reserved on-third of available sockets to provide for the Enterprise JavaBeans (EJB) server, whether or not EJB was configured. Once reserved, these sockets were unavailable for Adaptive Server.

With Adaptive Server version 12.5.3 ESD #2, no sockets are automatically reserved for EJB. However, you can enable trace flag 1642 to revert to the previous functionality, reserving one-third of the sockets for EJB. You must enable traceflag 1642 to set up the EJB server if the message, "hbc_ninit: No sockets available for HBC" appears in the error log. If the EJB server is not configured, you can ignore this message.

If the EJB server is enabled and host based communication (HBC) sockets are not available, the message "hbc_ninit: No sockets available for HBC" is reported. If traceflag 1642 is not enabled, then Adaptive Server using the 1642 traceflag. If the EJB server is not enabled, then no message is reported and Adaptive Server automatically disables the sockets reserved for EJB server.