How to solve java.lang.OutOfMemoryError: GC overhead limit exceeded

The error “java.lang.OutOfMemoryError: GC overhead limit exceeded” is fairly common for old JDK (mostly JDK 1.6 and JDK 1.7) . Let’see how to solve it. According to the JDK Troubleshooting guide, the “java.lang.OutOfMemoryError: GC overhead” limit exceeded indicates that the garbage collector is running all the time and Java program is making very slow progress. … Read more

Installing WildFly on Mac OS X

The easiest way is to install WildFly on Mac OS X is through Homebrew the free open-source package managment system. Requirements: install homebrew first. ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” < /dev/null 2> /dev/null Then, install WildFly as follows: $ brew update Already up-to-date. $ brew search wildfly wildfly-as $ brew install wildfly-as ==> Downloading https://download.jboss.org/wildfly/16.0.0.Final/wildfly-16.0.0.Final.tar.gz … Read more

Solving jboss.network.management: failed to resolve interface management

In this tutorial we to solve the issue “jboss.network.management: failed to resolve interface management“ This issue can be verified if you try to assign an IP address to a standalone server. For example: $./standalone.sh -b=192.168.10.1 -bmanagement=192.168.10.1 However we get the following error: ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.network.management: org.jboss.msc.service.StartException … Read more

Getting to know WildFly folder structure

In this tutorial we will learn the basic folder structure of WildFly application server. Let’s begin from the root folder: appclient: Configuration files, deployment content, and writable areas used by the application client container are run from this installation. bin: Contains startup scripts and also scripts for installing WildFly as a service and libraries for … Read more

Configuring WildFly upload file size

If you implement a file upload in your web front end and want to send the data to the WildFly with HTTP POST, the WildFly will put a stop to it as soon as a certain file size is exceeded. The default value for the size of a POST request is 10MB. So how to … Read more

Managing exploded deployments in WildFly

An exploded deployment is an application which is not packaged in a .war, .ear or .jar file but it’s contained in a directory using these extensions (.ear, .war, etc.). Exploded deployments are not deployed by default by WildFly. If a directory with a standard extension (.ear, .war, etc.) is placed in the deployments directory, a … Read more

Configuring HTTP Basic Authentication with WildFly

In this tutorial we will learn how to configure HTTP basic authentication with WildFly. Basic authentication is a simple authentication policy built into the HTTP protocol. The client sends an HTTP request with the Authorization header that contains the word Basic word followed by a space and a base64-encoded string username:password. As an example, in … Read more

How to bind WildFly to an IP address

This tutorial discusses how to set WildFly bind address using command line arguments and the configuration file. It applies to all WildFly versions and JBoss EAP as well. WildFly application server and JBoss EAP include two network interfces . There are two interfaces: “public” and “management”: <interfaces> <interface name=”management”> <inet-address value=”${jboss.bind.address.management:127.0.0.1}”/> </interface> <interface name=”public”> <inet-address … Read more

EJB 3 tutorial for Enterprise developers

EJB 3.1 is now available as early draft and brings lots of interesting improvements, making life lots easier for developers. Let’s see five major innovations introduced by EJB 3.1 specifications. EJB 3 top picks EJB 3.0 was designed around the concept of ease of development for users. Now designing an EJB application is much easier … Read more

Deploy your Spring Boot applications on OpenShift

[Updated!] Spring Boot is a new paradigm for developing Spring applications with more agility while focusing on your business methods rather than the thought of configuring Spring itself. In this tutorial we will learn how to deploy a Spring Boot application on Openshift Container Platform. First of all, we will need a Spring Boot application … Read more