You add the message server component to the Environment by selecting the New > [Message Server Type] option from the Logical Host context menu in the NetBeans Services window, which presents a dialog box in which you enter the component name. Right-clicking the Message Server in the Service window displays its context menu. See Using Environment Component Context Menus.