首页 > 应用开发 > Java > 关于jboss配置的总结
1、安装/配置apache 2.2.4 和 mod_jk
1.1配置负载均衡
2、安装/配置jboss
2.1 安装jdk1.5.11
2.2 解压jboss
2.3 修改server.xml ,适应负载均衡。
2.4 修改server.xml ,配置支持UTF -8 字符集
enableLookups="false" redirectPort="8443" acceptCount="100"
debug="0" connectionTimeout="20000" useBodyEncodingForURI="true"
disableUploadTimeout="true" URIEncoding="UTF-8"/>
还有8009端口
enableLookups="false" redirectPort="8443" acceptCount="100"
debug="0" connectionTimeout="20000" useBodyEncodingForURI="true"
disableUploadTimeout="true" URIEncoding="UTF-8"/>
2.4 禁止文件目录列表
编辑%jboss-4.0.2%serverdefaultdeployjbossweb-tomcat55.sarconfweb.xml
把listing设置为false
2.5 让你的jboss可以热部署
修改 jboss-4.0.4RC1serverdefaultdeployjbossweb-tomcat55.sarcontext.xml
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7425608/viewspace-912591/ ,如需转载,请注明出处,否则将追究法律责任。