This chapter will help you to understand the various JOnAS components as well as how to start and
manage a JOnAS server.
4.1. Overview of the Tools
JOnAS comes with a set of tools that are briefly described below.
•
/sbin/service jonas start
generates skeleton files when developing a new bean.
•
newbean
starts the JNDI according to the setting in the
•
registry
setting is RMI or JEREMIE). This command should be used only if you configured JOnAS to use
a remote registry.
generates container classes.
•
GenIC
starts the JMS server.
•
JmsServer
a command-line administration console for JOnAS.
•
jonas admin
Resource Adapter deployment tool.
•
RAConfig
All these commands and their respective options are fully detailed in the Red Hat Application Server
User Guide.
4.1.1. Starting and Stopping JOnAS
If JOnAS has been properly installed and your environment variables are correctly defined as de-
scribed in Section 3.1.2 Configuring Your JOnAS Environment, the JOnAS service is started as fol-
lows:
/sbin/service jonas start
A name is assigned to each JOnAS server in the
Configuration Files). The default name for a JOnAS server is
can use the
tool. The following command stops the JOnAS server named
jonas
/sbin/service jonas stop
To stop a JOnAS server with a user defined name such as
/sbin/service 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.
Getting Started With JOnAS
starts the JOnAS server.
jonas.properties
carol.properties
file (see Section 4.1.2 JOnAS
. To stop a JOnAS server, you
jonas
, use:
myEJBserver
Chapter 4.
file (usually the
(default):
jonas
Need help?
Do you have a question about the APPLICATION SERVER - JONAS and is the answer not in the manual?
Questions and answers