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

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

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

    隨筆 - 3, 文章 - 1, 評論 - 0, 引用 - 0
    數(shù)據(jù)加載中……

    讓JBoss變成Windows的服務(wù)!

    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)  編輯  收藏


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


    網(wǎng)站導(dǎo)航:
     
    主站蜘蛛池模板: 午夜私人影院免费体验区| 99精品全国免费观看视频| 亚洲真人日本在线| 成年网在线观看免费观看网址 | 久久综合日韩亚洲精品色| 一级午夜免费视频| 亚洲熟女乱综合一区二区 | 一级特黄录像免费播放肥| 亚洲中文字幕无码爆乳av中文| 免费国产黄网站在线看 | 亚洲美女激情视频| 久久www免费人成看片| 亚洲不卡在线观看| 在线成人a毛片免费播放| 国产精品日本亚洲777| 亚洲五月午夜免费在线视频| 你懂的网址免费国产| 久久久无码精品亚洲日韩按摩| 色影音免费色资源| 亚洲国产精品日韩av不卡在线| 亚洲A∨午夜成人片精品网站 | 亚洲一区二区三区免费观看| 亚洲精品午夜国产va久久| 波多野结衣久久高清免费| 精品人妻系列无码人妻免费视频| 国产亚洲精品a在线观看app| 1000部无遮挡拍拍拍免费视频观看| 亚洲av成人综合网| 亚洲福利在线播放| 午夜精品一区二区三区免费视频| 激情综合亚洲色婷婷五月| 无码欧精品亚洲日韩一区夜夜嗨| 日韩精品无码免费专区网站| 亚洲免费视频播放| 亚洲男人av香蕉爽爽爽爽| 久久午夜免费鲁丝片| 含羞草国产亚洲精品岁国产精品| 亚洲国产日韩在线视频| 24小时日本在线www免费的| 国产va免费精品| 亚洲入口无毒网址你懂的|