Cannot Import Project Into JavaCAPS 5.1.3 Repository

(Doc ID 1536518.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Java CAPS - Version 5.1.3 and later
Information in this document applies to any platform.

Symptoms

Following error is observed when  two users user1 and user2 import different projects under same root.

DEBUG (com.stc.egate.gui.projectexplorer.NewProjectAction) - Failed to create new Project:
com.stc.repository.RepositoryException:
Could not checkout eGate ProjectManager API the latest version 1.229 has been locked by user: user1
Exception Name: com.stc.repository.versioncontrol.impl.RepositoryVersionLockedException
Message: Could not checkout for write file: ProjectManager/SBYN700.xml the latest version: 1.229 has been locked by user: user1
Stack Trace: Message:
Could not checkout for write file: ProjectManager/SBYN700.xml the latest version: 1.229 has been locked by user: user1
Stack:
com.stc.repository.versioncontrol.impl.RepositoryVersionLockedException: Could not checkout for write file: ProjectManager/SBYN700.xml the latest version: 1.229 has been locked by user: user1
    at com.stc.repository.versioncontrol.impl.VCWrapperImpl.retrievePersistedObject(VCWrapperImpl.java:1639)
    at com.stc.repository.versioncontrol.impl.VCWrapperImpl.checkOutForWrite(VCWrapperImpl.java:907)
    at com.stc.repository.workspace.impl.WorkspaceImpl.checkOutFileToWorkspace(WorkspaceImpl.java:825)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms