A close look inside Infinispan Distribution mode

What you like to have a close look over the Infinispan distribution of data in your JBoss EAP 6 / WildFly cluster? I’ll tell you how to do it. The default algorithm used by WildFly application server for clustering is based on the Infinispan distribution. This means that cache entries are copied to a fixed … Read more

Useful CLI scripts in Domain mode

When running in Domain mode using the CLI can be tricky as you have to understand where your resources are located in the application server tree. Let’s see some practical examples: How to configure a resource in a Domain You have to reference the profile you are using. Example: /profile=full/subsystem=ejb3/thread-pool=default:write-attribute(name=max-threads,value=10) How to reach a resource available … Read more

Categories CLI

WildFly 8 corso di amministrazione

Siamo orgogliosi di presentare il primo corso in Italia di WildFly 8 Administration & Configuration! In 3 giorni intensi di corso potrete scoprire tutte le caratteristiche del più avanzato application server sul mercato Java Enterprise ed eseguire l’upgrade delle vostre applicazioni alla nuova release del server.     Vuoi pruomuovere l’evento sul tuo blog ? Contattaci … Read more

Custom pool configuration for your EJBs on JBoss AS 7/WildFly

Stateless session beans are held in a pool which can be configured at EJB Container level. You can define as many pool configuration as you want and then decide which one to use for your EJB container. One thing which if often requested is to apply some specific settings for a particular EJB. With JBoss … Read more

Dynamic PrimeFaces detail forms

In my last post – Dynamic PrimeFaces Datatables –     I have explained how to use Java Reflection to dynamically generate PrimeFaces DataTables. In this article we are going to use the same technique to create dynamic detail forms. In our following examples we will use the DynaForm component of the PrimeFacex Extensions project. As you … Read more

How to create a Custom JBoss Login Module

This tutorial is a simple walk through the creation of a custom Login module with JBoss EAP 6 / WildFly application server. Note: If you want to develop a custom login module on the latest security infrastructure (Elytron) we recommend checking also this tutorial: How to create a custom Elytron Realm Getting Started with PicketBox … Read more

Configuring a MongoDB Login Module

Creating a Login Module with JBoss AS 7 or WildFly can be done by extending some of the available PicketBox Login modules. See this tutorial for a quick introduction to Custom Login modules: Creating a Custom JBoss Login Module. Here we will learn how to create a custom Login Module which used MongoDB for performing … Read more

How do you set logging verbosity with JBoss 5 ?

The amount of logging is controlled by categories. Categories are named entities, which follow a hierarchical naming rule similar to Java packages. For example, the category named com.sample is a parent of the category named com.sample.Test . Similarly, java is a parent of java.util and an ancestor of java.util.Vector. Let’s see some samples of categories: … Read more

Java Web Start on WildFly / JBoss EAP

This tutorial is an update of How to deploy Java Web Start Applications on JBoss tested on JBoss EAP 6 and WildFly. I have decided to update the older tutorial as a few changes are needed to run Java Web Start applications on newer versions of the application server. First of all, we will create a Web … Read more