Deploy applications to middleware servers (JBoss EAP, WildFly, Tomcat) with the IntelliJ IDE extension

In this learning path by Rob Stryker, you will learn how to deploy applications to multiple application servers via Tomcat, JBoss Enterprise Application Platform (JBoss EAP), and Wildfly with the IntelliJ IDE extension.

There are two remaining main features to consider: 

  • The ability to edit the the Runtime Server Protocol (RSP)’s representation of the server and the properties that control the server.  
  • The ability to run any server-specific actions that the tooling exposes for clients. 

Edit the server

Right-click your chosen application server and select Edit Server. You will see something that looks like Figure 21.

A server definition in JSON form.
Figure 21: A server definition in JSON form.

This is where you can override: 

  • Start arguments 
  • VM arguments
  • The base directory 
  • Which VM is used to run the server 
  • Any other property 

Remember, the overrides are only for editing the descriptor in charge of how the RSP tooling controls the underlying server. Changes to this file don’t actually make any persistent changes to the underlying Tomcat instance. 

For example, the host and port combination indicate what host and port the RSP should use to connect to the Tomcat server and verify it’s up and running. These fields do NOT change what host or port on which the underlying Tomcat instance is configured to run. You will need to modify the underlying Tomcat instance to make those types of changes. 

Server actions

The server actions dialog will vary depending on what server type you control. In Tomcat, it will look like Figure 22.

Server actions on a Tomcat server.
Figure 22: Server actions on a Tomcat server.

Depending on the type of server for which it’s being requested , each action shown in this window will have different types of reactions. Some may open a web browser. Some may help you modify a configuration file. Some may run commands via the terminal.

 

Conclusion

Congratulations. You've completed the learning path.

Previous resource
Deploy an application via RSP

Deploy applications to middleware servers (JBoss EAP, WildFly, Tomcat) with the IntelliJ IDE extension

In this learning path by Rob Stryker, you will learn how to deploy applications to multiple application servers via Tomcat, JBoss Enterprise Application Platform (JBoss EAP), and Wildfly with the IntelliJ IDE extension.