Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
Undeploy web application
I am writing checking license for web application by Struts.
During deployment process in init(): i check license key.
I want to undeploy web application if license key is invalid.
Question: do you know how to undeploy web app? or can you show another idea about checking license in web app.
Thanks in advance,
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Log in or sign up to see answer
Become an EE member today
7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
This is good solution but i don't web application is still running while the license key is invalid. Do you have any way to undeploy web app (by command or any)?
HanDuong: I may not understand your question. Are you talking about an application on your own servers, or on your client's servers? ~Ray
I mean Web application on server.
I am using Struts to develop application.
Check license key in init () function. When license key is invalid, i call exit(); but this function will stop tomcat also. So i want to know what function can do this (i think there is no).
I think your solution above is a best one.
Thank you very much.
Your help has saved me hundreds of hours of internet surfing.
Plans and Pricing
Certified Expert Program
© 1996-2022 Experts Exchange, LLC. All rights reserved. Covered by US Patent