简体   繁体   中英

Tomcat server remote redeployement

We have a web app using Apache Shiro for security and deployed in a Tomcat 7 server, and an administration application in java swing. One of the purposes of the administration application is to manage urls access rights for users in the web application. When the rights are modified, the web app need to be redeployed. We are already using JMX to start/stop/reload the web app in Tomcat, but is there a way to redeploy the web app each time the shiro.ini file is updated?

The place where the shiro.ini file was apparently wrong (it was in the classpath root folder). We've just tried to move it to WEB-INF folder, and now, we don't need manual redeployement anymore. Just a reload of the web app eventually, and it is possible to do it with JMX.

Thank you dinesh707, you're comment helped us in some way.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM