In agile development practices, developers need to integrate their work frequently to fix bugs or to create a new feature or functionality. To integrate all work efficiently and verify it is an error-prone and time-consuming manual task. Jenkins is used specifically for continuous integration, helping to enforce the principles of agile development. Continue reading “Jenkins Essentials: Continuous Integration – setting up the stage for a DevOps culture”
Liferay Portal is an open source enterprise portal for building websites and web applications written in Java and distributed under the GNU Lesser General Public License and commercial license. It is a web platform with features commonly required for the development of websites and portals by assembling portlets or gadgets onto a portal page. It has a capability to make things easier in development of websites that display diverse data depending on different roles such as admin and normal user. E.g. In college portal, admin, students, teachers etc. have different pages or sections available to interact.
Figure 1 – Liferay Portal
Liferay Portal is an enterprise web platform provides Self-Service Portals, Dynamic Web 2.0 Websites, Content & Document Management with Microsoft Office integration, Enterprise Collaboration, Identity and Access Management, Social Networking, Application Integration, unified document repository, Asset Publisher to display any data contained within the portal, to create workspaces for customer websites, intranets, collaboration platforms, and group websites. It also provides Text Editors with spell check and text styling capabilities, reusable templates for web pages and page sections, capabilities to add comments and notes into templates, User-Driven Workflow & Approval, Live Page Editing and Scheduling, Staging and Easy Website Planning, Document Conversion and Multi-File Uploads, Faceted and multi-tier Search, Multi language support, Dynamic Tagging, and SEO.
Liferay Portal is Java based and capable of running the JRE and an application server bundled with a servlet container such as Apache Tomcat 7.0.42 as of now.
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 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.
Before you install JBoss you’ll want to make sure that you’ve installed Java.
Use Synaptic Package Manager to install 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:
- ·JMS integration
- ·Java Naming and Directory Interface (JNDI)
- ·Java Transaction API (JTA)
- ·Java Authorization Contract for Containers (JACC) integration
- ·JavaServer Faces 1.2 (Mojarra)
- ·Jport subscription for JBoss Enterprise Middleware.
- ·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/
Now, Lets Test it…If we haven’t installed Java then we will get an ERROR.
Now lets open Jboss in Web Browser
Lets Verify the 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.
Remove all unwanted Characters
Restart the Machine and try following