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