xtzl130 发表于 2006-5-28 08:59

连接池错误

<P><B><FONT style="BACKGROUND-COLOR: #525d76" color=#ffffff>type</FONT></B> Exception report</P>
<P><B><FONT style="BACKGROUND-COLOR: #525d76" color=#ffffff>message</FONT></B> <U></U></P>
<P><B><FONT style="BACKGROUND-COLOR: #525d76" color=#ffffff>description</FONT></B> <U>The server encountered an internal error () that prevented it from fulfilling this request.</U></P>
<P><B><FONT style="BACKGROUND-COLOR: #525d76" color=#ffffff>exception</FONT></B> <PRE>javax.servlet.ServletException: Name jdbc is not bound in this Context
        org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
        org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
        org.apache.jsp.myapp.test_jsp._jspService(test_jsp.java:75)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
</PRE>
<p>
<P><B><FONT style="BACKGROUND-COLOR: #525d76" color=#ffffff>root cause</FONT></B> <PRE>javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
        org.apache.naming.NamingContext.lookup(NamingContext.java:814)
        org.apache.naming.NamingContext.lookup(NamingContext.java:197)
        org.apache.jsp.myapp.test_jsp._jspService(test_jsp.java:47)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
</PRE>
<p>
<P><B><FONT style="BACKGROUND-COLOR: #525d76" color=#ffffff>note</FONT></B> <U>The full stack trace of the root cause is available in the Tomcat logs.</U></P>

xtzl130 发表于 2006-5-28 19:51

[em08][em08][em08][em08]

zhou 发表于 2008-3-30 11:50

*** 作者被禁止或删除 内容自动屏蔽 ***

Starlove 发表于 2008-4-3 10:47

server.xml context.xml web.xml配置有问题
注意Tomcat的版本
版本不同,配置方法不同

页: [1]

编程论坛