WildFly = JBoss
Install JBoss 7.0.2 Application Server on on Ubuntu 12.04 LTS and Ubuntu 12.10 Ubuntu 11.10 or Ubuntu 11.04 or Ubuntu 10.10 or Ubuntu 10.04 LTS
Application Server vs. Web Server
Application Servers in Java, .net and PHP
Application Server is a framework that provides execution environment for application written in specific Programming Language.
JBoss is an Open Source Java EE based Application server developed by Redhat which operates on Cross Platform. It supports Servlet Specification 3.3 and JSP specification of 2.2.
JBoss Application Server (Source: JBoss)
Before you install JBoss you’ll want to make sure that you’ve installed Java.
Use Synaptic Package Manager to install Java.
Use Synaptic Package Manager to install Java
Synaptic Package Manager installing Java
JBoss is distributed under LGPL; LGPL is a free software license published by the Free Software Foundation (FSF). It was designed as a compromise between the strong-copyleft GNU General Public License or GPL and permissive licenses such as the BSD licenses and the MIT License.
Red Hat charges to provide a support service for:
- ·Java Server Pages
- ·Java Servlet
- ·JBoss Web ServicesS
- ·Load balancing
- ·Aspect-oriented programming (AOP) support
- ·Deployment API
- ·Distributed caching (using JBoss Cache, a standalone product)
- ·Distributed deployment (farming)
- ·Enterprise JavaBeans versions 3 and 2.1
- ·Failover (including sessions)
- ·Hibernate integration
- ·Java Authentication and Authorization Service (JAAS)
- ·Java EE Connector Architecture (JCA) integration
- ·Java Management Extensions
- ·Management API
- ·OSGi framework
- ·SOAP with Attachments API for Java
- ·Teiid data virtualization system- Teiid is a data virtualization system that allows applications to use data from multiple, heterogeneous data stores.
Java SE 6 or later
Extract the file into usr/share/
Extract files from JBoss Archive
Extracting files from JBoss Archive
Extracted files for JBoss Standalone installation
Now, Lets Test it…If we haven’t installed Java then we will get an ERROR.
Java not Found Error in JBoss installation
Now lets open Jboss in Web Browser
JBoss Application Server 7
Lets Verify the Admin Console
JBoss Application Server 7 Admin Console
Start JBoss 7 as a service on Ubuntu
Previous versions of JBoss included a scripts (like jboss_init_redhat.sh) that could be copied to /etc/init.d in order to add it as a service – so it would start on boot up. I can’t seem to find any similar scripts in JBoss 7.
If you have copied from other editor or any web page then you will find some unwanted character in the file which will give you error when you will try to run the script.
Error: Bad Interpreter…
Verify Interpreter by “which sh” command in console
Result will be /bin/sh
Then verify the script openining it in VI editor.
Error: JBoss 7 as a service on Ubuntu
Remove all unwanted Characters
JBoss 7 as a service on Ubuntu
JBoss 7 as a service on Ubuntu – Save Changes
Restart the Machine and try following
Restart JBoss Service