IBM Support

WebSphere Application Server Liberty profile applications with security configuration in the server.xml file must not be deployed in the dropins folder

Troubleshooting


Problem

If your application has security configuration in the []server.xml[] file under the []application-bnd[] element, such as []run-as[] or []security-role[] sub-elements, the application must not be installed in the []dropins[] folder.

Symptom

If your application is in the dropins folder, you will see the following error message:

CWWKZ0013E: It is not possible to start two applications called {0} 

This message is followed by unexpected security behavior and error messages such as CWWKS9104A. This occurs because at least two attempts have been made to install the application and the security configuration that is present in the server.xml file might or might not take effect.

Resolving The Problem

Remove your application from the dropins folder and copy it to another directory. If you have to leave it in the dropins folder, then you must also disable application monitoring by setting the following in your server.xml file:
<applicationMonitor dropinsEnabled="false"/>
.

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5.5;8.5","Edition":"Base;Express;Liberty;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5.5;8.5","Edition":"Base;Express;Liberty;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
06 June 2019

UID

swg21593236