Help with session manager
Hello everyone,
I need help using session manager. I have created the session and no I need to be able to use the session in order to create a folder. The session is only called from an admin so they will always have the permission to create the folder.
Here is what I have so far.
IDfSession sessionFC = null;
IDfSessionManager sessionManagerFC = null;
DfClientX clientx = new DfClientX();
IDfClient client = clientx.getLocalClient();
sessionManagerFC = client.newSessionManager();
sessionFC = sessionManagerFC.getSession(docbase);
IDfSysObject folder = null;
folder = (IDfSysObject) sessionFC.newObject("dm_folder");
I am currently getting the following error occuring at the underlined part in my code.
DfIdentityException:: THREAD: http-bio-8080-exec-1; MSG: [DFC_BOF_WRONG_IDENTITY
] LoginInfo and Principal for "it_dev" docbase are not defined or wrong.; ERRORC
ODE: 1906; NEXT: null
Comments
-
- You will need
- folder.setObjectName("Some old pAddy Farmer");
- folder.save();
- Your Global Registry settings are wrong in dfc.properties file.
- This is what I have for my D7.1 development vm
dfc.globalregistry.repository=AllSpark
dfc.globalregistry.username=dm_bof_registry
dfc.globalregistry.password=AAAAECdC5fr1jYPp6ze3Ng3igG7e8ZmOBGeBo4tJToTToDtA
0 - You will need
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax