I have setup a MSSQL 2005 express server in windows 2003 OS server which is authenticated thro Corporate LDAP.
The DB details are configured in the database.xml file as below
[PHP]
[/PHP]
Deployment config file is as below
[PHP]
[/PHP]
When I try to deploy DCRs to DB using CLT
iwodcmd start xml_to_db -k iwdd=TS-DB-DeploymentThe following error is thrown
[HTML]
NG: Proceed to execute the database deployment
DBD: Deployment : TS-DB-Deployment
DBD: Database Vendor set to microsoft-microsoft
DBD: SQL datatype for column EmployeeId is INT
DBD: SQL datatype for column IBU is VARCHAR(50)
DBD: SQL datatype for column HBU is VARCHAR(50)
DBD: SQL datatype for column EmployeeName is VARCHAR(50)
DBD: SQL datatype for column EmployeeLocation is VARCHAR(50)
DBD: # of columns: 5
DBD: # of primary key columns specified: 1
DBD: WARNING:Assuming group name as the table name for [demo].
DBD: # of groups defined in element: 1
DBD: [Wed May 25 10:39:59 GMT+05:30 2011] Begin executing TS-DB-Deployment
DBD: Begin Set up the publisher thread
DBD: End Set up the publisher thread
DBD: Area VPath:/default/main/Training/WORKAREA/xxxxxxxxxxx_WA
DBD: Setting up TDbSchemaAgent.
DBD: Loading com.microsoft.sqlserver.jdbc.SQLServerDriver
DBD: url : jdbc:sqlserver://xx.xx.****.xx\\SQLEXPRESS:xxxx;database=xxxxxxxxxxx
DBD: login : sa
DBD: login timeout=3
DBD: Connecting to the database...
DBD: Try connecting using jdbc:sqlserver://xx.xx.****.xx\\SQLEXPRESS:xxxx;database=xxxxxxxxxxxxxxxxxx...
DBD: SQL failure
DBD: ERROR:ERROR: Could not connect to [jdbc:sqlserver://xx.xx.****.xx\\SQLEXPRESS:xxxx;database=xxxxxxxxxxxxxxxx]
DBD:
DBD: *******************************************************
DBD: SQLException occured in JdbcCheckup:MakeConnection()
DBD: Exception Message: Login failed for user 'sa'.
DBD: Vendor Error Code: 18456
DBD: SQL state: S0001
DBD: *******************************************************
DBD:
DBD: *******STACK TRACE*************
DBD: ERROR:
com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'sa'.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(Unknown Source)
at com.microsoft.sqlserver.jdbc.TDSParser.parse(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$000(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(Unknown Source)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at com.interwoven.dd100.dd.JdbcCheckup.MakeConnection(JdbcCheckup.java:447)
at com.interwoven.dd100.dd.JdbcCheckup.TryConnect(JdbcCheckup.java:527)
at com.interwoven.dd100.dd.TDbConnectionManager.GetConnection(TDbConnectionManager.java:78)
at com.interwoven.dd100.dd.TDbAgent.EstablishConnection(TDbAgent.java:550)
at com.interwoven.dd100.dd.TDbAgent.(TDbAgent.java:272)
at com.interwoven.dd100.dd.TDbSchemaAgent.(TDbSchemaAgent.java:64)
at com.interwoven.dd100.dd.TConsumerManager.getDbAgentBasedOnGroupUpdate(TConsumerManager.java:514)
at com.interwoven.dd100.dd.TConsumerManager.SetupConsumer(TConsumerManager.java:587)
at com.interwoven.dd100.dd.TConsumerManager.SetupConsumersForOneDeployment(TConsumerManager.java:192)
at com.interwoven.dd100.dd.TConsumerManager.SetupConsumers(TConsumerManager.java:133)
at com.interwoven.dd100.dd.TAgentClient.Go(TAgentClient.java:105)
at com.interwoven.dd100.dd.IWDataDeploy.Go(IWDataDeploy.java:598)
at com.interwoven.dd100.dd.TDASThread.ProcessItem(TDASThread.java:203)
at com.interwoven.dd100.dd.TDASThread.run(TDASThread.java:128)
DBD: ERROR:Could not connect to [xx.xx.****.xx\\SQLEXPRESS:xxxx;database=xxxxxxxxxxxxxxxx]
DBD: ERROR:Unable to connect to /xx.xx.****.xx\\SQLEXPRESS:xxxx;database=xxxxxxxxxxxxxxxx
DBD: ERROR:TDbAgent constructor failed.
DBD: Error occured in TDbSchemaAgent
[/HTML]