We're using Vault & CruiseControl.Net as part of our Continuous Integration.
Out Vault Server & CrusieControl.Net server sit on different machines.
We have about 30 projects using CI.
Each morning when i check the build machine, which is the CruiseControl.Net server, there are a host of Vault Exceptions on the screen.
This prevents our builds from running.
Last week i just upgraded CruiseControl to the latest version and also included SourceGear Vault Cruise Control plugin, to see if it would resolve the problem.
But after the weekend, i came in to find the builds had not run, and again vault exceptions were thrown on the build machine.
In the Event Viewer it shows the following:
Next i check the vault log file which shows:Faulting application vault.exe, version 4.1.4.18402, faulting module kernel32.dll, version 5.1.2600.3541, fault address 0x00012a6b.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
----17/11/2009 9:16:35 a.m. admin--wmd75(10.0.1.191)--SSL Disabled Login
----17/11/2009 9:17:15 a.m. admin--mnl03(10.0.1.29)--SSL Disabled Login
----17/11/2009 9:17:19 a.m. admin--mnl03(10.0.1.29)--SSL Disabled Object reference not set to an instance of an object.
at VaultServiceSQL.VaultSqlSystem.GetLoginInfo(VaultSqlConn conn, String strLogin, String strHostname, String strSessionID, VaultUser vu, String& strDbHashPwd, Int32& nAttempts)
at VaultServiceAPILib.VaultServiceAPI.AuthenticateAndLogin(VaultSqlConn conn, Boolean allowwebonly, String strLogin, String strDecryptedPassword, String strHostname, String strSessionID, VaultUser vu, String strDomain, Guid& gSessionGUID, Int32& nValidUserAttempts)
at VaultServiceAPILib.VaultServiceAPI.Login(VaultSqlConn conn, Boolean allowwebonly, String strLogin, String strDecryptedPassword, String strHostname, String strSessionID, String strDomain, String& strToken, VaultUser& vu, Int32& nValidUserAttempts)
at VaultServiceAPILib.VaultServiceAPISystem.DoLogin(Boolean allowwebonlyusers, Boolean bAdminLogin, HttpSessionState hss, String strHostname, String strLogin, String strPassword, String strRMKey, String& strAuthToken, String strDomain)
at VaultServiceAPILib.VaultServiceAPISystem.DoLogin(Boolean allowwebonlyusers, Boolean bAdminLogin, HttpSessionState hss, String strHostname, String strLogin, String strPassword, String strRMKey, String& strAuthToken)
at VaultService.VaultService.Login(String strHostname, Boolean bUseFullFiles, String username, String strEncryptedPassword, String strRMKey, String& strAuthToken)
----17/11/2009 9:17:19 a.m. admin--mnl03(10.0.1.29)--SSL Disabled Login
----17/11/2009 9:17:20 a.m. admin--mnl03(10.0.1.29)--SSL Disabled Logout
----17/11/2009 9:17:20 a.m. admin--mnl03(10.0.1.29)--SSL Disabled Logout
Here is how are many projects are setup within CruiseControl.Net
Code: Select all
<project name="Test">
<workingDirectory>D:\Source\Test</workingDirectory>
<artifactDirectory>BuildLogs\Test</artifactDirectory>
<webURL>http://wmd81/ccnet</webURL>
<modificationDelaySeconds>300</modificationDelaySeconds>
<sourcecontrol type="vaultplugin">
<username>admin</username>
<password></password>
<host>wsw01:8082</host>
<repository>Test</repository>
<folder>$/Test1</folder>
<ssl>False</ssl>
<autoGetSource>True</autoGetSource>
<applyLabel>False</applyLabel>
<useWorkingDirectory>False</useWorkingDirectory>
<timeout units="Minutes">5</timeout>
<workingDirectory>.</workingDirectory>
</sourcecontrol>
<triggers>
<intervalTrigger name="continuous" seconds="300" buildCondition="IfModificationExists" />
</triggers>
<tasks>
<nant>
<executable>C:\Program Files\NAnt\bin\NAnt.exe</executable>
<buildFile>default.build</buildFile>
</nant>
</tasks>
<publishers>
<xmllogger logDir="log" />
</publishers>
</project>
http://kb.sourcegear.com/FortressHelp/v ... 12&start=0
http://support.sourcegear.com/viewtopic.php?f=5&t=10324