WildFly fails to start: how to solve it

Do you have issues when starting WildFly ? This tutorial will teach you how to troubleshooting issues when WildFly fails to start. Let’s see some possible causes of failure in starting WildFly Application Server: Port already in use: This is one of the most common issues that could happen if you are starting WildFly on … Read more

Configuring max-post-size in WildFly

This tutorial will teach you how to configure the max-post-size in WildFly application server. Out of the box, the default max-post-size can be checked by the following CLI command, which queries the http listener: /subsystem=undertow/server=default-server/http-listener=default:read-resource(include-runtime=true) { “outcome” => “success”, “result” => { “allow-encoded-slash” => false, “max-parameters” => 1000, “max-post-size” => 10485760L, “max-processing-time” => 0L, “url-charset” … Read more

Building Microservices from WildFly applications

This tutorial is about building Microservices applications for WildFly developers. The main objective of this tutorial is to discuss the key challenges and solutions around building Microservices using Enterprise API in the Enterprise application environment. Microservice architecture is one of the most widely discussed and adopted architecture pattern in the modern IT Industry. With the … Read more

REST Services Cheat sheet

Here is a comprehensive JAX-RS Cheatsheet to help you code your REST Services. JAX RS-Annotations @Path: Path to annotate a method or a Class with the resource path it represents. For instance: @Path(“/hello”) public class CustomerEndpoint { } @Produces: To specify the output type that the resource produces, or in a narrower scope the type … Read more

Installing Kogito BPMN plugin for Chrome

Let’s see in this quick drill how to install the Kogito BPMN plugin for Chrome. At the end of it, we will be able to edit BPMN files directly from a Github repository Installing Kogito plugin for Chrome is quite simple. First off, download the plugin latest version from: https://github.com/kiegroup/kogito-tooling/releases (scroll at the bottom of … Read more

Getting started with Kogito Business Automation

Kogito is an advanced business automation toolkit that derives from the Open Source projects Drools and jBPM. Kogito aims at providing another approach to business automation where the main message is to expose your business knowledge the cloud and the larger Kubernetes ecosystem. There are already several implementations for Kogito, today we will learn how … Read more

Setting WildFly Home Directory

WildFly HOME Directory is determined by the variable JBOSS_HOME. Therefore, in order to set it on a Linux Machine you need to: $ export JBOSS_HOME=/home/francesco/jboss/wildfly-17.0.0.Final For Microsoft Windows, from the Windows Start Menu, select Settings, select Control Panel, select System, select Advanced, then select Environment Variables. Click New. In the Variable Name field, enter JBOSS_HOME. … Read more

WildFly Hello World example application

In this tutorial we will learn how to create a simple Hello World JAX-RS application for WildFly using just Maven and the Command Line. Pre-requisites: You need a WildFly application server. Read here how to get started with it: Getting started with WildFly Next, we will create a project using a Maven archetype to bootstrap … Read more

Configuring High Availability with WildFly

High Availability in WildFly serves the purpose to guarantee the availability of Java EE application. As the number of request for an application increase, there are two potential issues: Failure of the application, if the only node where it runs crashes. Delays in serving requests, if the server is unable to handle the load. In … Read more

How to shutdown WildFly gracefully

This tutorial shows how you can shutdown WildFly gracefully. WildFly can be suspended or shut down gracefully. This allows permits running requests to complete normally, without accepting new requests. Moreover, you can specify a timeout to define how long the suspend or shut down operation will wait for active requests to complete. You can shutdown … Read more