Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Concurrency problem in updating MetaTageer Project
brijesh123
Hello ,
I am facing an error while updating Proects in MetaTagger thorugh java code . If more than one user is submitting a DCR into workflow there is a concurrency problem coming up while updating the vocabs in MetaTagger.
Here is a part of the code that I have used ,
vc.removeProject(projectName);
vc.createProject(projectName, true,3);
int projectID = vc.openProject(projectName);
System.out.println("Project ID --- > " + projectID);
vc.setUIDPrefix(projectName);
updateXML(fileName,strUId,strLabel,strAlternates,strAction);
vc.importLocalXMLFile(fileName, (new MTXMLUpdation()).new test());
vc.loadVocab((new MTXMLUpdation()).new test());
vc.commitProject(projectName);
System.out.println("Status before -> " + vc.deployedStatus());
vc.deploy();
System.out.println("Status after -> " + vc.deployedStatus());
vc.goLive(projectName);
vc.closeProject();
System.out.println("END OF PRG" );
If any body has a solution , please reply !
Regards,
Find more posts tagged with
Comments
There are no comments yet