丄諦啲仇魜ヤ
          如 果 敵 人 讓 你 生 氣 , 那 說 明 你 沒 有 勝 他 的 把 握!
          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 閱讀(465) 評論(0)  編輯  收藏 所屬分類: Tomcat

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


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 陇川县| 凤山县| 江安县| 天门市| 昌平区| 尼木县| 探索| 乌兰县| 边坝县| 西昌市| 黄浦区| 定西市| 芜湖市| 东丰县| 昭觉县| 庆元县| 梅河口市| 洛南县| 永嘉县| 佛坪县| 南汇区| 安远县| 六盘水市| 白城市| 枣庄市| 开阳县| 彝良县| 宜兰市| 和田市| 新疆| 漳浦县| 紫金县| 宾阳县| 陆河县| 沾化县| 沭阳县| 根河市| 泽普县| 荣成市| 怀柔区| 海丰县|