丄諦啲仇魜ヤ
          如 果 敵 人 讓 你 生 氣 , 那 說 明 你 沒 有 勝 他 的 把 握!
          posts - 6,comments - 56,trackbacks - 1
          1.在TOMCAT里面配置 
          <Host name="www.ahgcc.cn" appBase="webapps"
                      unpackWARs="true" autoDeploy="true"
                     xmlValidation="false" xmlNamespaceAware="false">
                  <Context path="" docBase="D:\server\hdsf\hdsfweb"  debug="0"
                  reloadable="true" crossContext="true">
                   <Logger className="org.apache.catalina.logger.FileLogger"
                    prefix="localhost_ahgsl_log." suffix=".txt"
                    timestamp="true"/>
               <Resource name="jdbc/hdsf" auth="Container"
                 type="javax.sql.DataSource" driverClassName="net.sourceforge.jtds.jdbc.Driver"
                 url="jdbc:jtds:sqlserver://localhost:1433;DatabaseName=ahgsl;SelectMethod=cursor"
                 username="ahgsl" password="ahgsl" maxActive="100" maxIdle="30"
                 maxWait="-1" testOnBorrow="true" testOnReturn="true" testWhileIdle="true"
                 timeBetweenEvictionRunsMillis="100000"/>
             </Context>
              </Host>

          2 . 在系統(tǒng)目錄   C:\WINDOWS\system32\drivers\etc  文件下找到 HOSTS

            打開 修改為:

                           127.0.0.1       localhost
                           61.191.26.109   www.ahgcc.cn

             注釋: 61.191.26.109是自己是服務(wù)器的IP

          3. 配置自己的域名解析 



                                           





                                                                                                                                  看看別人的  http://q.sohu.com/forum/5/topic/717549


          posted on 2008-12-09 15:23 Crying 閱讀(466) 評論(0)  編輯  收藏 所屬分類: Tomcat

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


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 凌云县| 大英县| 钟祥市| 洪洞县| 吴江市| 城固县| 栾城县| 蓬溪县| 洪雅县| 斗六市| 枣强县| 平遥县| 连江县| 胶南市| 龙南县| 扶沟县| 汝南县| 黄石市| 乌拉特中旗| 桂阳县| 霍山县| 嘉善县| 江城| 嘉黎县| 平原县| 东宁县| 安岳县| 余干县| 铜川市| 乐安县| 子洲县| 江阴市| 固原市| 临泉县| 伊川县| 榕江县| 万山特区| 个旧市| 堆龙德庆县| 内丘县| 潜山县|