<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AEM Dispatcher Invalidate Hanlder for IIS in Adobe Experience Manager Discussions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-dispatcher-invalidate-hanlder-for-iis/m-p/443323#M31964</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked that - I put in in the location where IIS creates cache + checked permissions. Sadly it does not work&lt;/P&gt;</description>
    <pubDate>Mon, 07 Mar 2022 18:35:46 GMT</pubDate>
    <dc:creator>bartek_887</dc:creator>
    <dc:date>2022-03-07T18:35:46Z</dc:date>
    <item>
      <title>AEM Dispatcher Invalidate Hanlder for IIS</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-dispatcher-invalidate-hanlder-for-iis/m-p/443240#M31961</link>
      <description>&lt;P&gt;I use IIS with Dispatcher Module where I have to configure custom invalidateHandler&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dispatcher.any:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    /invalidateHandler "D:\\Cache\\invalidateHandler.bat"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When page is published I see the following message in dispatcher logs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; Executing command: D:\Cache\invalidateHandler.bat "/content/test" "Activate" ""...

Command D:\Cache\invalidateHandler.bat exited with code: 1, status: 1
Invalidate script exited with status 1.
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the body of the script&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;echo "Test"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any idea what is the problem here? Should I configure something more? I was unable to find documentation for dispatcher &amp;amp; IIS regarding this feature.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 11:09:25 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-dispatcher-invalidate-hanlder-for-iis/m-p/443240#M31961</guid>
      <dc:creator>bartek_887</dc:creator>
      <dc:date>2022-03-07T11:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: AEM Dispatcher Invalidate Hanlder for IIS</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-dispatcher-invalidate-hanlder-for-iis/m-p/443255#M31962</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="17468940"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the list of mentioned err codes for windows with possible reasons :&amp;nbsp;&lt;A href="https://www.tutorialspoint.com/batch_script/batch_script_return_code.htm" target="_blank"&gt;https://www.tutorialspoint.com/batch_script/batch_script_return_code.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This says that code:1 is for unrecognised command however, echo is a valid command in windows terminal. I was unable to find other relevant documentation for your issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 11:51:22 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-dispatcher-invalidate-hanlder-for-iis/m-p/443255#M31962</guid>
      <dc:creator>milind_bachani</dc:creator>
      <dc:date>2022-03-07T11:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: AEM Dispatcher Invalidate Hanlder for IIS</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-dispatcher-invalidate-hanlder-for-iis/m-p/443264#M31963</link>
      <description>&lt;P&gt;&lt;LI-USER uid="17468940"&gt;&lt;/LI-USER&gt;&amp;nbsp;, sometimes it's an issue with access as well. Please make sure the apache/IIS user has read,write,execute access for the script file/location.&lt;/P&gt;&lt;P&gt;Did you try to execute the script manually and see if you were able to run the script?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 12:46:50 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-dispatcher-invalidate-hanlder-for-iis/m-p/443264#M31963</guid>
      <dc:creator>Siva_Sogalapalli</dc:creator>
      <dc:date>2022-03-07T12:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: AEM Dispatcher Invalidate Hanlder for IIS</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-dispatcher-invalidate-hanlder-for-iis/m-p/443323#M31964</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked that - I put in in the location where IIS creates cache + checked permissions. Sadly it does not work&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 18:35:46 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-dispatcher-invalidate-hanlder-for-iis/m-p/443323#M31964</guid>
      <dc:creator>bartek_887</dc:creator>
      <dc:date>2022-03-07T18:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: AEM Dispatcher Invalidate Hanlder for IIS</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-dispatcher-invalidate-hanlder-for-iis/m-p/443423#M31965</link>
      <description>&lt;P&gt;Did you try to run the script manually and make sure it's not an issue with script?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exit code 1 means, it might be an error in the script itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cyberciti.biz/faq/linux-bash-exit-status-set-exit-statusin-bash/" target="_blank"&gt;https://www.cyberciti.biz/faq/linux-bash-exit-status-set-exit-statusin-bash/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had similar issues when i was trying to call shell script which is placed at dispatcher level and below debug steps helped me.&lt;/P&gt;&lt;P&gt;1. Make sure it's not an issue with Script. Execute the script manually and make sure the functionality works as expected.&lt;/P&gt;&lt;P&gt;2. Make sure the user has execute rights.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://bash.cyberciti.biz/guide/Setting_up_permissions_on_a_script" target="_blank"&gt;https://bash.cyberciti.biz/guide/Setting_up_permissions_on_a_script&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Then try calling the script the way you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 08:14:16 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-dispatcher-invalidate-hanlder-for-iis/m-p/443423#M31965</guid>
      <dc:creator>Siva_Sogalapalli</dc:creator>
      <dc:date>2022-03-08T08:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: AEM Dispatcher Invalidate Hanlder for IIS</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-dispatcher-invalidate-hanlder-for-iis/m-p/443438#M31966</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="1474724"&gt;&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked the script and it works correctly, no errors when I run it manually. I will check the permissions again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 09:09:45 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-dispatcher-invalidate-hanlder-for-iis/m-p/443438#M31966</guid>
      <dc:creator>bartek_887</dc:creator>
      <dc:date>2022-03-08T09:09:45Z</dc:date>
    </item>
  </channel>
</rss>

