TomCat经典问题之一-------我的tomcat连接池总是配置不好:
大家好
我的tomcat连接池总是配置不好:
我可是按照
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
做的,
另外:在:
http://localhost:8080/admin/index.jsp
左侧树节点:
Tomcat Server
|------Services ( Tomcat Standolane )
|--------Host (localhost)
|--------Context (/SunShineSCM)
|-------Resources
|-----Data Sources
当我单击:Data Sources
的时候出现:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Exception retrieving attribute 'driverClassName'
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)
的错误,
如果我不管它,坚持在程序中使用的话,
出现:javax.naming.NameNotFoundException: Name JNDISunShineSCM is not bound in this Context-----Name JNDISunShineSCM is not bound in this Context
的错误,我应该如何解决这个问题。