Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java EE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:[Tomcat求助]如何安装webapp到tomcat外部的目录? [Re:CrazyJavar]
redmiddle





发贴: 23
积分: 10
于 2003-07-12 09:58 user profilesend a private message to usersend email to redmiddlesearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
maybe你也可以增加一个service在server.xml里面.例子如下.
<Service name="Test(其实这个名字无所谓,养眼的)">
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8002(这个8002端口我自己定义的.也随便你.不过好像某些端口不稳定倒是真的.) -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8002(这个端口就是我新加的)" minProcessors="5" maxProcessors="100"
enableLookups="false"
acceptCount="200" debug="0" connectionTimeout="20000"
useURIValidationHack="false" disableUploadTimeout="true" />
<!-- Note : To disable connection timeouts, set connectionTimeout value
to -1 -->

<!-- Define the top level container in our container hierarchy -->
<Engine name="HandleUser" defaultHost="localhost" debug="0">

<!-- Global logger unless overridden at lower levels -->
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="user_log." suffix=".txt"
timestamp="true"/>
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
debug="0" resourceName="UserDatabase"/>
<!-- Define the default virtual host -->
<Host name="localhost" debug="0" appBase="你的程式路径D:\yourWebApp">
<!-- Tomcat Root Context -->
<Context path="" docBase="" debug="0"
reloadable="true" crossContext="true">
</Context>
</Host>
</Engine>
</Service>

注意,我在这里面加了注释.要看清楚




Hibernate开发指南

话题树型展开
人气 标题 作者 字数 发贴时间
9506 [Tomcat求助]如何安装webapp到tomcat外部的目录? jfml 9 2003-07-11 11:07
7377 Re:[Tomcat求助]如何安装webapp到tomcat外部的目录? why 83 2003-07-11 12:22
7468 Re:[Tomcat求助]如何安装webapp到tomcat外部的目录? jfml 13 2003-07-11 12:44
7358 Re:[Tomcat求助]如何安装webapp到tomcat外部的目录? why 210 2003-07-11 13:31
7492 Re:[Tomcat求助]如何安装webapp到tomcat外部的目录? redmiddle 1442 2003-07-12 09:58
7551 Re:[Tomcat求助]如何安装webapp到tomcat外部的目录? jfml 433 2003-07-15 15:47
7495 Re:[Tomcat求助]如何安装webapp到tomcat外部的目录? jfml 127 2003-07-15 15:50
7350 Re:[Tomcat求助]如何安装webapp到tomcat外部的目录? why 212 2003-07-15 17:00
7923 Re:[Tomcat求助]如何安装webapp到tomcat外部的目录? wes109 795 2003-07-18 08:38

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923