Starting and Stopping JOnAS

If JOnAS has been properly installed and your environment variables are correctly defined as described in the section Configuring JOnAS. JOnAS is usually started as follows:

jonas start
 

A name is assigned to each JOnAS server in the jonas.properties file (see the section JOnAS Configuration Files). The default name for a JOnAS server is jonas. To stop a JOnAS server, you can use the Jonas tool. The following command stops the JOnAS server named jonas (default):

jonas stop

To stop a JOnAS server with a user defined name like myEJBserver, use:

jonas stop -n myEJBserver

Note

If the registry was launched with the JOnAS server, halting the server also terminates the registry. However, if the registry was launched separately, it is up to you to stop it if needed.