How to install WildFly server in cloudjiffy

wildfly logo

WildFly is a modern, flexible, lightweight and managed application runtime, which is written in Java and implements the latest standards and technology of the Java Platform Enterprise Edition (Java EE) specification. WildFly is entirely free and open-source, available to be run on multiple platforms.

Among the main features of this application server:
  • customizable runtime based on the pluggable subsystems, which can be integrated or removed on demand
  • Java EE8 support to implement the latest enterprise Java standards in easy to consume framework
  • modular approach with an ability to start each service in isolation
  • fast, lightweight and optimized for ultimate performance

To create a WildFly application server for Java project hosting within CloudJiffy PaaS, follow the simple steps below.
 
Creating WildFly Server
 
1. Log in to my CloudJiffy account and click the New Environment button in the upper left corner of the dashboard.
 

2. In the opened environment topology wizard, navigate to the Java tab and select WildFly  from the list of available application servers. Then, specify the allocated resources limit using cloudlet sliders, choose a region and edit the name of my environment.

Notes:

  • WildFly is not compatible with Java 6 and 7; therefore these versions are not available
  • due to the minimal WildFly resources requirements, it is strongly recommended to allocate more than 1 cloudlet for this node. Otherwise, I can experience low server performance and even its failure
  • WildFly can be launched in the Standalone mode using the configuration file defined in the STANDALONE_MODE_CONFIG environment variable
  • CloudJiffy provides out-of-box support of the WildFly servers Auto-Clustering in the Managed Domain mode via the appropriate switcher in topology wizard

Click the Create button when ready.

3. Wait for a couple of minutes for the environment to be created and click the Open in Browser button next to it.
 


4. The WildFly default welcome page lists some useful links to help me get started.

In order to access the WildFly Administration Console, click the appropriate link or get the URL from the email (received after server creation) alongside other access credentials. Also, you can establish an SSH connection to your WildFly server and use the WildFly CLI inbuilt utility for managing.

Standalone Mode

The WildFly application server is run in the “standalone” mode by default so that each instance is an independent process based on the configuration file defined via the STANDALONE_MODE_CONFIG environment variable.

There are four certified profiles for standalone mode:
  • standalone.xml (default) - configurations for Java Enterprise Edition 8 Web with the required technologies
  • standalone-full.xml - configurations for Java Enterprise Edition 8 Full with all the EE 8 technologies
  • standalone-ha.xml - configurations for Java Enterprise Edition 8 Web with high availability
  • standalone-full-ha.xml - configurations for Java Enterprise Edition 8 Full with high availability

In the case of using the HA configs (the last two options), the jgroups protocol is used for messaging between nodes. It is configured to use the authorization with the MD5 token and asymmetrical encryption by default. Such an implementation prevents non-authorized nodes from being able to join a cluster and non-members from communicating with cluster members.

Note: It is highly recommended to change the default auth_value parameter within my standalone HA configuration file on the production environments.
This concludes our tutorial on the WildFly server installation! Now, I can configure it in a way I need and proceed to the application deployment.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 10205