{"id":14206,"date":"2020-05-29T18:30:45","date_gmt":"2020-05-29T16:30:45","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/"},"modified":"2020-05-29T18:30:45","modified_gmt":"2020-05-29T16:30:45","slug":"documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/","title":{"rendered":"Documentum &#8211; D2-REST Privileged Client utility 16.7+ fails with class not found"},"content":{"rendered":"<p>In previous blogs, I already talked about how to <a href=\"https:\/\/www.dbi-services.com\/blog\/documentum-fixing-issues-with-the-d2-privileged-client-utility\/\" target=\"_blank\" rel=\"noopener noreferrer\">fix issues with the D2 Privileged Client utility<\/a> (for 16.4.0, 16.5.0 and 16.5.1) as well as how to execute\/use this utility for <a href=\"https:\/\/www.dbi-services.com\/blog\/documentum-automatic-silent-registration-approval-of-dfc-clients\/\" target=\"_blank\" rel=\"noopener noreferrer\">automatic\/silent registration &amp; approval of DFC Client IDs<\/a>. I&#8217;m now back to this topic because I had the opportunity recently to work with D2-REST 16.7.1 so I took some time to compare the 16.7.0, 16.7.1 and the newly released 20.2 versions as well of this utility. As you can expect by reading this blog, it&#8217;s not error free, otherwise I wouldn&#8217;t be writing something.<\/p>\n<p>In the previous blog, I mentioned five different issues with the utility: no shebang, incorrect first line, log4j configuration using a hardcoded Windows path, DOS format for the shell script and finally the unavailability of secure communication support. The first bad news is that despite my SR opened with the OpenText Support a year ago, and their bugs opened internally, the first four issues haven&#8217;t been fixed until the 20.2 version (here I&#8217;m only talking about D2-REST which usually doesn&#8217;t receive a lot of update\/patch, if any at all). All the versions of the D2-REST war files available on the OpenText site except 20.2 do not include an updated version of the shell script. It would be so easy to fix all these 4 issues but nobody is taking the time to, apparently. On the other hand, the non-support of the secure communication has fortunately been fixed on the 16.7.1 version. So starting with this one, you can now use the D2 Privileged Client utility without having to first switch your client dfc.properties to use native communication, you can just run it even with secure channels. That&#8217;s the status about the issues I discussed in my previous blog already but there is more and that&#8217;s the main goal of this blog!<\/p>\n<p>Starting with 16.7.0, OpenText apparently added a second jar file in the same folder with the Java source of the D2 Privileged Client utility. Which is fine, right? Well in principle yes, that&#8217;s good because we can actually see what is done and how it&#8217;s done using the source code&#8230; But this second jar file actually cause a new issue! After fixing the first issues discussed earlier and trying to run the utility:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1; highlight: [11,12,17,19,57,93,94,95,101,102,103,104]\">[weblogic@wsd2rest-0 ~]$ cd $APPLICATIONS\n[weblogic@wsd2rest-0 applications]$ \n[weblogic@wsd2rest-0 applications]$ ls -l\ntotal 4\ndrwxr-x---. 8 weblogic weblogic 4096 Mar 22 08:38 D2-REST\n[weblogic@wsd2rest-0 applications]$ \n[weblogic@wsd2rest-0 applications]$ cd D2-REST\/utils\/d2privilegedclient\/\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ ls -l\ntotal 44\n-rw-r-----. 1 weblogic weblogic 18469 Mar 22 08:39 D2PrivilegedClientUtil-16.7.1.jar\n-rw-r-----. 1 weblogic weblogic  9431 Mar 22 08:39 D2PrivilegedClientUtil-16.7.1-sources.jar\n-rw-r-----. 1 weblogic weblogic  1214 Mar 22 08:39 D2PrivilegedClientUtil.cmd\n-rwx------. 1 weblogic weblogic  1119 Mar 22 09:11 D2PrivilegedClientUtil.sh\n-rw-r-----. 1 weblogic weblogic  1141 Mar 22 09:11 D2PrivilegedClientUtil.sh.orig\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ .\/D2PrivilegedClientUtil.sh -d ${gr} -u ${user} -p ${pw}\nRunning D2PrivilegedClientUtil\nError: Could not find or load main class com.opentext.d2.util.D2PrivilegedClientUtil\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ cat D2PrivilegedClientUtil.sh\n#!\/bin\/bash\n\n# Run this script with no arguments to get command line usage\n\n# Specify location of WEB-INF folder\nwebinfdir=..\/..\/WEB-INF\n\necho \"Running D2PrivilegedClientUtil\"\n\n# The following will suppress DFC warnings about non-existing log4j configuration\n# if the specified log4j.properties file actually exists ... adjust as desired.\nlog4j_configuration=${webinfdir}\/classes\/log4j.properties\n\n# Note: In order to run this utility on a Developer system, the following jar files must\n# be copied from the corresponding DocumentumCoreProject\/dfs*\/dfs-sdk*\/lib\/java\/utils\n# folder to WEB-INF\/lib:\n#\n#   aspectjrt.jar\n#   log4j.jar\n\nosname=`uname`\nkey=`expr substr $osname 1 6`\nif [ `expr match \"$key\" \"CYGWIN\"` != \"6\" ]\nthen\n   # Linux\n    utiljar=`find D2PrivilegedClientUtil*.jar`\n    classpath=\"${utiljar}:${webinfdir}\/classes\/:${webinfdir}\/lib\/*\"\nelse\n   # Cygwin\n    utiljar=`\/usr\/bin\/find.exe D2PrivilegedClientUtil*.jar`\n    classpath=\"${utiljar};${webinfdir}\/classes\/;${webinfdir}\/lib\/*\"\nfi\n\njava -Dlog4j.configuration=\"${log4j_configuration}\" -cp \"${classpath}\" com.opentext.d2.util.D2PrivilegedClientUtil $*\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ sed -i 's,^java ,echo \"------\"necho \"The Classpath is set to &gt;&gt;&gt;&gt;${classpath}&lt;&lt;&lt;&lt;\"necho \"------\"nn&amp;,' D2PrivilegedClientUtil.sh\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ cat D2PrivilegedClientUtil.sh\n#!\/bin\/bash\n\n# Run this script with no arguments to get command line usage\n\n# Specify location of WEB-INF folder\nwebinfdir=..\/..\/WEB-INF\n\necho \"Running D2PrivilegedClientUtil\"\n\n# The following will suppress DFC warnings about non-existing log4j configuration\n# if the specified log4j.properties file actually exists ... adjust as desired.\nlog4j_configuration=${webinfdir}\/classes\/log4j.properties\n\n# Note: In order to run this utility on a Developer system, the following jar files must\n# be copied from the corresponding DocumentumCoreProject\/dfs*\/dfs-sdk*\/lib\/java\/utils\n# folder to WEB-INF\/lib:\n#\n#   aspectjrt.jar\n#   log4j.jar\n\nosname=`uname`\nkey=`expr substr $osname 1 6`\nif [ `expr match \"$key\" \"CYGWIN\"` != \"6\" ]\nthen\n   # Linux\n    utiljar=`find D2PrivilegedClientUtil*.jar`\n    classpath=\"${utiljar}:${webinfdir}\/classes\/:${webinfdir}\/lib\/*\"\nelse\n   # Cygwin\n    utiljar=`\/usr\/bin\/find.exe D2PrivilegedClientUtil*.jar`\n    classpath=\"${utiljar};${webinfdir}\/classes\/;${webinfdir}\/lib\/*\"\nfi\n\necho \"------\"\necho \"The Classpath is set to &gt;&gt;&gt;&gt;${classpath}&lt;&lt;&lt;&lt;\"\necho \"------\"\n\njava -Dlog4j.configuration=\"${log4j_configuration}\" -cp \"${classpath}\" com.opentext.d2.util.D2PrivilegedClientUtil $*\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ .\/D2PrivilegedClientUtil.sh -d ${gr} -u ${user} -p ${pw}\nRunning D2PrivilegedClientUtil\n------\nThe Classpath is set to &gt;&gt;&gt;&gt;D2PrivilegedClientUtil-16.7.1.jar\nD2PrivilegedClientUtil-16.7.1-sources.jar:..\/..\/WEB-INF\/classes\/:..\/..\/WEB-INF\/lib\/*&lt;&lt;&lt;&lt;\n------\nError: Could not find or load main class com.opentext.d2.util.D2PrivilegedClientUtil\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$<\/pre>\n<p>&nbsp;<\/p>\n<p>As you can see above, the environment variable &#8220;<em>${classpath}<\/em>&#8221; is actually over 2 lines&#8230; This breaks the java command that is supposed to execute the utility since it cannot find the correct class file in the classpath. I opened another SR with the OpenText Support (<strong>SR#4480014<\/strong>) for this new issue and to explain them what is the issue and how to solve it. While writing this blog, the ticket is still under investigation on OpenText side and I have no estimate on when it will be fixed exactly but don&#8217;t expect it before at least 20.3 or maybe even 20.4 for D2-REST since 20.3 is approaching fast&#8230; For D2, it might be introduced in a patch for the 20.2 already, let&#8217;s see.<\/p>\n<p>Anyway, until then and to fix the utility, it&#8217;s really simple: either you just rename the source jar file so it doesn&#8217;t get included in the classpath (simplest) or you update the command that fetch the jar files to automatically set the classpath:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1; highlight: [1,2,7,16,21,30,39,44,53]\">[weblogic@wsd2rest-0 d2privilegedclient]$ ### First solution: rename the source jar file:\n[weblogic@wsd2rest-0 d2privilegedclient]$ mv D2PrivilegedClientUtil-16.7.1-sources.jar bck_D2PrivilegedClientUtil-16.7.1-sources.jar\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ .\/D2PrivilegedClientUtil.sh -d ${gr} -u ${user} -p ${pw}\nRunning D2PrivilegedClientUtil\n------\nThe Classpath is set to &gt;&gt;&gt;&gt;D2PrivilegedClientUtil-16.7.1.jar:..\/..\/WEB-INF\/classes\/:..\/..\/WEB-INF\/lib\/*&lt;&lt;&lt;&lt;\n------\n2020-03-22 09:25:52,701 UTC [INFO ] (main) - c.e.x.r.c.d.dao.impl.PrivilegeClientDaoImpl   : Checking dm_client_rights for dfc: dfc_Il39fcV3grqLj46AqOXV6ChBaEWk\nD2-REST_wsd2rest-0_hBaEWk\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ mv bck_D2PrivilegedClientUtil-16.7.1-sources.jar D2PrivilegedClientUtil-16.7.1-sources.jar\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ ### Second solution: change the classpath (1st possibility)\n[weblogic@wsd2rest-0 d2privilegedclient]$ grep \"utiljar=\" D2PrivilegedClientUtil.sh\n    utiljar=`find D2PrivilegedClientUtil*.jar`\n    utiljar=`\/usr\/bin\/find.exe D2PrivilegedClientUtil*.jar`\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ sed -i 's,(utiljar=.*D2PrivilegedClientUtil.*jar),1 | grep -v sources,' D2PrivilegedClientUtil.sh\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ grep \"utiljar=\" D2PrivilegedClientUtil.sh\n    utiljar=`find D2PrivilegedClientUtil*.jar | grep -v sources`\n    utiljar=`\/usr\/bin\/find.exe D2PrivilegedClientUtil*.jar | grep -v sources`\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ .\/D2PrivilegedClientUtil.sh -d ${gr} -u ${user} -p ${pw}\nRunning D2PrivilegedClientUtil\n------\nThe Classpath is set to &gt;&gt;&gt;&gt;D2PrivilegedClientUtil-16.7.1.jar:..\/..\/WEB-INF\/classes\/:..\/..\/WEB-INF\/lib\/*&lt;&lt;&lt;&lt;\n------\n2020-03-22 09:28:12,043 UTC [INFO ] (main) - c.e.x.r.c.d.dao.impl.PrivilegeClientDaoImpl   : Checking dm_client_rights for dfc: dfc_Il39fcV3grqLj46AqOXV6ChBaEWk\nD2-REST_wsd2rest-0_hBaEWk\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ sed -i 's,(utiljar=.*D2PrivilegedClientUtil.*jar).*sources,1,' D2PrivilegedClientUtil.sh\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ ### Second solution: change the classpath (2nd possibility)\n[weblogic@wsd2rest-0 d2privilegedclient]$ grep \"utiljar=\" D2PrivilegedClientUtil.sh\n    utiljar=`find D2PrivilegedClientUtil*.jar`\n    utiljar=`\/usr\/bin\/find.exe D2PrivilegedClientUtil*.jar`\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ sed -i 's,(utiljar=.*D2PrivilegedClientUtil.*jar),1 | xargs | sed \"s@ @:@\",' D2PrivilegedClientUtil.sh\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ grep \"utiljar=\" D2PrivilegedClientUtil.sh\n    utiljar=`find D2PrivilegedClientUtil*.jar | xargs | sed \"s@ @:@\"`\n    utiljar=`\/usr\/bin\/find.exe D2PrivilegedClientUtil*.jar | xargs | sed \"s@ @:@\"`\n[weblogic@wsd2rest-0 d2privilegedclient]$ \n[weblogic@wsd2rest-0 d2privilegedclient]$ .\/D2PrivilegedClientUtil.sh -d ${gr} -u ${user} -p ${pw}\nRunning D2PrivilegedClientUtil\n------\nThe Classpath is set to &gt;&gt;&gt;&gt;D2PrivilegedClientUtil-16.7.1.jar:D2PrivilegedClientUtil-16.7.1-sources.jar:..\/..\/WEB-INF\/classes\/:..\/..\/WEB-INF\/lib\/*&lt;&lt;&lt;&lt;\n------\n2020-03-22 09:30:08,477 UTC [INFO ] (main) - c.e.x.r.c.d.dao.impl.PrivilegeClientDaoImpl   : Checking dm_client_rights for dfc: dfc_Il39fcV3grqLj46AqOXV6ChBaEWk\nD2-REST_wsd2rest-0_hBaEWk\n[weblogic@wsd2rest-0 d2privilegedclient]$<\/pre>\n<p>&nbsp;<\/p>\n<p>There are plenty of ways to have this fixed depending on the distribution you are running on. I haven&#8217;t tested on cygwin because, honestly, who in 2020 is using cygwin? The simplest and most portable way to avoid the issue is obviously the first one (renaming the source jar file) because it doesn&#8217;t change the content of the shell script. Therefore, I would personally go with this one until OpenText fix the product.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In previous blogs, I already talked about how to fix issues with the D2 Privileged Client utility (for 16.4.0, 16.5.0 and 16.5.1) as well as how to execute\/use this utility for automatic\/silent registration &amp; approval of DFC Client IDs. I&#8217;m now back to this topic because I had the opportunity recently to work with D2-REST [&hellip;]<\/p>\n","protected":false},"author":20,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197,525],"tags":[1900,1963,1964,1787,129,1965],"type_dbi":[],"class_list":["post-14206","post","type-post","status-publish","format-standard","hentry","category-application-integration-middleware","category-enterprise-content-management","tag-16-7","tag-16-7-1","tag-20-2","tag-d2-rest","tag-documentum","tag-privileged-client"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Documentum - D2-REST Privileged Client utility 16.7+ fails with class not found - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Documentum - D2-REST Privileged Client utility 16.7+ fails with class not found\" \/>\n<meta property=\"og:description\" content=\"In previous blogs, I already talked about how to fix issues with the D2 Privileged Client utility (for 16.4.0, 16.5.0 and 16.5.1) as well as how to execute\/use this utility for automatic\/silent registration &amp; approval of DFC Client IDs. I&#8217;m now back to this topic because I had the opportunity recently to work with D2-REST [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-29T16:30:45+00:00\" \/>\n<meta name=\"author\" content=\"Morgan Patou\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@MorganPatou\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Morgan Patou\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/\"},\"author\":{\"name\":\"Morgan Patou\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8\"},\"headline\":\"Documentum &#8211; D2-REST Privileged Client utility 16.7+ fails with class not found\",\"datePublished\":\"2020-05-29T16:30:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/\"},\"wordCount\":639,\"commentCount\":0,\"keywords\":[\"16.7\",\"16.7.1\",\"20.2\",\"D2-REST\",\"Documentum\",\"Privileged Client\"],\"articleSection\":[\"Application integration &amp; Middleware\",\"Enterprise content management\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/\",\"name\":\"Documentum - D2-REST Privileged Client utility 16.7+ fails with class not found - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"datePublished\":\"2020-05-29T16:30:45+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentum &#8211; D2-REST Privileged Client utility 16.7+ fails with class not found\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8\",\"name\":\"Morgan Patou\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g\",\"caption\":\"Morgan Patou\"},\"description\":\"Morgan Patou has over 12 years of experience in Enterprise Content Management (ECM) systems, with a strong focus in recent years on platforms such as Alfresco, Documentum, and M-Files. He specializes in the architecture, setup, customization, and maintenance of ECM infrastructures in complex &amp; critical environments. Morgan is well-versed in both engineering and operations aspects, including high availability design, system integration, and lifecycle management. He also has a solid foundation in open-source and proprietary technologies - ranging from Apache, OpenLDAP or Kerberos to enterprise-grade systems like WebLogic. Morgan Patou holds an Engineering Degree in Computer Science from ENSISA (\u00c9cole Nationale Sup\u00e9rieure d'Ing\u00e9nieurs Sud Alsace) in Mulhouse, France. He is Alfresco Content Services Certified Administrator (ACSCA), Alfresco Content Services Certified Engineer (ACSCE) as well as OpenText Documentum Certified Administrator. His industry experience spans the Public Sector, IT Services, Financial Services\/Banking, and the Pharmaceutical industry.\",\"sameAs\":[\"https:\/\/blog.dbi-services.com\/author\/morgan-patou\/\",\"https:\/\/x.com\/MorganPatou\"],\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/morgan-patou\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Documentum - D2-REST Privileged Client utility 16.7+ fails with class not found - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/","og_locale":"en_US","og_type":"article","og_title":"Documentum - D2-REST Privileged Client utility 16.7+ fails with class not found","og_description":"In previous blogs, I already talked about how to fix issues with the D2 Privileged Client utility (for 16.4.0, 16.5.0 and 16.5.1) as well as how to execute\/use this utility for automatic\/silent registration &amp; approval of DFC Client IDs. I&#8217;m now back to this topic because I had the opportunity recently to work with D2-REST [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/","og_site_name":"dbi Blog","article_published_time":"2020-05-29T16:30:45+00:00","author":"Morgan Patou","twitter_card":"summary_large_image","twitter_creator":"@MorganPatou","twitter_misc":{"Written by":"Morgan Patou","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/"},"author":{"name":"Morgan Patou","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8"},"headline":"Documentum &#8211; D2-REST Privileged Client utility 16.7+ fails with class not found","datePublished":"2020-05-29T16:30:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/"},"wordCount":639,"commentCount":0,"keywords":["16.7","16.7.1","20.2","D2-REST","Documentum","Privileged Client"],"articleSection":["Application integration &amp; Middleware","Enterprise content management"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/","url":"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/","name":"Documentum - D2-REST Privileged Client utility 16.7+ fails with class not found - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2020-05-29T16:30:45+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/documentum-d2-rest-privileged-client-utility-16-7-fails-with-class-not-found\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Documentum &#8211; D2-REST Privileged Client utility 16.7+ fails with class not found"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8","name":"Morgan Patou","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5d7f5bec8b597db68a09107a6f5309e3870d6296ef94fb10ead4b09454ca67e5?s=96&d=mm&r=g","caption":"Morgan Patou"},"description":"Morgan Patou has over 12 years of experience in Enterprise Content Management (ECM) systems, with a strong focus in recent years on platforms such as Alfresco, Documentum, and M-Files. He specializes in the architecture, setup, customization, and maintenance of ECM infrastructures in complex &amp; critical environments. Morgan is well-versed in both engineering and operations aspects, including high availability design, system integration, and lifecycle management. He also has a solid foundation in open-source and proprietary technologies - ranging from Apache, OpenLDAP or Kerberos to enterprise-grade systems like WebLogic. Morgan Patou holds an Engineering Degree in Computer Science from ENSISA (\u00c9cole Nationale Sup\u00e9rieure d'Ing\u00e9nieurs Sud Alsace) in Mulhouse, France. He is Alfresco Content Services Certified Administrator (ACSCA), Alfresco Content Services Certified Engineer (ACSCE) as well as OpenText Documentum Certified Administrator. His industry experience spans the Public Sector, IT Services, Financial Services\/Banking, and the Pharmaceutical industry.","sameAs":["https:\/\/blog.dbi-services.com\/author\/morgan-patou\/","https:\/\/x.com\/MorganPatou"],"url":"https:\/\/www.dbi-services.com\/blog\/author\/morgan-patou\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/14206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=14206"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/14206\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=14206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=14206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=14206"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=14206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}