How to deploy a custom JAR to the shielded-container-lib directory in my PaaS Environment
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.
Issue
- I would like to know how to deploy a custom JAR to the
shielded-container-lib directory of Tomcat in my PaaS environment.
Resolution
- In your Liferay Workspace, create the following directory structure:
liferay/configs/common/tomcat/webapps/ROOT/WEB-INF/shielded-container-lib.
- Copy your custom JAR file into the
liferay/configs/common/tomcat/webapps/ROOT/WEB-INF/shielded-container-lib directory.
- Deploy the
liferay service to your Liferay Cloud environment.
Additional Information
did-this-article-resolve-your-issue