<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住
    主站蜘蛛池模板: h视频免费高清在线观看| 亚洲码和欧洲码一码二码三码| 亚洲一区二区三区香蕉| 亚洲精品卡2卡3卡4卡5卡区| 亚洲精品福利网站| 亚洲人片在线观看天堂无码| 99久久这里只精品国产免费| 亚洲精品NV久久久久久久久久| 国产成人亚洲综合无码精品 | 亚洲六月丁香六月婷婷蜜芽| 亚洲.国产.欧美一区二区三区| 狠狠躁狠狠爱免费视频无码| **毛片免费观看久久精品| 国产精品成人四虎免费视频| 亚洲熟妇丰满多毛XXXX| 在线成人精品国产区免费| 日韩电影免费在线观看视频| 久久国产亚洲电影天堂| 日韩在线视精品在亚洲| 最近最新高清免费中文字幕 | 亚洲免费福利在线视频| 伊人久久大香线蕉亚洲| 亚洲女子高潮不断爆白浆| 日韩特黄特色大片免费视频| 一区二区三区免费视频播放器| 思思99re66在线精品免费观看| 亚洲午夜久久久久久久久久| 久久久久国产精品免费免费不卡| 国产乱人免费视频| 亚洲日韩精品无码AV海量| 成人永久福利免费观看| 国产黄片不卡免费| 亚洲高清在线mv| 青青操在线免费观看| 亚洲人成无码www久久久| 美女一级毛片免费观看| 无码高潮少妇毛多水多水免费| 色老板亚洲视频免在线观| 久久青草免费91线频观看不卡 | 成人片黄网站A毛片免费| 亚洲欧洲精品在线|