早教吧作业答案频道 -->其他-->
请问高手org.apache.commons.dbcp.SQLNestedException:CannotcreatePoolableConnectionFactory,cause找了一天了都没有结果,报错原因是:ERROR-Initializingapplicationdatasourceorg.apache.struts.action.DATASOURCEorg.apache.commons
题目详情
请问高手org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory, cause
找了一天了都没有结果,报错原因是:
ERROR - Initializing application data source org.apache.struts.action.DATA_SOURCE
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory, cause:
java.sql.SQLException: 用户 'sa' 登录失败.
at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2820)
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2258)
at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:603)
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.(ConnectionJDBC2.java:357)
at net.sourceforge.jtds.jdbc.ConnectionJDBC3.(ConnectionJDBC3.java:50)
at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:82)
2011-5-9 18:47:45 org.apache.catalina.core.ApplicationContext log
信息: Marking servlet action as unavailable
2011-5-9 18:47:45 org.apache.catalina.core.StandardContext loadOnStartup
严重: Servlet /jpjxproject threw load() exception
javax.servlet.UnavailableException: Initializing application data source org.apache.struts.action.DATA_SOURCE
at web.struts.ActionServletExtend.initModuleDataSources(ActionServletExtend.java:55)
求高手帮忙啊...
找了一天了都没有结果,报错原因是:
ERROR - Initializing application data source org.apache.struts.action.DATA_SOURCE
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory, cause:
java.sql.SQLException: 用户 'sa' 登录失败.
at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2820)
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2258)
at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:603)
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.(ConnectionJDBC2.java:357)
at net.sourceforge.jtds.jdbc.ConnectionJDBC3.(ConnectionJDBC3.java:50)
at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:82)
2011-5-9 18:47:45 org.apache.catalina.core.ApplicationContext log
信息: Marking servlet action as unavailable
2011-5-9 18:47:45 org.apache.catalina.core.StandardContext loadOnStartup
严重: Servlet /jpjxproject threw load() exception
javax.servlet.UnavailableException: Initializing application data source org.apache.struts.action.DATA_SOURCE
at web.struts.ActionServletExtend.initModuleDataSources(ActionServletExtend.java:55)
求高手帮忙啊...
▼优质解答
答案和解析
这么多代码呀
看了 请问高手org.apache...的网友还看了以下:
关于1-1/(1+x^2)的原函数问题书上给的答案是x-arctanx+c如果把原式看成1+[-1 2020-05-19 …
● 下面选项中,不属于HTTP 客户端的是 (69) 。A. IE B. Netscape C. M 2020-05-25 …
● 下面选项中,不属于HTTP 客户端的是 (65) 。A. IE B. Netscape C. M 2020-05-25 …
● Windows操作系统下可以通过安装 (36) 组件来提供FTP 服务。(36)A.IIS B. 2020-05-25 …
● 下面选项中,不属于HTTP 客户端的是 (65) 。 (65)A. IE B. Netscape 2020-05-25 …
● 下面选项中,不属于HTTP 客户端的是 (69) 。 (69)A. IE B. Netscape 2020-05-26 …
下列关于实验室果酒,果醋制作的叙述中,错误的是.果酒制作的菌种属于真核生物,而果醋制作的菌种属于原 2020-06-22 …
1.抛物线y=3x^2-7x-2与y轴的交点的坐标是__2.如果抛物线y=x^2-x+c的顶点在x 2020-06-27 …
一小孩子在嗅苹果的同时吃苹果,会产生什么样哒味道?A苹果味B柠檬味C苹果和柠檬混合哒味道!哪个?并 2020-07-02 …
A、B、C三人各有苹果若干,要求互相赠送,先由A给B、C,所给的苹果数等于B、C原来各有的苹果数; 2020-07-22 …