|
在安装qc自带的sql sever2005时报此错误,麻烦大家帮忙看一下谢谢
Logging to file 'C:\Program Files\HP\HP Quality Center Starter Edition\QCStarter\InstallInfo\log\SiteAdminSetupLog_2010_12_15_12_30_17_640.html'
Exception in thread "main" java.sql.SQLException: [Mercury][SQLServer JDBC Driver]Error establishing socket to host and port: localhost:1433. 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.sqlserver.tds.TDSConnection.<init>(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.BaseConnection.setupImplConnection(Unknown Source)
at com.mercury.jdbc.base.BaseConnection.open(Unknown Source)
at com.mercury.jdbc.base.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at com.mercury.optane.core.db.CTdDriverManager.getConnection(CTdDriverManager.java:81)
wrapped in com.mercury.optane.core.CTdException:
at com.mercury.optane.core.db.CTdDriverManager.getConnection(CTdDriverManager.java:88)
at com.mercury.optane.core.db.convertor.CMSSQLDBCreator.createDB(CMSSQLDBCreator.java:191)
wrapped in com.mercury.optane.core.CTdException: CMSSQLCreator : Unable to create database qcsiteadmin_db
at com.mercury.optane.core.db.convertor.CMSSQLDBCreator.createDB(CMSSQLDBCreator.java:262)
at com.mercury.optane.core.db.convertor.CDBWriter.load(CDBWriter.java:197)
wrapped in com.mercury.optane.core.CTdException: Can't load database
at com.mercury.optane.core.db.convertor.CDBWriter.load(CDBWriter.java:240)
at com.mercury.optane.core.db.convertor.CDBConvertor.load(CDBConvertor.java:87)
at com.mercury.optane.core.db.convertor.CDBConvertor.load(CDBConvertor.java:131)
at com.mercury.optane.core.db.convertor.CDBConvertor.convertXML2DB(CDBConvertor.java:304)
at com.mercury.optane.core.db.convertor.CDBProject.importProject(CDBProject.java:226)
at com.mercury.td.saserver.setup.CAbsInstaller.createProject(CAbsInstaller.java:535)
wrapped in com.mercury.optane.core.CTdException: Failed to create project.
originalProjectName: 'SiteAdminDb'
dbName: 'qcsiteadmin_db'
dbUser: 'td'
destDir: 'C:\Program Files\HP\HP Quality Center Starter Edition\QCStarter\repository\sa\DomsInfo'
deletePrevious: 'false'
copyFS: 'true'
copyOnlyFS: 'false'
at com.mercury.td.saserver.setup.CAbsInstaller.createProject(CAbsInstaller.java:543)
at com.mercury.td.saserver.setup.CAbsInstaller.createProject(CAbsInstaller.java:416)
at com.mercury.td.saserver.setup.CSiteAdminInstaller.createDatabase(CSiteAdminInstaller.java:745)
at com.mercury.td.saserver.setup.CAbsInstaller.load(CAbsInstaller.java:202)
at com.mercury.td.saserver.setup.CAbsInstaller.main(CAbsInstaller.java:914)
wrapped in com.mercury.optane.core.CTdException: <br>[Mercury][SQLServer JDBC Driver]Error establishing socket to host and port: localhost:1433. Reason: Connection refused: connect<br>
at com.mercury.td.saserver.setup.CAbsInstaller.main(CAbsInstaller.java:932)
at com.mercury.td.saserver.setup.CInstallerWrapper.main(CInstallerWrapper.java:40) |
|