随笔分类 - JAVA-Tomcat
摘要:Bootstrapping TomcatThe bootstrapping process is actually rather simple. All we have to do is:1、Set up the environment variables required by this Tomcat instance2、Instantiate the general class loaders that will be used for our running Tomcat instance3、Initialize this Tomcat instance4、Parse the main
阅读全文
摘要:配置位置在log下的server.xml,(tomcat容器)在server.xml里的<host>标签下添加:<Valve className="org.apache.catalina.valves.AccessLogValve"directory="logs" prefix="localhost_access_log." suffix=".txt"pattern="common" resolveHosts="false"/>范例:<Engin
阅读全文
摘要:Tomcat1、下载源码,并解压文件,例如:E:\Programe\javaWorkShop\OA\Tomcat62、新建项目Java Project3、从File System中导入 4、配置source 5、添加依赖包,我都是从eclipse插件中找到主要包如下: 添加依赖后,基本上错误都消失6、copy 文件:build.properties.default。并修改名称为build.properties,修改配置项:base.path=E:/Programe/javaWorkShop/OA/Tomcat6/share7、打开ant视图,打开build.xml 执行download。会下载
阅读全文
摘要:学习Tomcat的相关资料1、how to tomcat work这本书解剖了Tomcat4.1.12和5.0.18版本,解释了它的servlet容器的内部运行机制英文版 中文版2、Tomcat 6 Developer’s Guide.pdfThis book intended to provide Tomcat administrators, deployers, and developers an introduction into the internal workings of the Tomcat servlet container.At the same time, it prov
阅读全文

浙公网安备 33010602011771号