JBoss installed into the Windows service and its uninstall

Source: Internet
Author: User
Tags jboss

First, install JBoss as Windows service

1: To Http://www.opencrx.org/downloads/JavaService-bin-1.2.0.zip download Javaservice, decompression.

2: Add jboss_home environment variable, directory point to JBOSS home directory, copy JavaService.exe to%jboss_home%/bin/jbossservice.exe.

3: Enter%jboss_home%, create a Runservice.bat file
The contents are as follows:
%jboss_home%/bin/javaservice.exe-install Jbossservice%java_home%/jre/bin/server/jvm.dll- Dorg.openmdx.compatibility.base.application.j2ee.domain=apps- dorg.openmdx.compatibility.base.application.j2ee.server=server1-djava.protocol.handler.pkgs= org.openmdx.kernel.url.protocol-dorg.openmdx.log.config.filename=%jboss_home%/server/default/ Server.log.properties-dmail.sslsocketfactory.class=org.opencrx.kernel.mail.sendmailsslsocketfactory- dprogram.name=run.bat-djava.class.path=%java_home%/lib/tools.jar;%jboss_home%/bin/run.jar-xms128m-xmx500m- Start Org.jboss.Main


4: Run Runservice.bat, and then cmd Run net start Jbossservice can start this service.

Second, binding IP address deployment

To modify the address= "${jboss.bind.address}" of the connector node in%jboss_home%/server/default/deploy/jboss-web.deployer/server.xml property, change to Address= "0.0.0.0". Then enter Http://ip:port to see the JBoss Welcome page.

Iii. Uninstall of JBoss Service

1: Build a Uninstallservice.bat content as follows:
Jbossservice.exe-uninstall Jbossservice

2: Run Uninstallservice.bat file can implement JBoss service uninstall

Related Article

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.