<?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: Problem debugging webscripts in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-debugging-webscripts/m-p/183548#M136678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That scheduled script is part of the Records Management module, but should only be running at 2:30am each day.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you haven't changed any of the RM config, it might be worth raising as a bug in JIRA.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Dec 2008 20:55:43 GMT</pubDate>
    <dc:creator>mikeh</dc:creator>
    <dc:date>2008-12-12T20:55:43Z</dc:date>
    <item>
      <title>Problem debugging webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-debugging-webscripts/m-p/183547#M136677</link>
      <description>Hi all,I'm having problems every time I want to debug some webscript. When I turn on the webscripts debugger it comes to front every 10-30 seconds because a script called "scheduled_removeHold.js". I don't really know what this script does (it comes with the default setup of Alfresco 3 Labs), but I</description>
      <pubDate>Fri, 12 Dec 2008 20:25:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-debugging-webscripts/m-p/183547#M136677</guid>
      <dc:creator>damiar</dc:creator>
      <dc:date>2008-12-12T20:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem debugging webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-debugging-webscripts/m-p/183548#M136678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That scheduled script is part of the Records Management module, but should only be running at 2:30am each day.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you haven't changed any of the RM config, it might be worth raising as a bug in JIRA.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 20:55:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-debugging-webscripts/m-p/183548#M136678</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2008-12-12T20:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem debugging webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-debugging-webscripts/m-p/183549#M136679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, but could you tell me please what should I do to avoid this behavior? It is the default installation, I didn't change anything on the RM module.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 11:31:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-debugging-webscripts/m-p/183549#M136679</guid>
      <dc:creator>damiar</dc:creator>
      <dc:date>2008-12-15T11:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem debugging webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-debugging-webscripts/m-p/183550#M136680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I forgot to answer the question. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found the error: the arguments that Alfresco is using to "cron" this task are wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the workaround:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1- Shut down Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2- Go to ALF_HOME/tomcat and delete /temp and /work&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3- Go to ALF_HOME/tomcat/webapps/ and delete /alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4- Then open the alfresco.war file with any zip file manager (like 7Zip, WinRAR, etc).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5- Once you are navigating the war file, go to /web-inf/classes/alfresco/module/org.alfresco.module.RecordsManagement/context/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6- Open script-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7- Make a search for the string "Execute @ 2:30 am every day" (you should find two) and modify each "value" tag to any other value (I've used "30 2 * * * ?" without quotes and it worked fine). This value is the argument of the cron command, so if you need more information you can read the man pages for cron.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2009 11:40:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-debugging-webscripts/m-p/183550#M136680</guid>
      <dc:creator>damiar</dc:creator>
      <dc:date>2009-01-14T11:40:21Z</dc:date>
    </item>
  </channel>
</rss>

