{"id":9032,"date":"2016-10-06T10:01:27","date_gmt":"2016-10-06T08:01:27","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/"},"modified":"2016-10-06T10:01:27","modified_gmt":"2016-10-06T08:01:27","slug":"documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/","title":{"rendered":"Documentum story &#8211; D2EventSenderMailMethod when multiple Documentum repositories are used."},"content":{"rendered":"<p>When several repositories are accessed through the same Java Method Server (JMS), it might be needed to have a different dfc.properties parameters for the D2EventSenderMailMethod depending on the repository.<br \/>\nThis can be issued using an external Java call to the D2EventSenderMailMethod and setting a different class path to point to the desired dfc.properties.<\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\">sh -c 'java -cp \"&lt;DOCUMENTUM_SHARED&gt;\/shared\/d2eventsender\/Docbase:$CLASSPATH \" com.emc.d2.api.methods.D2EventSenderMailMethod \"$@ \"' \/bin\/sh<\/pre>\n<p>&lt;DOCUMENTUM_SHARED&gt; is to be replaced with the path to $DOCUMENTUM_SHARED.<\/p>\n<p>it is a good idea to set the memory limits values and not keep the default using the xms and xmx command line arguments:<\/p>\n<pre class=\"brush: actionscript3; gutter: false; first-line: 1\">sh -c 'java -xms32m -xmx64m -cp \"&lt;DOCUMENTUM_SHARED&gt;\/d2eventsender\/Docbase:$CLASSPATH \" com.emc.d2.api.methods.D2EventSenderMailMethod \"$@ \"' \/bin\/sh<\/pre>\n<p>To put this in place the method_verb for the dm_method needs to be updated as described below:<\/p>\n<ol>\n<li>Open a Web Browser and access to the DA<\/li>\n<li>Login with the dmadmin user to the docbase you want to configure. eg: CompanyDocbase<\/li>\n<li>Expand the &#8220;Job Management&#8221; menu.<\/li>\n<li>Click on &#8220;Methods&#8221;.<\/li>\n<li>Search for &#8220;D2EventSenderMailMethod&#8221;.<\/li>\n<li>Right click on the &#8220;D2EventSenderMailMethod&#8221; method and Select &#8220;properties&#8221;<\/li>\n<li>Update the &#8220;Verb :&#8221; field<br \/>\nfrom:<br \/>\njava com.emc.d2.api.methods.D2EventSenderMailMethod<br \/>\nto:<br \/>\nsh -c &#8216;java -xms32m -xmx64m -cp &#8220;&lt;DOCUMENTUM_SHARED&gt;\/d2eventsender\/Docbase:$CLASSPATH &#8221; com.emc.d2.api.methods.D2EventSenderMailMethod &#8220;$@ &#8220;&#8216; \/bin\/sh<\/li>\n<\/ol>\n<p>This can be done on each docbase but it need to be taken in account that if a lot of mails are sent due to jobs running in background, the extensive usage of the Java might fail due to the host machine memory size.<\/p>\n<p>To reset the D2EventSenderMailMethod to the original value.\u00a0Open an idql session using:<\/p>\n<ol>\n<li>idql CompanyDocbase -Udmadmin -Pxxx<\/li>\n<li>Retrieve the actual method_verb using the following commands:<br \/>\n1&gt; select use_method_server, method_verb from dm_method where object_name = &#8216;D2EventSenderMailMethod&#8217;;<br \/>\n2&gt; go<\/li>\n<li>Update the method verb using the following commands:<br \/>\n1&gt; update dm_method objects set use_method_server = true, set method_verb = &#8216;com.emc.d2.api.methods.D2Method -class_name com.emc.d2.api.methods.D2EventSenderMailMethod&#8217; where object_name = &#8216;D2EventSenderMailMethod&#8217;;<br \/>\n2&gt; go<\/li>\n<li>Exit the idql session using:<br \/>\n1&gt; exit<\/li>\n<\/ol>\n<p>In conclusion, The right configuration needs to be found depending on the number of repositories that are handled by the Java Methods Server (JMS), the application configured feature or jobs that uses D2EventSenderMailMethod and the server memory sizing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When several repositories are accessed through the same Java Method Server (JMS), it might be needed to have a different dfc.properties parameters for the D2EventSenderMailMethod depending on the repository. This can be issued using an external Java call to the D2EventSenderMailMethod and setting a different class path to point to the desired dfc.properties. sh -c [&hellip;]<\/p>\n","protected":false},"author":24,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[525],"tags":[],"type_dbi":[],"class_list":["post-9032","post","type-post","status-publish","format-standard","hentry","category-enterprise-content-management"],"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 story - D2EventSenderMailMethod when multiple Documentum repositories are used. - 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-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Documentum story - D2EventSenderMailMethod when multiple Documentum repositories are used.\" \/>\n<meta property=\"og:description\" content=\"When several repositories are accessed through the same Java Method Server (JMS), it might be needed to have a different dfc.properties parameters for the D2EventSenderMailMethod depending on the repository. This can be issued using an external Java call to the D2EventSenderMailMethod and setting a different class path to point to the desired dfc.properties. sh -c [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-10-06T08:01:27+00:00\" \/>\n<meta name=\"author\" content=\"G\u00e9rard Wisson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"G\u00e9rard Wisson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 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-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/\"},\"author\":{\"name\":\"G\u00e9rard Wisson\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/ad54b5e621903122c00c6b7921c6ab85\"},\"headline\":\"Documentum story &#8211; D2EventSenderMailMethod when multiple Documentum repositories are used.\",\"datePublished\":\"2016-10-06T08:01:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/\"},\"wordCount\":387,\"commentCount\":0,\"articleSection\":[\"Enterprise content management\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/\",\"name\":\"Documentum story - D2EventSenderMailMethod when multiple Documentum repositories are used. - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"datePublished\":\"2016-10-06T08:01:27+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/ad54b5e621903122c00c6b7921c6ab85\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentum story &#8211; D2EventSenderMailMethod when multiple Documentum repositories are used.\"}]},{\"@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\/ad54b5e621903122c00c6b7921c6ab85\",\"name\":\"G\u00e9rard Wisson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/1eb607e2c436690f1f57c55db47a3fabb0d11955ea9a2510605d5e5813632408?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1eb607e2c436690f1f57c55db47a3fabb0d11955ea9a2510605d5e5813632408?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1eb607e2c436690f1f57c55db47a3fabb0d11955ea9a2510605d5e5813632408?s=96&d=mm&r=g\",\"caption\":\"G\u00e9rard Wisson\"},\"description\":\"G\u00e9rard Wisson has more than ten years of experience in Enterprise Content Management (ECM) with Documentum as well as in Oracle WebLogic and Java EE \/ J2EE infrastructures. He is specialized in ECM infrastructure services such as installation, upgrade, high availability, and administration as well as in Oracle WebLogic services such as installation, configuration, and management. He is very experienced in the monitoring and optimization of Java EE \/ J2EE infrastructures with Grid\/Cloud Control and JVMD. G\u00e9rard Wisson is certified Oracle Weblogic Server 11g System Administrator and Oracle Certified Associate. Prior to joining dbi services, G\u00e9rard Wisson was Senior Consultant at Solfit in Basel. He holds a diploma in Electrical Engineering from the University of Strasbourg (F). His branch-related experience covers Financial Services \/ Banking, Chemicals &amp; Pharmaceuticals, etc.\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/gerard-wisson\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Documentum story - D2EventSenderMailMethod when multiple Documentum repositories are used. - 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-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/","og_locale":"en_US","og_type":"article","og_title":"Documentum story - D2EventSenderMailMethod when multiple Documentum repositories are used.","og_description":"When several repositories are accessed through the same Java Method Server (JMS), it might be needed to have a different dfc.properties parameters for the D2EventSenderMailMethod depending on the repository. This can be issued using an external Java call to the D2EventSenderMailMethod and setting a different class path to point to the desired dfc.properties. sh -c [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/","og_site_name":"dbi Blog","article_published_time":"2016-10-06T08:01:27+00:00","author":"G\u00e9rard Wisson","twitter_card":"summary_large_image","twitter_misc":{"Written by":"G\u00e9rard Wisson","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/"},"author":{"name":"G\u00e9rard Wisson","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/ad54b5e621903122c00c6b7921c6ab85"},"headline":"Documentum story &#8211; D2EventSenderMailMethod when multiple Documentum repositories are used.","datePublished":"2016-10-06T08:01:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/"},"wordCount":387,"commentCount":0,"articleSection":["Enterprise content management"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/","url":"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/","name":"Documentum story - D2EventSenderMailMethod when multiple Documentum repositories are used. - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2016-10-06T08:01:27+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/ad54b5e621903122c00c6b7921c6ab85"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/documentum-story-d2eventsendermailmethod-multiple-documentum-repositories-used\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Documentum story &#8211; D2EventSenderMailMethod when multiple Documentum repositories are used."}]},{"@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\/ad54b5e621903122c00c6b7921c6ab85","name":"G\u00e9rard Wisson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1eb607e2c436690f1f57c55db47a3fabb0d11955ea9a2510605d5e5813632408?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1eb607e2c436690f1f57c55db47a3fabb0d11955ea9a2510605d5e5813632408?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1eb607e2c436690f1f57c55db47a3fabb0d11955ea9a2510605d5e5813632408?s=96&d=mm&r=g","caption":"G\u00e9rard Wisson"},"description":"G\u00e9rard Wisson has more than ten years of experience in Enterprise Content Management (ECM) with Documentum as well as in Oracle WebLogic and Java EE \/ J2EE infrastructures. He is specialized in ECM infrastructure services such as installation, upgrade, high availability, and administration as well as in Oracle WebLogic services such as installation, configuration, and management. He is very experienced in the monitoring and optimization of Java EE \/ J2EE infrastructures with Grid\/Cloud Control and JVMD. G\u00e9rard Wisson is certified Oracle Weblogic Server 11g System Administrator and Oracle Certified Associate. Prior to joining dbi services, G\u00e9rard Wisson was Senior Consultant at Solfit in Basel. He holds a diploma in Electrical Engineering from the University of Strasbourg (F). His branch-related experience covers Financial Services \/ Banking, Chemicals &amp; Pharmaceuticals, etc.","url":"https:\/\/www.dbi-services.com\/blog\/author\/gerard-wisson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9032","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\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=9032"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9032\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=9032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=9032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=9032"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=9032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}