Monday, May 6, 2013

Installing JBOSS on the windows Environment



JBoss Enterprise Application Platform is an implementation of services specified by J2EE. JBoss comprises of benefits like easy installation and usage as JBoss is based on Java platform. It supports any operating system based on Java.

So let’s see how to install JBoss EAP in Windows operating system
There are 3 installation methods like ZIP installation RPM installation and Graphical Installation.  I have used ZIP installation method in this project. 

These are the steps I have followed.

1. Downloading and Installing JBoss

  1.    Download the jboss-ep-ws-cxf-<release>-installer.zip. file.

      2.       Unzip jboss-eap-<release>.zip to extract the archive contents into the location of your choice

3     JBoss 5.1 requires at least a Java 1.6 or Java 1.7 JVM. So that make sure the JAVA_HOME environment   variable is set to point to your JDK installation.

2. Starting the Server
  1. You'll find a bin directory inside the main JBoss directory which contains various scripts. With the command prompt go to the bin directory.
  2. Start the server using run.bat script. After running it would display as server has started in the command prompt. 
  3. Open http://127.0.0.1:8080 in a web browser on the server machine. Then it will directed to welcome page of JBoss eap 5.1 version.

Configurations:
While you are trying to redirect to jmx console if it requires username and password, there are configurations to be made at two places.
Eg:
·         C:\JBoss\jboss-eap-5.1\jboss-as\server\default\deploy\management\console-mgr.sar\web-console.war\WEB-INF\classes
There you will find ; web-console-users.properties , and edit the username and password accordingly.
·         C:\JBoss\jboss-eap-5.1\jboss-as\server\default\conf\props
There you will find ; jmx-console-users.properties , and edit the username and password accordingly.

That’s all J Happy JBoss Server programming !!


No comments:

Post a Comment