Legacy Knowledge Base
Published Sep. 10, 2025

Autodeploying Plugins in WebSphere With Liferay 6.1 EE GA2

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.
Starting with Liferay Portal 6.1 EE GA2, plugins can be autodeployed to WebSphere. As a part of the Liferay autodeploy process, the Liferay platform will call the Websphere's wsadmin script interface to deploy the plugin using a Jython script.

In a Standalone WebSphere installation, there is no need to do anything else in the WebSphere Integrated Solutions Console (ISC). However, in a Network Deployment installation, some extra steps have to be done in the WebSphere ISC.

Resolution

1.Change in the following portal-ext property, adapting it to your Websphere's server name. By default, it is set to server1:

auto.deploy.websphere.wsadmin.app.manager.query=type=ApplicationManager,process=server1,*


In a Network Deployment installation, you should set the name of your Deployment Manager server:

auto.deploy.websphere.wsadmin.app.manager.query=type=ApplicationManager,process=dmgr,*

2. If security is enabled in your WebSphere installation, set the credentials for the Administrator user in the connector's properties file. This will allow the connection from wsadmin to the server to be succesful.
Usually, WebSphere uses SOAP connections from wsadmin to the server. In this case, set these properties in the soap.client.props file:

com.ibm.SOAP.loginUserid=wasadmin
com.ibm.SOAP.loginPassword=password

3. Copy your plugin to Liferay's deploy directory.

4. In a Standalone installation, the deployment is complete. The plugin will be deployed as a Web application into WebSphere and then start.

In a Network Deployment installation, the plugin will de deployed and started in the Deployment manager server. From the Websphere ISC, change the scope of the application to the servers where Liferay is installed.

Additional Information

In a Linux environment, these new features only work with a patch provided by support.

If a plugin needs to be redeployed, the wsadmin Jython script included in the Liferay platform expects the plugin to be started. If the plugin is stopped at Websphere ISC, the autodeploy will fail.

Did this article resolve your issue ?

Legacy Knowledge Base