免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4073 | 回复: 2
打印 上一主题 下一主题

[Web] 求助:apache+tomcat整合问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-23 10:39 |只看该作者 |倒序浏览
我的系统是FREEBSD6.3,apache2.2.9,tomcat6,都是用ports装的,我用http://localhost:8180登录能够看到tomcat的页面,但是我http://localhost/index.jsp却出现下面的提示:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception org.apache.jasper.JasperException: java.lang.IllegalStateException: No output folder        org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:350)        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause java.lang.IllegalStateException: No output folder        org.apache.jasper.JspCompilationContext.createOutputDir(JspCompilationContext.java:64        org.apache.jasper.JspCompilationContext.getOutputDir(JspCompilationContext.java:197)        org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationContext.java:491)        org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:397)        org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:350)        org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:562)        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.16 logs.


设置如下:
tomcat-apache.conf
JkWorkersFile /usr/local/etc/apache22/Includes/workers.properties
JkLogFile /usr/local/logs/mod_jk.log
JkLogLevel info            
JkMount /*.jsp ajp13        
JkMount /jsp-examples/* ajp13
JkMount /servlets-examples/* ajp13
JkMount /servlet/* ajp13


workers.properties
workers.tomcat_home=/usr/local/apache-tomcat60
workers.java_home=/usr/local/diablo-jdk1.6.0
ps=/                        
worker.list=ajp12, ajp13   
worker.ajp13.port=8009      
worker.ajp13.host=localhost
worker.ajp13.type=ajp13


第一次配这个,在网上也找了很多资料,但是都没有解决,只能在这里请教大家了!多谢!!!

论坛徽章:
0
2 [报告]
发表于 2008-12-26 12:58 |只看该作者
我也是这个问题啊~你决解了没啊???

论坛徽章:
0
3 [报告]
发表于 2008-12-26 13:17 |只看该作者
晕,这么都没有人遇到这个问题吗???
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP