{"id":4346,"date":"2015-02-10T09:00:00","date_gmt":"2015-02-10T08:00:00","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/"},"modified":"2015-02-10T09:00:00","modified_gmt":"2015-02-10T08:00:00","slug":"exception-from-executescript-in-alfresco-share","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/","title":{"rendered":"Exception from executeScript in Alfresco Share"},"content":{"rendered":"<p><img decoding=\"async\" class=\"blog-image aligncenter\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_Alfresco_Logo2.jpg\" alt=\"\" \/><\/p>\n<p>I didn&#8217;t have the opportunity to post a new entry about Alfresco in this blog for a long time now, so I will fix this! In this blog entry, I will talk about a bug I encountered a few months ago. I resolved it but I, so far, not had the time to share my knowledge with you.<\/p>\n<h3>I. Description of the issue<\/h3>\n<p>This bug appears no matter what the version of Alfresco is used, regardless of the components that are installed, aso&#8230; So what is this bug? In fact, this bug isn&#8217;t blocking anything. Actually it has no impact on the daily work, however, it fills up the Alfresco log files very quickly which can be problematic if you are an administrator searching for information in these log files! Indeed, each time a user accesses a page of Alfresco, between 10 and 50 Java Exceptions are generated (always the same), this create gigabytes log files in minutes\/hours. Here is the exception I&#8217;m talking about:<\/p>\n<p style=\"font-size: 9px; background: #e7e6e6; border: solid 1px #ccc;\"><code class=\"mceVisualAid mceVisualGuides\">...<br \/>\nJul 08, 2014 10:42:16 AM org.apache.catalina.startup.Catalina start<br \/>\nINFO: Server startup in 95898 ms<br \/>\n2013-07-08 10:45:02,300 INFO [web.site.EditionInterceptor] [http-apr-8080-exec-1] Successfully retrieved license information from Alfresco.<br \/>\n2013-07-08 10:45:02,417 ERROR [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-3] Exception from executeScript - redirecting to status template error: 06080001 Unknown method specified to remote store API: has<br \/>\norg.springframework.extensions.webscripts.WebScriptException: 06080001 Unknown method specified to remote store API: has<br \/>\nat org.alfresco.repo.web.scripts.bean.BaseRemoteStore.execute(BaseRemoteStore.java:326)<br \/>\nat org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:426)<br \/>\nat org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:433)<br \/>\nat org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:495)<br \/>\nat org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:533)<br \/>\nat org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:276)<br \/>\nat org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:377)<br \/>\nat org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)<br \/>\nat org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)<br \/>\nat javax.servlet.http.HttpServlet.service(HttpServlet.java:722)<br \/>\nat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)<br \/>\nat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)<br \/>\nat org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)<br \/>\nat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)<br \/>\nat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)<br \/>\nat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)<br \/>\nat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)<br \/>\nat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)<br \/>\nat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)<br \/>\nat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)<br \/>\nat org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)<br \/>\nat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)<br \/>\nat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)<br \/>\nat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)<br \/>\nat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)<br \/>\nat org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1813)<br \/>\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)<br \/>\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)<br \/>\nat java.lang.Thread.run(Thread.java:722)<br \/>\n...<br \/>\n<\/code><\/p>\n<p>The first time I encountered this exception, it was on an Alfresco v4.x installation, up and running for some years with a lot of extensions\/customizations (mostly .AMP files). If you need more information about AMPs, it means Alfresco Module Package, it&#8217;s the better way to extend Alfresco. Please take a look at some of my old blogs to find information about how to create this kind of stuff!<\/p>\n<p>I had this exception on more than one Alfresco server, and because of that, I firstly thought that this exception came from an AMP&#8230; Therefore, I went through all these extensions but despite hours of research, I found nothing.<\/p>\n<h3>II. How to replicate the issue<\/h3>\n<p>I tried to replicate this issue with a fresh installation of Alfresco, same version, same extensions, aso&#8230; But I haven&#8217;t been able to do so, at the first place. Finally, one day, I found out that there were something strange with the Alfresco servers on which the Java Exceptions appeared: the &#8220;Sites&#8221; folder weren&#8217;t there. Indeed, after the installation of a new Alfresco server, the deletion of the default site (&#8220;Sample: Web Site Design Project&#8221;) and the deletion of the &#8220;Sites&#8221; folder from the Repository browser, the exception appeared magically in the Alfresco log files&#8230; Now that we know from where this issue comes from, it&#8217;s quite easy to replicate it:<\/p>\n<ol>\n<li>Install a new Alfresco server with the same version from the bundle executable\/binaries (quicker)<\/li>\n<li>Start the Alfresco server and open the Alfresco Share UI (<a href=\"http:\/\/localhost:8080\/share\">http:\/\/localhost:8080\/share<\/a>) using the admin account<\/li>\n<li>Navigate to the Sites finder (<a href=\"http:\/\/localhost:8080\/share\/page\/site-finder\">http:\/\/localhost:8080\/share\/page\/site-finder<\/a>)<\/li>\n<li>Click on &#8220;Search&#8221; to display all existing sites (only the default one is present: &#8220;Sample: Web Site Design Project&#8221;)<\/li>\n<li>Click on &#8220;Delete&#8221; to delete the swsdp site<\/li>\n<li>Navigate to the Repository (<a href=\"http:\/\/localhost:8080\/share\/page\/repository\">http:\/\/localhost:8080\/share\/page\/repository<\/a>)<\/li>\n<li>Remove the &#8220;Sites&#8221; folder on the Repository page (\/Company Home\/Sites)<\/li>\n<li>Refresh the page and take a look at your logs<\/li>\n<\/ol>\n<p>After doing that, you should be able to see a lot of exceptions like the one describe above. Issue replicated!<\/p>\n<h3>III. How to solve the issue<\/h3>\n<p>Being able to replicate an issue is good, but knowing how to solve it is better!<\/p>\n<p>If the &#8220;Sites&#8221; folder has been deleted in the first place, it was because the Alfresco Sites weren&#8217;t used at all. Therefore, the simplest solution to resolve this issue was to get the &#8220;Sites&#8221; folder back. But it&#8217;s not that easy because this folder has a particular type, some particular attributes, aso&#8230; You can&#8217;t just create a new folder, rename it &#8220;Sites&#8221; and hope that it will work ;). Starting from here, what you can do to solve this issue is:<\/p>\n<ol>\n<li>Restore the &#8220;Sites&#8221; folder using a backup<\/li>\n<li>Replicate the &#8220;Sites&#8221; folder from another Alfresco server<\/li>\n<\/ol>\n<p>If you don&#8217;t have a way to restore the &#8220;Sites&#8221; folder like it was my case (after some months, no backup left), here is what you can do to fix this issue:<\/p>\n<p>Let&#8217;s say that the Alfresco server, where the &#8220;Sites&#8221; folder doesn&#8217;t exist anymore, is named &#8220;A&#8221;. Please take a look at the end of this blog entry for some screenshots that may help you.<\/p>\n<ol>\n<li>Install a new Alfresco server with the same version as &#8220;A&#8221; from the bundle executable\/binaries. This can be on your local machine. Let&#8217;s name this Alfresco server &#8220;B&#8221;<\/li>\n<li>Start the Alfresco server &#8220;B&#8221; and open the Alfresco Share UI (<a href=\"http:\/\/localhost:8080\/share\">http:\/\/localhost:8080\/share<\/a>) using the admin account<\/li>\n<li>Navigate to the Sites finder (<a href=\"http:\/\/localhost:8080\/share\/page\/site-finder\">http:\/\/localhost:8080\/share\/page\/site-finder<\/a>)<\/li>\n<li>Click on &#8220;Search&#8221; to display all existing sites (only the default one is present: &#8220;Sample: Web Site Design Project&#8221;)<\/li>\n<li>Click on &#8220;Delete&#8221; to delete the swsdp site<\/li>\n<li>Navigate to the Repository (<a href=\"http:\/\/localhost:8080\/share\/page\/repository\">http:\/\/localhost:8080\/share\/page\/repository<\/a>) (DON&#8217;T delete the &#8220;Sites&#8221; folder)<\/li>\n<li>Configure a replication target on &#8220;B&#8221; to point to &#8220;A&#8221; (take a look at the Alfresco doc: <a href=\"http:\/\/docs.alfresco.com\/4.1\/tasks\/adminconsole-replication-transfertarget.html\">http:\/\/docs.alfresco.com\/4.1\/tasks\/adminconsole-replication-transfertarget.html<\/a>)<\/li>\n<li>Enable the replication:\n<ol>\n<li>Add the Alfresco Share url\u00a0and the RepositoryId of &#8220;A&#8221; into the share-config-custom.xml file of &#8220;B&#8221; (take a look at the Alfresco doc: <a href=\"http:\/\/docs.alfresco.com\/4.1\/tasks\/adminconsole-replication-lockedcontent.html\">http:\/\/docs.alfresco.com\/4.1\/tasks\/adminconsole-replication-lockedcontent.html<\/a>)<\/li>\n<li>Add the &#8220;replication.enabled=true&#8221; into the alfresco-global.properties file of &#8220;B&#8221; (take a look at the Alfresco doc: <a href=\"http:\/\/docs.alfresco.com\/4.1\/tasks\/replication-share.html\">http:\/\/docs.alfresco.com\/4.1\/tasks\/replication-share.html<\/a>)<\/li>\n<li>Restart &#8220;B&#8221; for the changes to be taken into account by Alfresco<\/li>\n<\/ol>\n<\/li>\n<li>Configure a replication job on &#8220;B&#8221; to replicate the &#8220;Sites&#8221; folder from &#8220;B&#8221; to &#8220;A&#8221; (<a href=\"http:\/\/localhost:8080\/share\/page\/console\/admin-console\/replication-jobs\">http:\/\/localhost:8080\/share\/page\/console\/admin-console\/replication-jobs<\/a>)<\/li>\n<li>Run the replication job on &#8220;B&#8221;<span style=\"background-color: initial;\"><br \/>\n<\/span><\/li>\n<\/ol>\n<p>Configure the Replication Target on B (step 7 &#8211; create a folder named &#8220;TransfertToA&#8221; and edit its permissions):<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"CreateReplicationTarget.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CreateReplicationTarget.png\"><img decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto; width: 475px; border: 1px solid #65859a;\" title=\"CreateReplicationTarget.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CreateReplicationTarget.png\" alt=\"CreateReplicationTarget.png\" \/><\/a><\/p>\n<p>Find the Repository ID of A (step 8.1):<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"FindRepositoryId.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/FindRepositoryId.png\"><img decoding=\"async\" style=\"border: 1px solid #65859a;\" title=\"FindRepositoryId.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/FindRepositoryId.png\" alt=\"FindRepositoryId.png\" \/><\/a><\/p>\n<p>Configure the share-config-custom.xml file of B (step 8.1):<\/p>\n<p><a class=\"easyblog-thumb-preview\" title=\"EnableTheReplication.png\" href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/EnableTheReplication.png\"><img decoding=\"async\" style=\"border: 1px solid #65859a;\" title=\"EnableTheReplication.png\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/EnableTheReplication.png\" alt=\"EnableTheReplication.png\" \/><\/a><\/p>\n<p><span style=\"background-color: initial;\">Once the replication job has run on &#8220;B&#8221;, the exceptions will disappear from the log files of &#8220;A&#8221;. I didn&#8217;t go deeper so I don&#8217;t really know if you can create new sites using this newly imported &#8220;Sites&#8221; folder but if you removed this folder in the first place, I would guess that you don&#8217;t really need it ;).<br \/>\n<\/span><\/p>\n<p><span style=\"background-color: initial;\">Thank you for reading this post and I hope this will help. If you need more information, don&#8217;t hesitate to let a little comment below. See you soon for more blogs!<br \/>\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I didn&#8217;t have the opportunity to post a new entry about Alfresco in this blog for a long time now, so I will fix this! In this blog entry, I will talk about a bug I encountered a few months ago. I resolved it but I, so far, not had the time to share my [&hellip;]<\/p>\n","protected":false},"author":20,"featured_media":4347,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[3169,214,301],"type_dbi":[],"class_list":["post-4346","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-application-integration-middleware","tag-alfresco","tag-java","tag-replication"],"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>Exception from executeScript in Alfresco Share - dbi Blog<\/title>\n<meta name=\"description\" content=\"Explanation and resolution of a Java Exception in Alfresco Share using a Replication Target and a Replication Job.\" \/>\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\/exception-from-executescript-in-alfresco-share\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Exception from executeScript in Alfresco Share\" \/>\n<meta property=\"og:description\" content=\"Explanation and resolution of a Java Exception in Alfresco Share using a Replication Target and a Replication Job.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2015-02-10T08:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_Alfresco_Logo2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"432\" \/>\n\t<meta property=\"og:image:height\" content=\"100\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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=\"7 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\/exception-from-executescript-in-alfresco-share\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/\"},\"author\":{\"name\":\"Morgan Patou\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8\"},\"headline\":\"Exception from executeScript in Alfresco Share\",\"datePublished\":\"2015-02-10T08:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/\"},\"wordCount\":1060,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_Alfresco_Logo2.jpg\",\"keywords\":[\"Alfresco\",\"Java\",\"Replication\"],\"articleSection\":[\"Application integration &amp; Middleware\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/\",\"name\":\"Exception from executeScript in Alfresco Share - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_Alfresco_Logo2.jpg\",\"datePublished\":\"2015-02-10T08:00:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8\"},\"description\":\"Explanation and resolution of a Java Exception in Alfresco Share using a Replication Target and a Replication Job.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_Alfresco_Logo2.jpg\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_Alfresco_Logo2.jpg\",\"width\":432,\"height\":100},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Exception from executeScript in Alfresco Share\"}]},{\"@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":"Exception from executeScript in Alfresco Share - dbi Blog","description":"Explanation and resolution of a Java Exception in Alfresco Share using a Replication Target and a Replication Job.","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\/exception-from-executescript-in-alfresco-share\/","og_locale":"en_US","og_type":"article","og_title":"Exception from executeScript in Alfresco Share","og_description":"Explanation and resolution of a Java Exception in Alfresco Share using a Replication Target and a Replication Job.","og_url":"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/","og_site_name":"dbi Blog","article_published_time":"2015-02-10T08:00:00+00:00","og_image":[{"width":432,"height":100,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_Alfresco_Logo2.jpg","type":"image\/jpeg"}],"author":"Morgan Patou","twitter_card":"summary_large_image","twitter_creator":"@MorganPatou","twitter_misc":{"Written by":"Morgan Patou","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/"},"author":{"name":"Morgan Patou","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8"},"headline":"Exception from executeScript in Alfresco Share","datePublished":"2015-02-10T08:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/"},"wordCount":1060,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_Alfresco_Logo2.jpg","keywords":["Alfresco","Java","Replication"],"articleSection":["Application integration &amp; Middleware"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/","url":"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/","name":"Exception from executeScript in Alfresco Share - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_Alfresco_Logo2.jpg","datePublished":"2015-02-10T08:00:00+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/c4d05b25843a9bc2ab20415dae6bd2d8"},"description":"Explanation and resolution of a Java Exception in Alfresco Share using a Replication Target and a Replication Job.","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_Alfresco_Logo2.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/2e1ax_default_entry_Alfresco_Logo2.jpg","width":432,"height":100},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/exception-from-executescript-in-alfresco-share\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Exception from executeScript in Alfresco Share"}]},{"@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\/4346","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=4346"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/4346\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/4347"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=4346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=4346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=4346"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=4346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}