How to Start, Stop and Restart WildFly

This guide contains some tips to teach you how to start, stop, restart WildFly application server. By the end of this tutorial, you will be able to effectively manage the lifecycle of your Wildfly server as needed. First of all, WildFly can be run in two modes: Standalone mode and Domain mode. Booting WildFly in … Read more

How to access WildFly Admin Console

This short tutorial will teach you how to access WildFly Admin Console also known as WildFly Management Console. WildFly Admin Console Default URL The default URL for WildFly Management Console is http://localhost:9990. Upon installation, you cannot connect to WildFly Management Console because there is no default Admin user for the Management Console. To add a … Read more

How to shut down WildFly remotely?

To shut down JBoss or WildFly remotely, you can use the JBoss Command Line Interface (CLI) or the Management REST API. In this tutorial we will show both approaches. Two ways to shutdown JBoss or WildFly remotely If you have a local JBoss/WildFly installation then you can use the local jboss-cli.sh script to connect to … Read more

Configuring Transactions (JTA) using JBoss / Wildfly

This tutorial discusses about configuring and monitoring transactions using the Java Transaction API(JTA) on Wildfly application server. Transaction overview Let’s start from some definitions: You can define a transaction as a group of operations that must run as a unit and can involve persisting data objects, sending a message, and so on. When the operations … Read more

Top JBoss Interview Questions (2023)

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 know to start WildFly application server You can do it in at least four ways: Download and unzip … Read more

How to configure WildFly naming subsystem

This tutorial shows how you can configure the naming subsystem in WidFly and older JBoss AS versions The Java Naming and Directory Interface (JNDI) is a Java API for a directory service that allows Java software clients to discover and look up data and objects via a name. Like all other Java APIs also, JNDI … Read more

How to check if JBoss is running?

There are several ways to check if JBoss / WildFly application server is running. In this short article we will cover them in detail. Starting the server and checking the status When you start the application server, a set of System Properties are attached to the Java process. This makes easy to detect which Java … Read more

Solving “javax.naming.Reference cannot be cast to”

Java applications often leverage Java Naming and Directory Interface (JNDI) for naming and directory services. However, encountering the “javax.naming.Reference cannot be cast to” error can be a perplexing challenge for developers. This error typically indicates a casting issue when working with JNDI references. In this article, we will explore common causes of this error and provide solutions to help you resolve it effectively.

Read more