Shutting down EJB Servers

You can stop EJB Server in three ways:

StepsTo shut down EJB Server from the Adaptive Server plug-in

  1. Highlight the EJB Server you want to shut down.

  2. Press File | Stop EJB

StepsTo shut down EJB Server using sp_extengine

  1. Log in to Adaptive Server using isql.

  2. Enter this command:

    sp_extengine 'SYB_EJB', 'stop'
    

    where SYB_EJB is the logical name of the server.

StepsTo shut down both EJB Server and Adaptive Server

  1. Log in to Adaptive Server using isql.

  2. Enter this command:

    shutdown
    

    You can also use shutdown with the no wait option.

NoteIssuing a “kill -9” command on Adaptive Server will not shut down the associated EJB Server.