How do I install JBoss under Windows NT as a service? (How to install JBoss as Windows NT OS Service?)

Source: Internet
Author: User
Tags manual log jboss
Window Most of the cases, we are running JBoss continuously, how to ensure that it is not subject to external interference and continue to run will not be closed? Under the Unix/linux, the shell should be complete then under Windows? In order to achieve this, JBoss must be installed as a system service, and JBoss itself or Windows itself does not provide a way to install the service to achieve this need to use another method. Like write your own C + + program call Windows API this might be a waste of time now open Source project already has support for this. http://javaservice.objectweb.org/Here you can download the Javaservice package after the download, in the unpacked directory, There are bin and docs two directories under the Doc directory to have description.html this file open, find example (JBoss 3.0) according to its description step-by-step to complete. Note: The Windows operating system that installs the service must be NT core for example: NT XP 2003 all right, but Win98. In the third step of the explanation, some places need to change the Jbossservice.exe-install jboss{jdk_home}\jre\bin\{hotspot|server| Classic}\jvm.dll-djava.class.path={jdk_home}\lib\tools.jar; {Jboss_bin}\run.jar-start org.jboss.main-stop org.jboss.main-method systemexit-out {JBOSS_BIN} tdout.log-err {JBOSS_ BIN} tderr.log-current {jboss_bin}-depends mysql-manual here {jdk_home} to replace your actual JDK path {Jboss_bin}: This is replaced by the actual After the path to the JBoss Bin directory is completed, you will be prompted to say that it has been installed successfully---if it has not been installed before but this time the service is manual, if you want to automatically run the JBoss service, you can go to the Control Panel--> management tools--> service to find JBoss, Modify its Startup type

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.