installing and configuration. objectives you will be able to understand what is an j2ee application...

18
Installing and Configuration

Upload: carmella-young

Post on 20-Jan-2016

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

Installing and Configuration

Page 2: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

Objectives

You will be able to understand what is an J2EE Application Server

You will learn how to install the JBOSS AS You will learn how to manage the JBOSS AS

Page 3: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

JBOSS AS

Division of Red Hat that develops software products

The trademark used for all the products that the group makes, and an application server.

JBoss Application Server, commonly abbreviated as JBoss AS.

Page 4: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

JBOSS AS

Page 5: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

JBOSS AS : Installing the JBOSS AS

Install the JDK# ./jdk-1_5_0_17-solaris-i586.sh

# JAVA_HOME=/opt/jdk150_17

# PATH=$JAVA_HOME/bin:$PATH

Install the JBoss Application Server# mkdir /opt/jboss-server; cd /opt/jboss-server

# java –jar jboss-4.0.3SP1-installer.jar

Page 6: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

Exploring the installation

/opt/jboss-server/jboss-4.0.3SP1/bin

/opt/jboss-server/jboss-4.0.3SP1/lib

/opt/jboss-server/jboss-4.0.3SP1/server

Page 7: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

JBOSS Server Configuration

Page 8: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

JBOSS AS : Container Arquitecture

Page 9: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

Understanding server configuration

server/default/conf server/default/deploy server/default/deployers Server/default/lib

Page 10: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

Understanding server/default/conf

Page 11: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

Understanding server/default/conf

Page 12: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

Understanding server/default/deploy

The deploy directory is where applications and services are deployed.

This is where you can deploy any application packages—for example, JAR, Web Archive (WAR), or Enterprise Archive (EAR)

Page 13: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

Understanding server/default/deploy

The deployers directory contains all the JBoss AS services that are used to recognize

and deploy different application and archive types.

For example, the Tomcat container

Page 14: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

Understanding server/default/lib

The lib directory holds server libraries that are shared across all services and applications within a configuration.

Page 15: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

Understanding server/default generated directories

server/default/data server/default/log server/default/tmp Server/default/work

Page 16: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

Starting the server

PATH=$PATH:/opt/jboss-server/jboss-4.0.3SP1/bin

JAVA_HOME=/opt/jdk15_12

PATH=$PATH:$JAVA_HOME/bin

# ./run.sh –c default

Page 17: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

Starting the server

Page 18: Installing and Configuration. Objectives You will be able to understand what is an J2EE Application Server You will learn how to install the JBOSS AS

Stoping the server

PATH=$PATH:/opt/jboss-server/jboss-4.0.3SP1/bin

JAVA_HOME=/opt/jdk15_12

PATH=$PATH:$JAVA_HOME/bin

# ./shutdown.sh –S –server=jnp://<server_addr>:<server_port>