JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » Application Server » Tomcat  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友   
reply to postflat modego to previous topicgo to next topic
本主題所含的標籤
無標籤
作者 Re:Tomcat 5.5.9的JNDI設定(for MySQL) [Re:pico2k]
lynn2005





發文: 3
積分: 0
於 2005-08-18 16:28 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
請問一下,下面的javax.servlet.ServletException: Name jdbc is not bound in this Context org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)

是指<Resource name="jdbc/MySQL" ....,還是其他,這裡需要需改嗎?

麻煩指教了,謝謝。

HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Name jdbc is not bound in this Context
  org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
  org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
  org.apache.jsp.index_jsp._jspService(index_jsp.java:68)
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
  org.apache.naming.NamingContext.lookup(NamingContext.java:768)
  org.apache.naming.NamingContext.lookup(NamingContext.java:138)
  org.apache.naming.NamingContext.lookup(NamingContext.java:779)
  org.apache.naming.NamingContext.lookup(NamingContext.java:138)
  org.apache.naming.NamingContext.lookup(NamingContext.java:779)
  org.apache.naming.NamingContext.lookup(NamingContext.java:151)
  org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
  javax.naming.InitialContext.lookup(InitialContext.java:351)
  org.apache.jsp.index_jsp._jspService(index_jsp.java:51)
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.

--------------------------------------------------------------------------------

Apache Tomcat/5.0.28


reply to postreply to post
話題樹型展開
人氣 標題 作者 字數 發文時間
27504 [精華] Tomcat 5.5.9的JNDI設定(for MySQL) pico2k 1382 2005-05-04 12:13
24544 Re:Tomcat 5.5.9的JNDI設定(for MySQL) zongyou 378 2005-06-09 20:29
23727 Re:Tomcat 5.5.9的JNDI設定(for MySQL) millertime 461 2005-08-07 12:07
23457 Re:Tomcat 5.5.9的JNDI設定(for MySQL) browser 340 2005-08-07 12:37
23454 Re:Tomcat 5.5.9的JNDI設定(for MySQL) millertime 324 2005-08-10 22:55
15179 Re:Tomcat 5.5.9的JNDI設定(for MySQL) xwilson 619 2008-01-09 21:37
23591 Re:Tomcat 5.5.9的JNDI設定(for MySQL) millertime 35 2005-08-07 12:06
23360 Re:Tomcat 5.5.9的JNDI設定(for MySQL) lynn2005 48 2005-08-18 16:24
23201 Re:Tomcat 5.5.9的JNDI設定(for MySQL) pico2k 76 2005-08-18 18:27
23276 Re:Tomcat 5.5.9的JNDI設定(for MySQL) lynn2005 2535 2005-08-18 16:28
22673 Re:Tomcat 5.5.9的JNDI設定(for MySQL) smartcdrw 78 2005-09-22 10:44
24520 Re:Tomcat 5.5.9的JNDI設定(for MySQL) vincent_hwu 5 2005-10-03 13:23
» JWorld@TW »  Application Server » Tomcat

reply to postflat modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8