Tomcat安装目录下的conf中的jk2.properties文件内容

王朝html/css/js·作者佚名  2006-12-17
宽屏版  字体: |||超大  

Tomcat安装目录下的conf中的jk2.properties文件内容

Tomcat安装目录下的conf中的jk2.properties文件内容 ## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED

## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list

# 下面这行在Tomcat安装好之后是被注释掉的,要去掉注释符号#

handler.list=apr,request,channelJni

#

# Override the default port for the socketChannel

# channelSocket.port=8019

# Default:

# channelUnix.file=${jkHome}/work/jk2.socket

# Just to check if the the config is working

# 这一行的文件就是在Apache的logs里面要手动创建的文件之一

shm.file=D:/Apache/Apache2/logs/jk2.shm

# In order to enable jni use any channelJni directive

channelJni.disabled = 0

# And one of the following directives:

# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself

# This will enable the starting of the Tomcat from mod_jk2

apr.jniModeSo=inprocess

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有