Dear All,
I am new to Content Manager. We have a requirement to add groups to users in Content Manager. Since the no of edits are close to 100K, I am creating a Java program to add the groups programmatically.
I found the sample program to connect to ICM and tried to connect to content manager but it doesn't work. I am running the Java program via cmd line and once I execute the program, nothing happens. The message says 'Connecting to Library server' but nothing happens.
DKDatastoreICM dsICM = new DKDatastoreICM(); // Create new datastore object. dsICM.connect(database,userName,password,""); // Connect to the datastore.
The Java program resides in CM server and I think this is the correct place to execute the program. Also, please let me know if setting of all environment variables mentioned in cmbenv81.bat file is required to connect to CM because I have added the required libraries and my Java program compiles without any issue.
Below is the information in logs,
[ERR]: 07/05/2022 at 13:13:11.401 GMT @ XXXXX (172.28.229.8); # com.ibm.mm.sdk.logtool.DKLogManagerFactory_default[USR]: XXXXXX (S:\Users\XXXXXX) @ S:\Programs\IBM\SQLLIB\java\jdk\bin[THD]: main ( ee1e83dd )[THG]: main = { Thread-5, Attach API wait loop, Signal Dispatcher, main }[LOC]: com.ibm.mm.sdk.server.DKDatastoreICM:checkIsCICS[MSG]: [ WARN] DKLogAccessor INTERNAL ERROR: DKLogAccessor can not instantiate the log manager of type com.ibm.mm.sdk.logtool.DKLogManagerFactory_Log4J.[ NOTE] The default log manager and default settings will be used. com.ibm.mm.sdk.logtool.DKLogManagerFactory_default
Any insights of how to connect would be highly appreciated.
Thanks,
Balaji D N
------------------------------
Balaji N
------------------------------