tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From faisal <programmerforl...@softhome.net>
Subject problem setting up JNDI
Date Mon, 03 Jan 2005 05:13:53 GMT
hi guys.
I m getting some problems setting up JNDI for mysql db. i ve copied 
mysql driver in <tomcat-dir>\jakarta-tomcat-5.0.19\common\lib.
i ve attached my hibernateApp.xml which is placed under my 
<tomcat-dir>\jakarta-tomcat-5.0.19\conf\Catalina\localhost.

i m using jakarta-tomcat-5.0.19 which is embedded in Netbeans 3.6.

upon excecuting index.jsp i m getting following exceptions.

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.index_jsp._jspService(index_jsp.java:66)
    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)
    
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:305)

please help me.

Mime
View raw message