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

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

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

    Java技術專區--Hilly

    http://blog.duyouyou.com
       :: 首頁 :: 新隨筆 :: 聯系 ::  :: 管理

    集成新版本Tomcat到JBuilder

    Posted on 2006-06-29 20:14 duyouyou.com 閱讀(396) 評論(0)  編輯  收藏 所屬分類: web技術

    Overview

    Step-by-step procedure for integrating Tomcat 5 with JBuilder X

    Details

    Note:

    This is not a supported or tested configuration. This is just a workaround to get the server running in JBuilder X. JSP debugging will not work with this solution.

    Steps:

    1. Tools | Configure Servers, select the Tomcat 4.1 server and click the Copy button. Change the name to Tomcat 5.0. Next, set the home directory to the root of the Tomcat 5.0 installation, and remove the entry in the Class list and add <TOMCAT_5.0_HOME>/bin/bootstrap.jar.

    ?

    2. File | New Project. Set server to Tomcat 5.0 and create a web module. This will trigger generation of the Tomcat 5.0 Servlet library.

    ?

    3. Tools | Configure Libraries. Edit the Tomcat 5.0 Servlet library and add the following jars :

    <TOMCAT_5.0_HOME>/common/lib/jsp-api.jar
    <TOMCAT_5.0_HOME>/common/lib/servlet-api.jar
    <TOMCAT_5.0_HOME>/bin/commons-logging-api.jar
    <TOMCAT_5.0_HOME>/common/lib/commons-el.jar

    Make a backup of this library (in your user home directory) as it gets regenerated when you create a new web module/JSP/servlet. Please make sure that you replace the library when you use any of the web gallery wizards.

    ?

    4. Set server for the project to Tomcat 5.0.

    ?

    5. If a "Tomcat" folder is not present under the project's root directory, create one (e.g. ../jbproject/untitled1/Tomcat). Next, create a directory named "conf" under this directory (e.g. ../jbproject/untitled1/Tomcat/conf). and create an XML file named server8080.xml. Sample server8080.xml is below. Please modify the appBase, docBase, and workDir, etc. according to your web module properties:

    ?

    <?xml version="1.0" encoding="UTF-8"?>
    <!--This comment marks this file as generated, so it may be deleted and regenerated at any time. To preserve manual changes to this file, delete this comment.-->
    <Server debug="0" port="8081" shutdown="SHUTDOWN">
    <Service name="Catalina">
    <Connector acceptCount="10" connectionTimeout="60000" debug="0" maxThreads="75" minSpareThreads="5" port="8080"/>
    <Engine debug="0" defaultHost="localhost" name="Catalina">
    <Host appBase="C:Documents and Settings<user name>jbprojectuntitled1Tomcatwebapps" debug="0" name="localhost" unpackWARs="true">
    <Context debug="0" docBase="C:Documents and Settings<user name>jbprojectuntitled1WebModule1" path="/WebModule1" reloadable="true" workDir="C:Documents and Settings<user name>jbprojectuntitled1TomcatworkWebModule1"/>
    </Host>
    </Engine>
    </Service>
    </Server>

    ?

    6. Start the server in JBuilder. This should use the modified server8080.xml

    ?

    You should be able to compile JSPs using this workaround but not debug. You should be able to debug any java code. You will see a number of exceptions for the admin, manager, balancer services which do not get started when you normally run the server in JBuilder. Please ignore these exceptions. The server should function normally without these services.

    Hold住
    主站蜘蛛池模板: 亚洲国产精品自在线一区二区| 亚洲国产成人久久一区久久| 亚洲VA成无码人在线观看天堂| 一区免费在线观看| 免费国产成人午夜私人影视| 精品久久久久久亚洲中文字幕| 国产小视频免费观看| 瑟瑟网站免费网站入口| 亚洲第一黄色网址| 国产精品永久免费视频| 亚洲午夜福利在线观看| 毛片基地看看成人免费| 国产亚洲福利精品一区| 久久成人无码国产免费播放| 2022年亚洲午夜一区二区福利 | 久久精品国产亚洲av高清漫画 | 看全色黄大色大片免费久久| 亚洲中文字幕无码久久| 国产人成免费视频| 亚洲免费日韩无码系列| 亚洲AV无码乱码在线观看富二代| 99久在线国内在线播放免费观看| 亚洲不卡视频在线观看| 在线中文高清资源免费观看| 一级毛片免费观看不收费| 亚洲精品无码午夜福利中文字幕 | 免费能直接在线观看黄的视频| 亚洲av极品无码专区在线观看| 日美韩电影免费看| 两个人日本WWW免费版| 777亚洲精品乱码久久久久久| 天天看片天天爽_免费播放| 国产vA免费精品高清在线观看| 亚洲一区二区在线免费观看| 国产小视频在线免费| 日韩免费在线观看视频| 亚洲人成色77777在线观看| 亚洲熟女少妇一区二区| 一二三四免费观看在线电影| 又粗又长又爽又长黄免费视频| 亚洲色图国产精品|