JBoss is a trusted application server, it is a product of Red Hat. We are focusing installation of JBoss Application Server 7 in this article.
Installing JAVA SE
As a prerequisite we need to install JDK 1.6 or JDK 1.7. Java SE can be downloaded from http://tinyurl.com/downloadjdknew
We can download and install Java SE 6 or Java SE 7. To see JAVA SE installation guide please visit http://tinyurl.com/javasenew
Verify JAVA SE installation
After completing JAVA SE installation, we need to execute the command java -version to verify the validity of the installation:
Installing JBoss AS7
To install JBoss AS 7, we need to download JBoss application server, it can be downloaded from the community site for free: http://tinyurl.com/rcjbossas
Download any version preferably with Final, as part of version name.
Installing JBoss AS very simple and straight forward: it is in fact simply unpacking the archive jboss-as-7.1.1.Final.zip.
Users on windows platform can simply use any un-compression utility, (i.e. WinZip, or WinRAR). Unix /Linux users should use unzip shell command that would explode the archive:
$ unzip jboss-as-7.0.2.Final.zip
Caution: Unix/Linux users should know that JBoss application server does not need root privileges as the default ports used by JBoss are under the port range of 1024. To minimize the hazard of users getting root privileges by the JBoss, make sure you install & run JBoss as a user other than root.
Starting up JBoss AS
Once JBoss is uncompressed, we will perform a startup test to confirm that there are no issues with our Java VM/operating system etc. To verify our JBoss installation, get into the bin directory of JBOSS_HOME and run the command:
Following is a JBoss AS 7 startup screen for sample:
Command shown above starts up a standalone instance of JBoss that’s like starting an application server with run.bat/run.sh script used by older JBoss releases.
You can validate that the server is up and running from any device accessible from network by pointing your browser to the application server on port 8080, as the server runs on this port by default.