Legacy Knowledge Base
Published Sep. 10, 2025

Deploying Plugins via Administration Console

Written By

Michael Wine

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How to articles!

While we make every effort to ensure this Knowledge Base is accurate,it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable.

There are multiple application servers that allow users to deploy plugins via an administration console of some sort. This is helpful for many applications, especially in a cluster, but with Liferay plugins an extra step must be taken to ensure proper deployment.

Resolution

JBoss (or any application server that uses an administration console)

During a hot-deploy process Liferay adds extra content to the portlet's war file. If the portlet skips the hot-deploy feature (like the case of the administration console) then that additional information will be missing.
 
The administration console may still be used with Liferay, and may be accomplished with the following steps:
 
1) Enable Liferay's hot-deploy feature
  • Note the deployments directory (where the expanded war files will be stored)
Below are the relevant portal-ext.properties:
auto.deploy.enabled=true
auto.deploy.unpack.war=false
auto.deploy.jboss.dest.dir=[For JBoss, the destination directory for the repackaged .war file]
 
2) Hot-deploy the plugin (to Liferay's deploy folder).
3) Retrieve the modified war file in the destination directory specified above.
4) Upload the modified war file as a regular web application and continue with the deploy process as usual.
 

Additional Information

When JBoss is in "Domain Mode", it does not use a"deployment scanner", (a directory where the server monitors for applications to deploy) like other common application servers.
 
In this case, a user may deploy the plugin to a bundle (via the deploy folder), compress the output into a .war folder, and then deploy this repackaged .war file.
Did this article resolve your issue ?

Legacy Knowledge Base