JBoss log4j configuration

This tutorial has been written for older versions of the application server (JBoss AS 4/5/6). A more recent tutorial about Log4j has been written here: Using Log4J with WildFly and JBoss EAP JBoss AS uses log4j as logging framework. This tutorial will show how to configure log4j service in your jBoss application server and also how … Read more

Infinispan tutorial for beginners

Warning: this tutorial has been written for an old version of Infinispan and it’s now obsolete. We recommend to check the following tutorials to get started quickly with Infinispan: What is Infinispan ? a quick introduction Getting Started with Infinispan data grid -the right way Clustering Infinispan made simple In this tutorial we will cover … Read more

Solving JBoss 5 classloading issues

A common issue for many developers is how to solve Classloader issues, which are usually masked by strange errors like ClassCastException. Let’s see a concrete example, how to solve this issue for Web applications. The Classloading problem boils down to the fact that you have added in your deployment unit (Ex. WAR file) some libraries which … Read more

Developing Portlets with JBoss Portal

Please note: the JBoss Portal project is now archived and no longer maintained. As an alternative, we recommend checking alternative solutions: JSF technology Primefaces framework Develop a REST application using WildFly and AngularJS JBoss Portal is an open source platform for hosting and serving a portal’s Web interface, publishing and managing its content, and customizing … Read more

JBoss 5 Alarm configuration

Please note: this tutorial has been written for JBoss AS 5 and it’s therefore obsolete. If you want to configure alarms and metrics for WildFly application server we recommend checking this tutorial: Monitoring WildFly with Prometheus An Alarm indicates that an event (generally an error) has happened in the system. In this article we’re going … Read more

IceFaces tutorial for JBoss developers

ICEfaces provides a rich web presentation environment for JavaServer Faces (JSF) applications that enhances the standard JSF framework and lifecycle with Ajax-based interactive features. In this tutorial we will learn how to deploy a simple IceFace application on JBoss 5. The primary goal behind the ICEfaces architecture is to provide the application developers with a … Read more

JBPM 4 tutorial

This tutorial has been written for an old version of jBPM which is now deprecated. If you want to get started quickly with jBPM, we recommend the following quickstarts: jBPM 7 tutorial: getting started with the opensource BPM Developing a jBPM 7 Web application example Design jBPM Processes with Eclipse designer plugin Getting started with … Read more

How to solve Classloader issues in JBoss 4 and 5

By default JBoss 4 and JBoss 5 uses a flat class loading model that avoids the need to redundantly include classes in different layers.  WAR files would only have the web contents and servlets, EJBs their interfaces, implementations and types, etc. From 4.0.2 JBoss has changed to the Servlet spec classloading model, i.e. it uses … Read more