网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > Java
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
网络编程:ASP教程,ASP.NET教程,PHP教程,JSP教程,C#教程,数据库,XML教程,Ajax,Java,Perl,Shell,VB教程,Delphi,C/C++教程,软件工程,J2EE/J2ME,移动开发
本月文章推荐
.用Java语言编写通过代理访问的应.
.Java入门:代码的坏味道.
.用Java实现PDF报表.
.ANT 十五大最佳实践经典案例分析.
.Hibernate3发布beta版本 支持EJB.
.Bugzero的安装过程和碰到的花絮.
.Cook JDBC with SpringFramework.
.Java SE 6之脚本引擎 让程序如虎.
.Java开发源缓存系统的介绍.
.用户登录的验证完整程序.
.以小博大 Java性能优化技巧集锦.
.使用 JFreeChart来创建基于web的.
.用Filter实现IP过滤.
.用纯JAVA语言编程读取MAC地址的实.
.Java抽取Word,PDF格式文件的四种.
.JDOM与XML的案例.
.JBuilder开发技巧.
.用JBuilder 2005实现重构之认识重.
.字节码如何防止内存错误及提高代.
.Java大会-为中国市场带来的个人S.

Apache-Tomcat的整合操作的英文介绍--用mod_jk2.so实现

发表日期:2008-1-5


Integrating Apache 2.0 with Tomcat 5.5 for Windows

Background
This document outlines the process for integrating the Apache web-server with the Tomcat jsp/Servlet container. This configuration allows you to use Apache for serving static web content sUCh as pure Html pages while using Tomcat for dynamic content such as JSP pages and servlets. This configuration allows you to independently configure the two environments offering improvements in performance and scalability. 

Prerequisites
Please refer to the following guide(s) and follow the instructions included within to install/configure the required software:
·         Getting Started with Apache for Windows
·         Getting Started with Tomcat for Windows
Download
1. Download the mod_jk2.so from jakarta-tomcat-connectors-jk2.0.4-win32-apache2.0.49.zip
2. Download the Tomcat 4.1 from http://www.eu.apache.org/dist/jakarta/tomcat-5/v5.5.2/bin/jakarta-tomcat-5.5.2.exe
3. Download the Apache 2.0 from http://www.eu.apache.org/dist/httpd/binaries/win32/apache_2.0.51-win32-x86-no_ssl.msi

Notes:
1.     The JK connector is now deprecated. Use the Coyote JK 2 connector noted above instead.
2. The version of mod_jk2.dll to download is dependent on the version of Apache that was installed (in this case Apache 2.0.43 was installed so the mod_jk2-2.0.43.dll is downloaded); it is not dependent on the version of Tomcat that was installed. Though noted for Apache 2.0.43 this connector will also work with Apache 2.0.50.

Installation
Configure Apache
1.     Copy  mod_jk2.so to the <apache-install-dir>\Apache2\modules Directory (e.g. C:\Program Files\Apache Group\Apache2\modules)
2.     Edit the Apache server configuration file httpd.conf. This file can be found in the <apache-install-dir>\Apache2\conf directory or can be Accessed from the Start menu under Start -> Programs -> Apache HTTP Server 2.0.45 -> Configure Apache Server -> Edit the Apache httpd.conf Configuration File. Find the LoadModule section of the configuration file and add the following line with the other LoadModule entries: 
                              LoadModule jk2_module modules/mod_jk2.so


上一篇:使用Antlr和JfreeChart实现项目源代码行数计算图表 人气:707
下一篇:[webservices开发]XFire实战 人气:1247
浏览全部Java的内容 Dreamweaver插件下载 网页广告代码 祝你圣诞节快乐 2009年新年快乐