Thursday 12 June 2014

Installation of Redhat Jboss EAP 6.2 (Enterprise Application Platform)

Hello everyone,

After Oracle weblogic and Websphere application server I got an opportunity to work with jboss application server. As it is very basic application server its installation is much easier than that of weblogic and websphere.  Before moving further lets have glance on JBOSS EAP and JBOSS Community.  

Jboss EAP (Enterprise Application Platform) and Jboss Community (Open Source) are the same process of installation, configuration, and management. The main difference is that the EAP one is a License version and you required the valid Redhat Support credential to download it and it comes with Red Hat JBoss patches and bug Fixes. EAP is more stable than that of Jboss Community version and you can raise a call to Redhat in case of any issue.

Here is the scenario where we are going to install the JBoss EAP 6.2 in our environment and configure and we will follow the procedure given bellow. 
  1. Check system prerequisites 
  2. Install JBoss EAP 6.2 using zip download  
  3. Add user for Management
  4.  Start / Stop JBOSS EAP 6.2 as a Standalone Server
  5. Access and Manage JBoss EAP 6.2 using the Management Console and Management CLI


Step 1 : Check System Prerequisites

Before proceeding with the installation, you should have a installable available with you

i.e. jboss-eap-6.2.0.zip

Next is to make sure that you have a JVM installed in your machine. You can try running the following command in your terminal:

$ java –version


In case if you don’t have a JVM install, the install suitable JVM first.

Step 2 : Install JBoss EAP 6.2 using zip download


There are several ways to install JBoss Enterprise Application Platform 6.2. We’ll go with the simplest form which is using the zip download. You may install JBoss EAP 6.2 on any location of your machine.

Download the JBoss Enterprise Application Platform 6.2 from redhat, under Downloads -> JBoss Enterprise Middleware -> Application Platform, at the very bottom. Unzip it to your home directory, this will be our EAP_HOME.




Step 3 : Add user for Management


Before you could use the Management Console and/or Management CLI, we have to setup a management user first.
  • open up terminal and go to EAP_HOME/bin
  • run add-user.bat


  • Once you see the screen above simply hit enter until you are asked to enter the username
  • Enter desired username and password, answer YES on the next questions


Step 4 : Start / Stop JBOSS EAP 6.2 as a Standalone Server


Before Start the jboss server you have to set JAVA_HOME and JBOSS_HOME parameter in Windows environment variable (in case of windows environment) or in the cmd window from where you are running the jboss server.
set JAVA_HOME=Path of jdk installed
set JBOSS_HOME=Path of Jboss Directory


  • open up terminal and go to EAP_HOME/bin
  •  run command $ standalone.bat

  • close terminal to stop server or simply hit ctrl + c

Step 5 : Access and Manage JBoss EAP 6.2 using the Management Console and Management CLI

Management Console

Open a web browser and type http://localhost:9990/



Management CLI
  • open up terminal and go to EAP_HOME/bin
  •  run command $ jboss-cli.bat  --connect

  • run exit to quite


I hope this post will help you all

Related:



Effort only fully releases its reward after a person refuses to quit.”

Regards,
Akhilesh B. Humbe


No comments:

Post a Comment

Popular Posts