Issue with ServerOperations.ProcessCommandCommit

Post your questions regarding using the Vault and Fortress API in your programs.

Moderator: SourceGear

Post Reply
FRinguette
Posts: 19
Joined: Wed Nov 10, 2010 4:10 pm

Issue with ServerOperations.ProcessCommandCommit

Post by FRinguette » Wed May 18, 2011 4:47 pm

Hello,

I am currently running on Vault 4.1.4 with the Java API and the server is on my laptop so i'm connecting with 127.0.0.1 and my maximum upload file size is set to 500 Mb.

I am having an issue witrh the ServerOperations.ProcessCommandCommit command when the chanset contain a file larger that 20 Mb. Here is what I get in my exception log


System.Exception: Commit failed
at clr.System.ExceptionStaticWrapper.ExceptionCtor(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.ProcessCommandCommit(ServerOperations.cs:601)
at VaultClientIntegrationLib.ServerOperations.ProcessCommandCommit(ServerOperations.cs:447)
at VaultClientIntegrationLib.ServerOperations.ProcessCommandCommit(ServerOperations.cs:432)


at clr.System.ExceptionStaticWrapper.ExceptionCtor(Unknown Source)
at VaultClientIntegrationLib.ServerOperations.ProcessCommandCommit(ServerOperations.cs:601)
at VaultClientIntegrationLib.ServerOperations.ProcessCommandCommit(ServerOperations.cs:447)
at VaultClientIntegrationLib.ServerOperations.ProcessCommandCommit(ServerOperations.cs:432)



And here is what I see in my server log

# SourceGear Vault Server
----5/18/2011 6:36:37 PM --localhost(127.0.0.1)--SSL Disabled ASMX: Login started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled Beginning SQL transaction 37726520
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLoginInfo started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLoginInfo finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: LoginUser started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: LoginUser finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: AddSession started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: AddSession finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled SQL transaction 37726520 successfully committed.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled Login
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: Login finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetUserOptions started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetUserOptions started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetUserOptions finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled GetUserOptions returned: Success
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetUserOptions finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetHistoryFavorites started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetHistoryFavorites started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetHistoryFavorites finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled Success
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetHistoryFavorites finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetRepositories started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetRepositories started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetRepositories finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled GetRepositories returned: Success
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetRepositories finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetRepositoryStructure started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled Getting repository Structure-> Rep ID: 9 Base: 239 Target: -1
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLatestRepositoryInfo started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLatestRepositoryInfo finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 239
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLastTreeSecurityChange started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLastTreeSecurityChange finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled VaultServiceAPI::GetRepositoryTreeDelta() UserID:1 RepID:9 Base:239 Target:239 Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetRepositoryStructure finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled GetRepositoryStructure returned: Success
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled Getting list of checkout changes.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetCheckOutListChanges started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled Beginning SQL transaction 8695731
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled GetCheckoutListChanges: Transaction Started
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: LockCheckoutList started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: CreateDBLockObject started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: CreateDBLockObject finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: LockCheckoutList finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetCurrentCheckoutInfo started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetCurrentCheckoutInfo finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled SQL transaction 8695731 successfully committed.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled GetCheckoutListChanges: Transaction Committed
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled GetCheckOutListChanges returned: Success
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetCheckOutListChanges finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetUserEmailOptions started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetUserEmailOptions started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetUserEmailOptions finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled GetUserEmailOptions returned Success
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetUserEmailOptions finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: ListWatchers started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLatestRepositoryInfo started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLatestRepositoryInfo finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 239
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: ListWatchers started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: ListWatchers finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ListWatchers returned Success
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: ListWatchers finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: ListCloakedObjects started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: ListCloakedObjects started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled DB: ListCloakedObjects finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ListCloakedObjects returned: Success
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: ListCloakedObjects finished.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetRepositoryOptions started.
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled GetRepositoryOptions returned: Success
----5/18/2011 6:36:37 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetRepositoryOptions finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetRepositoryStructure started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled Getting repository Structure-> Rep ID: 9 Base: 239 Target: -1
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLatestRepositoryInfo started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLatestRepositoryInfo finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 239
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLastTreeSecurityChange started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLastTreeSecurityChange finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled VaultServiceAPI::GetRepositoryTreeDelta() UserID:1 RepID:9 Base:239 Target:239 Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetRepositoryStructure finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled GetRepositoryStructure returned: Success
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled Getting list of checkout changes.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetCheckOutListChanges started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled Beginning SQL transaction 24340221
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled GetCheckoutListChanges: Transaction Started
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: LockCheckoutList started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: CreateDBLockObject started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: CreateDBLockObject finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: LockCheckoutList finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetCurrentCheckoutInfo started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetCurrentCheckoutInfo finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled SQL transaction 24340221 successfully committed.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled GetCheckoutListChanges: Transaction Committed
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled GetCheckOutListChanges returned: Success
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetCheckOutListChanges finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetRepositoryStructure started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled Getting repository Structure-> Rep ID: 9 Base: 239 Target: -1
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLatestRepositoryInfo started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLatestRepositoryInfo finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 239
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLastTreeSecurityChange started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLastTreeSecurityChange finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled VaultServiceAPI::GetRepositoryTreeDelta() UserID:1 RepID:9 Base:239 Target:239 Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetRepositoryStructure finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled GetRepositoryStructure returned: Success
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled Getting list of checkout changes.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetCheckOutListChanges started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled Beginning SQL transaction 44204075
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled GetCheckoutListChanges: Transaction Started
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: LockCheckoutList started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: CreateDBLockObject started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: CreateDBLockObject finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: LockCheckoutList finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetCurrentCheckoutInfo started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetCurrentCheckoutInfo finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled SQL transaction 44204075 successfully committed.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled GetCheckoutListChanges: Transaction Committed
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled GetCheckOutListChanges returned: Success
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetCheckOutListChanges finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: BeginTx started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: DoBeginTx started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled BeginTx beginning transaction
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLatestRepositoryInfo started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLatestRepositoryInfo finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 239
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled BeginTx: Applying CheckIn to $/xxx/xxx.zip
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: SafeToUpdateFile started.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled DB: SafeToUpdateFile finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled BeginTx: Finished Applying CheckIn to $/xxx/xxx.zip
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled (36368299-1590-4cef-ac8d-eb75de13ef0b) BeginTx returned: Success
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled (36368299-1590-4cef-ac8d-eb75de13ef0b) CheckIn: $/xxx/xxx.zip returned: Success
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: DoBeginTx finished.
----5/18/2011 6:36:38 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: BeginTx finished.
----5/18/2011 6:38:54 PM admin--localhost(127.0.0.1)--SSL Disabled Receiving an uploaded file.
----5/18/2011 6:38:54 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetDeltaChainForFullFile started.
----5/18/2011 6:38:54 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetDeltaChainForFullFile finished.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled VaultFileUpload.aspx encountered: FailDeltaApply
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetRepositoryStructure started.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled Getting repository Structure-> Rep ID: 9 Base: 239 Target: -1
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLatestRepositoryInfo started.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLatestRepositoryInfo finished.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 239
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLastTreeSecurityChange started.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetLastTreeSecurityChange finished.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled VaultServiceAPI::GetRepositoryTreeDelta() UserID:1 RepID:9 Base:239 Target:239 Calling VaultRepUtil.DiffRepTrees() - in-memory tree diff.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetRepositoryStructure finished.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled GetRepositoryStructure returned: Success
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled Getting list of checkout changes.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetCheckOutListChanges started.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled Beginning SQL transaction 45665110
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled GetCheckoutListChanges: Transaction Started
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled DB: LockCheckoutList started.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled DB: CreateDBLockObject started.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled DB: CreateDBLockObject finished.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled DB: LockCheckoutList finished.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetCurrentCheckoutInfo started.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled DB: GetCurrentCheckoutInfo finished.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled SQL transaction 45665110 successfully committed.
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled GetCheckoutListChanges: Transaction Committed
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled GetCheckOutListChanges returned: Success
----5/18/2011 6:38:55 PM admin--localhost(127.0.0.1)--SSL Disabled ASMX: GetCheckOutListChanges finished.
----5/18/2011 6:40:58 PM --JCHABOT-LAP(10.119.22.236)--SSL Disabled AuthTokenHash matched, but couldn't get the userid



Since what i am trying to upload is a zip file I've played around with it's size and it seems to be working fine under 20 Mb but as soon as it gets over 20 it crashes. I can successfully commit the same file with the Vault client without any issue. Is there any special command to upload big files or is there just something wrong with what i'm trying to do.

Thanks

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Issue with ServerOperations.ProcessCommandCommit

Post by Beth » Wed May 18, 2011 9:22 pm

Try setting chunked encoding. That setting is saved in the registry under HKEY_CURRENT_USER\Software\SourceGear\VaultPro\Client\Settings. Set DontUseChunkedHTTPTransfers to false and then try the upload with the API.
Beth Kieler
SourceGear Technical Support

FRinguette
Posts: 19
Joined: Wed Nov 10, 2010 4:10 pm

Re: Issue with ServerOperations.ProcessCommandCommit

Post by FRinguette » Thu May 19, 2011 7:46 am

thanks for your reply.

This parameter already had the value false in my registry. Any other suggestions?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Issue with ServerOperations.ProcessCommandCommit

Post by Beth » Thu May 19, 2011 8:15 am

Do you have a Vault GUI client anywhere you can test with to see if it can upload the 20 mb file? If a regular client can upload the 20 mb file, that tells me we shouldn't need to change any server settings.

Try flipping the chunked encoding setting to true, and let me know if your results are different.
Beth Kieler
SourceGear Technical Support

FRinguette
Posts: 19
Joined: Wed Nov 10, 2010 4:10 pm

Re: Issue with ServerOperations.ProcessCommandCommit

Post by FRinguette » Thu May 19, 2011 10:14 am

I do have a vault client and I did try to upload the file and it works properly...even with much bigger files.

I tried to flip the parameter to True and it still doesn't work. I also flipped the one under Vault/Admin and I get the same result. I can see this in my server log VaultFileUpload.aspx encountered: FailDeltaApply

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Issue with ServerOperations.ProcessCommandCommit

Post by Beth » Thu May 19, 2011 12:27 pm

The FailDeltaApply usually indicates some sort of networking issue, but I've seen it happen in other cases as well. Can you check on that same file with the Vault GUI client to see if any user has checked in any changes since you started working with it? If there are changes, it could be that your changes need to be merged with what was checked in.
Beth Kieler
SourceGear Technical Support

FRinguette
Posts: 19
Joined: Wed Nov 10, 2010 4:10 pm

Re: Issue with ServerOperations.ProcessCommandCommit

Post by FRinguette » Thu May 19, 2011 12:58 pm

I am doing this test on a private closed server so only my admin user has access to it.

This also happens if I set autocommit to false and add a file to my repository and then commit so there can't be any changes made.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Issue with ServerOperations.ProcessCommandCommit

Post by Beth » Thu May 19, 2011 1:11 pm

Are you running your code right on the server as well? If so, could you try using localhost as the server name?

When you ran a test with the Vault GUI client, was that on the server as well or a different machine?
Beth Kieler
SourceGear Technical Support

FRinguette
Posts: 19
Joined: Wed Nov 10, 2010 4:10 pm

Re: Issue with ServerOperations.ProcessCommandCommit

Post by FRinguette » Tue May 24, 2011 12:18 pm

Yes the code runs on the server itself. I used localhost and I got the same result.

The test with the VaultGUI Client was also on the server itself

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Issue with ServerOperations.ProcessCommandCommit

Post by Beth » Tue May 24, 2011 1:53 pm

Can you go to the Vault admin web page, click the link for Advanced Server Settings and put in the number 1048576 for the IIS Upload Limit and save that change? Then recycle the Vault AppPool or perform an iisreset. After that close all instances of the Vault GUI client on your machine, then open just one instance and try to check in a file larger than 20 mb.

EDIT: Sorry, try the test with the API.

Trying something different on the server might not make sense, but I'm wondering if anything changes from making that change.

When you are logging into a Vault GUI client to try uploading a 20 mb or larger file, are you logging in as the same user that you use with the Client API? If not, try using the same user for both and let me know your results.
Beth Kieler
SourceGear Technical Support

FRinguette
Posts: 19
Joined: Wed Nov 10, 2010 4:10 pm

Re: Issue with ServerOperations.ProcessCommandCommit

Post by FRinguette » Tue Jul 26, 2011 6:06 pm

Ok sorry about the long delay I was on another project for a while.

It seem that I have isolated the problem. My dev environment uses Eclipse and it seem to be the problem. If I run the same program in eclipse or using java.exe directly, the eclipse program fails but the java.exe works.

I know this is not your field of expertise but have you ever run in such problem?

Thanks

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Issue with ServerOperations.ProcessCommandCommit

Post by Beth » Wed Jul 27, 2011 10:13 am

I haven't see Eclipse fail where the Java CLC succeeds.

Let me review over some of the data. Correct me if any of this is wrong.
1) Can't upload any file over 20 mb unless use the Java CLC.
2) The Vault GUI client on the server cannot upload a file over 20 MB.
3) Eclipse cannot upload a file over 20 mb whether on or off the server.

It might be possible that a change to the settings.xml file might help. That file is found in C:\Users\<your user name>\AppData\Local\Sourcegear\Client\settings.xml.

Here are the settings you may see.
- <settings>
<CacheLocation />
<LowLatencyNetworkConnection>True</LowLatencyNetworkConnection>
<RequestDatabaseDeltaForCacheMiss>True</RequestDatabaseDeltaForCacheMiss>
<BranchingModTime>1</BranchingModTime>
<UploadTimeoutSeconds>600</UploadTimeoutSeconds>
<DownloadTimeoutSeconds>3600</DownloadTimeoutSeconds>
<ServiceRequestTimeoutSeconds>7200</ServiceRequestTimeoutSeconds>
<StoreDataInWorkingFolders>False</StoreDataInWorkingFolders>
</settings>

It's possible that the entry for LowLatencyNetworkConnection doesn't work with your network, so you could try flipping that one. You can definitely turn off RequestDatabaseDeltaForCacheMiss. Most users see a performance increase with that off. Make sure Eclipse is closed before any changes.

Let me know the results from trying a change in the LowLatencyNetworkConnection.
Beth Kieler
SourceGear Technical Support

Post Reply