Deploying And Installing A Web Application; Deploying And Installing A J2Ee Application - Red Hat APPLICATION SERVER - JONAS Manual

Jonas
Hide thumbs Also See for APPLICATION SERVER - JONAS:
Table of Contents

Advertisement

Chapter 15. Application Deployment and Installation Guide
protocols="${protocols.names}" /
/ejbjar
/target

15.3. Deploying and Installing a Web Application

Before deploying a Web application in the JOnAS application server, first package its components in
a WAR file as explained in Chapter 18 WAR Packaging.
For
, refer to the target WAR in the $JONAS_ROOT/examples/earsample/build.xml file.
Apache ANT
Next, install the WAR file into the
Note
Be aware that the WAR file must not be installed in the
Then, check the configuration. Before running the web application, check that the
present in the
jonas.services
uses enterprise beans.
The name of the WAR file can be added in the
Finally,
the application Server:
run
jonas start
The web components are deployed in a web container created during the startup. If the WAR file was
not added in the
jonas.service.web.descriptors
deployed using the
jonas admin

15.4. Deploying and Installing a J2EE Application

Before deploying a J2EE application in the JOnAS application server, first package its components in
an EAR file as explained in Chapter 23 EAR Packaging.
For
, refer to the target EAR in the $JONAS_ROOT/examples/earsample/build.xml file.
Apache ANT
Next, install the EAR file into the
Then, check the configuration. Before running the application, check that the
vices are present in the
The name of the EAR file can be added in the
Finally,
the application Server:
run
jonas start
The application components are deployed in EJB and web containers created during the startup. If the
EAR file was not added in the
can be dynamically deployed using the
$JONAS_ROOT/webapps
property. The
command or
$JONAS_ROOT/apps
property.
jonas.services
jonas.service.ear.descriptors
jonas admin
directory.
$CATALINA_HOME/webapps
service may also be needed if the Web application
ejb
jonas.service.web.descriptors
list, the web components can be dynamically
tool.
JonasAdmin
directory.
jonas.service.ear.descriptors
command or
directory.
web
section.
,
and
ejb
web
section.
list, the application components
tool.
JonasAdmin
153
service is
ser-
ear

Advertisement

Table of Contents
loading

This manual is also suitable for:

Application server

Table of Contents