How to manage JBoss / WildFly remotely

In this article we will learn how you can manage a JBoss / WildFly application server remotely. There are several alternatives to access a running JBoss / WildFly server remotely. Prerequisites First, set the IP Address to your machine’s address As an alternative, you can use the address which will use all the … Read more

How to manage tmp and data folder in WildFly

WildFly / JBoss EAP application storage is contained under each server installation. For standalone mode that means:

├── configuration
├── data
├── deployments
├── lib
├── log
└── tmp

As you start deploying applications, you will see that the folders “data”, “log” and “tmp” start growing. In this tutorial we will learn how to manage the storage of the application server and which files or folders are safe to be deleted.

Read more

Mail session configuration on WildFly

In this simple tutorial we will show how to use the Java Mail service from WildFly – JBoss EAP, either connecting to a local SMTP server or using Google SMTP server. Let’s start configuring JBoss Mail service on WildFly, then we will see how to configure the service on older application server versions. WildFly Mail service configuration … Read more

Top JBoss Interview questions (2021)

Are you going for a JBoss / WildFly interview ? here is a comprehensive list of JBoss / WildFly interview questions that will shake up your hiring! General JBoss interview questions Q: Name all possible ways you are aware of to start WildFly application server At least four ways: Option 1) Download and unzip WildFly … Read more

Cannot connect to WildFly CLI? a simple way to solve it

One common issue when you are starting to use WildFly is the following issue. You have tried connecting to the CLI: $ ./ -c However the following error is returned: Failed to connect to the controller: The controller is not available at localhost:9990: WFLYPRT0053: Could not connect to remote+http://localhost:9990. The connection failed: WFLYPRT0053: Could … Read more

How to increase the Transaction Timeout in JBoss / WildFly

Transaction timeout in WildFly / JBoss can be configured in the transactions subsystem or at EJB level. When the transaction is configured in the transactions subsystem it will be the default transaction timeout for all JTA transactions. When configured at EJB level, the timeout will be specific of that EJB. Configuring Transaction timeout in the … Read more

Reading properties from a configuration folder in WildFly

There are several approaches for reading properties from a directory in WildFly. We will show in this tutorial two alternative solutions: Reading properties from a file using MicroProfile Config API The recommended solution for Microservices deployments is to use the Eclipse MicroProfile Config which is a solution to externalise configuration from microservices. The config properties … Read more

How to configure JBoss to bind to a different IP ?

If you want to change the jboss.bind.address property use the “-b” option in when calling the JBoss startup script ( or run.bat in the bin directory). On WildFly and JBoss EAP you can bind the public interfaces using: -b On the other hand, you can bind Management Interfaces using: -bmanagement Older JBoss versions (4-5-6): … Read more

How to set System properties in JBoss / WildFly ?

In this tutorial we will cover how to load System Properties from applications running on WildFly Application Server. There are mainly three strategies to load System Properties in WildFly: Add the System Properties as JVM arguments to the start up script Include the Properties in WildFly Configuration Include the Properties in a module of the … Read more

Find out the JBoss version you are running

Apparentely this seems a silly question, however at a job interview you might be surprised to hear the question: “How to check the JBoss version you are running ?“. Firstly, if you have access to the server logs, this information is printed in the server.log file at startup: 2021-09-01 15:50:45,107 INFO [] (MSC service thread … Read more

Exit mobile version