Stack Trace:
com.mercury.jdbc.base.BaseSQLException: [Mercury][SQLServer JDBC Driver][SQLServer]用户 '(null)' 登录失败。原因: 未与信任 SQL Server 连接相关联。
at com.mercury.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.mercury.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.mercury.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
at com.mercury.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
at com.mercury.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source)
at com.mercury.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at com.mercury.jdbc.sqlserver.tds.TDSLoginRequest.submitRequest(Unknown Source)
at com.mercury.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
at com.mercury.jdbc.base.BaseConnection.connect(Unknown Source)
at com.mercury.jdbc.base.BaseConnectionStartup.run(Unknown Source)
wrapped in com.mercury.optane.core.CTdException:
at com.mercury.optane.core.db.CTdDriverManager.getConnection(CTdDriverManager.java:81)
at com.mercury.optane.core.db.CConnectionPool.newConnection(CConnectionPool.java:665)
at com.mercury.optane.core.db.CConnectionPool.tryToGetConnection(CConnectionPool.java:491)
at com.mercury.optane.core.db.CConnectionPool.getConnection(CConnectionPool.java:316)
at com.mercury.optane.core.db.CConnectionManager.getNotTransactedConnection(CConnectionManager.java:299)
at com.mercury.optane.core.db.CConnectionManager.getConnection(CConnectionManager.java:264)
at com.mercury.optane.core.db.CAbsStatement.<init>(CAbsStatement.java:76)
at com.mercury.optane.core.db.CTdPreparedStatement.<init>(CTdPreparedStatement.java:129)
at com.mercury.optane.core.db.CTdPreparedStatement.<init>(CTdPreparedStatement.java:124)
at com.mercury.td.saserver.api.logics.CAdminLogic.testConnection(CAdminLogic.java:593)
wrapped in com.mercury.optane.core.CTdException: Test connection failed
at com.mercury.td.saserver.api.logics.CAdminLogic.testConnection(CAdminLogic.java:624)
at com.mercury.td.saserver.web.CTdSiteAdminServlet.redirectTestConnection(CTdSiteAdminServlet.java:724)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.mercury.optane.core.web.CAbsServlet.executeFunction(CAbsServlet.java:554)
wrapped in com.mercury.optane.core.CTdException: Failed to Test Connection
at com.mercury.optane.core.web.CAbsServlet.executeFunction(CAbsServlet.java:560)
at com.mercury.optane.core.web.CAbsServlet.processRequest(CAbsServlet.java:535)
at com.mercury.optane.core.web.CAbsServlet.doPost(CAbsServlet.java:418)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)作者: lyron 时间: 2009-6-12 15:56
连上了...作者: lyron 时间: 2009-6-12 16:07
在数据库服务器中连上了另一台机的数据库 但是下一步怎么弄?作者: Athenth 时间: 2009-6-12 16:35
用户名怎么是null?我记得在安装过程中如果你数据库用户名和密码弄错是不让继续的,你安装步骤进行到哪了?作者: peterz 时间: 2009-6-12 16:37
把SQL的SA和密码添里面就行。你没换IP吧作者: davidhorse 时间: 2010-5-31 11:36 标题: 回复 7# 的帖子 我的发生错误乐,类似 不过我的是oracle 9.2.0.1.0
Messages:
Failed to Login;
Failed to check authentication of user 'dtao';
[Mercury][Oracle JDBC Driver]Error establishing socket to host and port: Homecomputer:1521. Reason: Connection refused: connect;
Stack Trace:
com.mercury.jdbc.base.BaseSQLException: [Mercury][Oracle JDBC Driver]Error establishing socket to host and port: Homecomputer:1521. Reason: Connection refused: connect
at com.mercury.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.mercury.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.mercury.jdbc.oracle.OracleImplConnection.makeConnectionHelper(Unknown Source)
at com.mercury.jdbc.oracle.OracleImplConnection.makeConnection(Unknown Source)
at com.mercury.jdbc.oracle.OracleImplConnection.connectAndAuthenticate(Unknown Source)
at com.mercury.jdbc.oracle.OracleImplConnection.open(Unknown Source)
at com.mercury.jdbc.base.BaseConnection.connect(Unknown Source)
at com.mercury.jdbc.base.BaseConnectionStartup.run(Unknown Source)