public int duplicateCategory(int userID, CategoryVO catVO)
{
int catId = -1;
try {
InitialContext ic = CVUtility.getInitialContext();
KnowledgeBaseLocalHome home = (KnowledgeBaseLocalHome) ic.lookup("local/KnowledgeBase");
KnowledgeBaseLocal local = home.create();
local.setDataSource(this.dataSource);
// current category's parent is not to be changed so the parent parameter
// is -1
catId = local.duplicateCategory(userID, catVO);
} catch (Exception e) {