A Simple Method for dynamically deploying JBoss applications

Source: Internet
Author: User

In actual work, we often encounter this situation: we suddenly find that the factory system has a bug that must be modified. To fix this bug, we only need to modify a Java class, however, the application server runs multiple production systems at the same time and cannot be restarted easily. What should I do?

There is a simple method in JBoss as to use JMX-console. The specific steps are as follows:
* Log on to the JMX-console.
* Search for service = maindeployer
* Click Service = maindeployer to enter the mbean view.
* Find the listdeployedasstring method and click invoke. The system lists the applications deployed on the application server, finds the factory system to be dynamically deployed, and copies the strings after "url =;
* Return to the mbean view, find the redeploy method, paste the string copied in the previous step into the URL input box, and click invoke. The application server will redeploy the production system to be dynamically deployed;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.