CDspace中发送请求失败
前提:
1、Tomcat部署完成(数据库配置改成我自己的了),且访问“http://localhost:8080/Imooc/ ”正常;
2、数据库部署好且正常启动;
3、redis部署好了;
问题:
CDspace中发送请求失败,CDspace日志中报错如下:
http-outgoing-0 << "</pre></p><p><b>root cause</b> <pre>java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)[\n]"
.
.
.
.
http-outgoing-0 << HTTP/1.1 500 Internal Server Error
[DEBUG] 2017-09-20 22:27:11,481 method:org.apache.http.impl.conn.LoggingManagedHttpClientConnection.onResponseReceived(LoggingManagedHttpClientConnection.java:127)
http-outgoing-0 << Server: Apache-Coyote/1.1
[DEBUG] 2017-09-20 22:27:11,481 method:org.apache.http.impl.conn.LoggingManagedHttpClientConnection.onResponseReceived(LoggingManagedHttpClientConnection.java:127)
http-outgoing-0 << Content-Type: text/html;charset=utf-8
[DEBUG] 2017-09-20 22:27:11,481 method:org.apache.http.impl.conn.LoggingManagedHttpClientConnection.onResponseReceived(LoggingManagedHttpClientConnection.java:127)
http-outgoing-0 << Content-Language: en
[DEBUG] 2017-09-20 22:27:11,481 method:org.apache.http.impl.conn.LoggingManagedHttpClientConnection.onResponseReceived(LoggingManagedHttpClientConnection.java:127)
http-outgoing-0 << Content-Length: 7772
[DEBUG] 2017-09-20 22:27:11,482 method:org.apache.http.impl.conn.LoggingManagedHttpClientConnection.onResponseReceived(LoggingManagedHttpClientConnection.java:127)
http-outgoing-0 << Date: Wed, 20 Sep 2017 14:27:11 GMT
[DEBUG] 2017-09-20 22:27:11,482 method:org.apache.http.impl.conn.LoggingManagedHttpClientConnection.onResponseReceived(LoggingManagedHttpClientConnection.java:127)
http-outgoing-0 << Connection: close
HTTP/1.1 500 Internal Server Error
[DEBUG] 2017-09-20 22:27:11,516 method:org.apache.http.impl.conn.LoggingManagedHttpClientConnection.close(LoggingManagedHttpClientConnection.java:81)
http-outgoing-0: Close connection
[DEBUG] 2017-09-20 22:27:11,516 method:org.apache.http.impl.execchain.ConnectionHolder.releaseConnection(ConnectionHolder.java:103)
Connection discarded
[DEBUG] 2017-09-20 22:27:11,517 method:org.apache.http.impl.conn.PoolingHttpClientConnectionManager.releaseConnection(PoolingHttpClientConnectionManager.java:320)
Connection released: [id: 0][route: {}->http://localhost:8080][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20]
[DEBUG] 2017-09-20 22:27:11,518 method:org.apache.http.impl.conn.PoolingHttpClientConnectionManager.shutdown(PoolingHttpClientConnectionManager.java:388)
Connection manager is shutting down
[DEBUG] 2017-09-20 22:27:11,518 method:org.apache.http.impl.conn.PoolingHttpClientConnectionManager.shutdown(PoolingHttpClientConnectionManager.java:394)
Connection manager shut down
数据库连接我都改了呀,核对了没有问题