<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆 - 3, 文章 - 1, 評論 - 0, 引用 - 0
    數據加載中……

    讓JBoss變成Windows的服務!

    http://javaservice.objectweb.org/
    Example (JBoss 3.0)

    The JBoss server software provides a Java run-time environment that can be used for JSP and J2EE applications. In this use, it often needs to be run as a Windows NT System Service, for which the JavaService utility is designed. Depending on configuration, JBoss may require that an associated database server is already running, which should be set up as a Windows NT Service dependency, with the example below set up against the MySql database. {JDK_HOME} is the location of your JDK and {JBOSS_BIN} is the location of your JBoss binaries installation. These instructions are based on information in the JBoss 3.0 quick-start guide, but are in any case provided 'as is'.

    1. Copy the JavaService.exe file into the {JBOSS_BIN} directory as JBossService.exe.
    2. Start a command prompt and change to the directory {JBOSS_BIN}.
    3. Run the following command:
      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}\stdout.log
      -err {JBOSS_BIN}\stderr.log
      -current {JBOSS_BIN}
      -depends mysql
      -manual
      -overwrite
      -startup 10
    4. To remove the registered service, run the following command from the same directory:
      JBossService.exe -uninstall JBoss

    The JBoss service can then be started by issuing the following command, which will also start the MySql service beforehand if it is not already running:
    net start jboss

    The service can then be stopped by issuing the following command:
    net stop jboss

    posted on 2006-01-15 00:58 漢尼 閱讀(700) 評論(0)  編輯  收藏


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 国产高潮流白浆喷水免费A片 | 四虎影视精品永久免费网站| caoporn成人免费公开| 色噜噜亚洲男人的天堂| 亚洲日韩一页精品发布| 国产免费私拍一区二区三区| 四虎免费影院ww4164h| 国产精品免费久久久久影院| 国产精品亚洲专区无码WEB| 亚洲中文字幕久在线| 亚洲免费在线视频| 国产日产亚洲系列| 国产一精品一aⅴ一免费| 久久久久国色AV免费看图片| 在线a免费观看最新网站| 在线看片免费人成视频福利| 一区二区三区免费视频网站| 最新亚洲人成无码网www电影| 亚洲狠狠ady亚洲精品大秀| 亚洲国产成人久久综合碰碰动漫3d | 永久免费A∨片在线观看| 国产福利在线观看永久免费| 国产精品观看在线亚洲人成网| 亚洲日本va一区二区三区| 亚洲国产熟亚洲女视频| 亚洲色精品VR一区区三区| 亚洲AV无码精品蜜桃| 午夜在线a亚洲v天堂网2019| 亚洲五月综合网色九月色| 亚洲国产精品综合久久网各| 亚洲嫩草影院在线观看| 亚洲最大视频网站| 亚洲AV成人无码天堂| 亚洲色欲色欲www在线播放| 亚洲精品人成网线在线播放va | aⅴ在线免费观看| 亚洲一级毛片免费看| 成人免费在线看片| 两性刺激生活片免费视频| 免费观看黄网站在线播放| 成年女人18级毛片毛片免费|