You can stop EJB Server in three ways:
From the Adaptive Server plug-in
Using the sp_extengine system procedure
By shutting down Adaptive Server Enterprise
To shut down EJB Server from the Adaptive Server plug-in
Highlight the EJB Server you want to shut down.
Press File | Stop EJB
To shut down EJB Server using sp_extengine
Log in to Adaptive Server using isql.
Enter this command:
sp_extengine 'SYB_EJB', 'stop'
where SYB_EJB is the logical name of the server.
To shut down both EJB Server and Adaptive Server
Log in to Adaptive Server using isql.
Enter this command:
shutdown
You can also use shutdown with the no wait option.
Issuing a “kill -9” command on Adaptive Server will not shut down the associated EJB Server.