我只是为我的数据库测试AppDynamics,我能够在MySQL 5和SQL Server 2014上运行它,但我在SQL Server 2005上遇到了JDBC错误。
以下是错误日志:
06 6月2017 00:55:59,461错误[AD Thread Pool-Global0] DBAgentPollingForUpdate:30 - 连接到URL时发生致命传输错误[/ controller / instance / DBAGENT_MACHINE_ID / db-monit or-config / 37784]:org.apache.http.NoHttpResponseException:davinci2017060100542331.saas.appdynamics.com:443未能回复 06 6月2017 00:55:59,473 WARN [AD Thread Pool-Global0] DBAgentPollingForUpdate:62 - 来自控制器的配置请求的响应无效/无法连接。 Msg:致命的 连接到URL时出现错误[/ controller / instance / DBAGENT_MACHINE_ID / db-monitor-config / 37784] 06 6月2017 00:56:00,026 INFO [-Scheduler-3] ADBCollector:141 - DB Collector DBSERVER01暂时被禁用。 06 6月2017 00:56:01,026 INFO [-Scheduler-3] ARelationalDBCollector:59 - (重新)初始化DB收集器'DBSERVER01'。 06 6月2017 00:56:01,040 INFO [-Scheduler-3] MSSqlCollector:74 - 获取url jdbc的连接:sqlserver://192.168.1.100:1433 06 6月2017 00:56:01,047 INFO [-Scheduler-3] MSSqlCollector:139 - SQL Server版本= 9.00.5057.00(2005.0) 06 6月2017 00:57:00,025 ERROR [-Scheduler-1] ADBCollector:172 - 收集数据库'DBSERVER01'数据时出错 com.microsoft.sqlserver.jdbc.SQLServerException:'sys'附近的语法不正确。 at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:216) 在com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1515) 在com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:404) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement $ PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:350) 在com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696) 在com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715) 在com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180) 在com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155) 在com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:285) at com.singularity.ee.agent.dbagent.collector.db.relational.mssql.AMSSqlCollectorDelegate.collectDBMSMetrics(AMSSqlCollectorDelegate.java:335) at com.singularity.ee.agent.dbagent.collector.db.ADBCollectorDelegate.collectPerMinute(ADBCollectorDelegate.java:88) 在com.singularity.ee.agent.dbagent.collector.db.ADBCollector.collect(ADBCollector.java:156) 在com.singularity.ee.agent.dbagent.collector.db.ADBCollector.run(ADBCollector.java:139) at com.singularity.ee.util.javaspecific.scheduler.AgentScheduledExecutorServiceImpl $ SafeRunnable.run(AgentScheduledExecutorServiceImpl.java:122) at java.util.concurrent.Executors $ RunnableAdapter.call(Unknown Source) at com.singularity.ee.util.javaspecific.scheduler.ADFutureTask $ Sync.innerRunAndReset(ADFutureTask.java:335) at com.singularity.ee.util.javaspecific.scheduler.ADFutureTask.runAndReset(ADFutureTask.java:152) at com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor $ ADScheduledFutureTask.access $ 101(ADScheduledThreadPoolExecutor.java:119) at com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor $ ADScheduledFutureTask.runPeriodic(ADScheduledThreadPoolExecutor.java:206) at com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor $ ADScheduledFutureTask.run(ADScheduledThreadPoolExecutor.java:236) at com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor $ Worker.runTask(ADThreadPoolExecutor.java:694) at com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor $ Worker.run(ADThreadPoolExecutor.java:726) 在java.lang.Thread.run(未知来源)
答案 0 :(得分:1)
支持SQL 2005,但这是4.3.0版本中引入的错误。对于受支持的客户,目前有针对此问题的诊断修补程序。一旦我们找出问题,修复应该在下一个补丁级别。如果您需要支持,请发送电子邮件至help@appdynamics.com,他们可以提供帮助。感谢。