...
Place resources under the <GlobalNamingResources>
element in tomcat's server server configuration file (<PRODUCT_
HOME>repositoryHOME>/repository/conf/tomcat/catalina-server.xml
in WSO2 products). Then, the resources can be referenced by linking them in the webapp's context.xml file. Global resources are visible to all webapps deployed in the server.
...