To resolve the first problem
1. open "{jboss_home}serverdefaultdeployjbossweb-tomcat55.sarMETA-INFjboss-service.xml".
2. true
true
To resolve the second problem
1. open "{jboss_home}serverdefaultdeployjbossweb-tomcat55.sarconfweb.xml".
2. locate at "" entry, try to find "org.apache.jasper.servlet.JspServlet"
3. Add 2 init-params as following:
compilerSourceVM
1.5
compilerTargetVM
1.5
4. If we want to use Log4j.properties in our own application, modify "{jboss_home}serverdefaultconfjboss_service.xml":
"org.jboss.logging.Log4jService" name="jboss.system:type=Log4jService,service=Logging">
"ConfigurationURL">resource:log4j.xml
"CatchSystemOut">false
"Log4jQuietMode">true
摘自:http://www.blogjava.net/vcok/archive/2007/02/24/100444.html
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/778728/viewspace-981988/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/778728/viewspace-981988/
本文档详细介绍了如何解决JBoss部署中Tomcat遇到的两个常见问题。首先,通过编辑jboss-service.xml来解决第一个问题,并确保正确设置相关参数。其次,针对第二个问题,需要修改web.xml文件,定位到特定条目并添加初始化参数,以支持特定的JSP编译选项。此外,还介绍了如何配置Log4j以使用自定义的log4j.xml文件。
2万+

被折叠的 条评论
为什么被折叠?



