<?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: 3.3 Upgrade:  Failed to read Webscript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/3-3-upgrade-failed-to-read-webscript/m-p/215335#M168465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found that the problem wasn't related to the upgrade, but in the repository itself. I tried to restart Alfresco 3.0 with the original repository and I get the same error!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I modified org.springframework.extensions.webscripts.DeclarativeRegistry to exclude from the registration the webscript under org/alfresco/sample and Alfresco 3.3 started succesfully!&amp;nbsp;&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The webscript that caused all the problem is org/alfresco/sample/blogsearch.get.desc.xml. I think that is hidden in the database somewhere…&amp;nbsp; :?: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody can give me some hint? Where can I find that webscript? How can I fix it? Can I remove it without any problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Apr 2010 15:19:37 GMT</pubDate>
    <dc:creator>luca</dc:creator>
    <dc:date>2010-04-29T15:19:37Z</dc:date>
    <item>
      <title>3.3 Upgrade:  Failed to read Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/3-3-upgrade-failed-to-read-webscript/m-p/215334#M168464</link>
      <description>Hi,I'm upgrading Alfresco from version 3.0 to 3.3, but i have some issues.If I start Alfresco with a new repository and an empty DB all is OK, but when I change the reference of dir.root and DB to the old ones used by Alfresco 3.0 the initialization go wrong. The upgrade process of the database don'</description>
      <pubDate>Wed, 28 Apr 2010 10:21:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/3-3-upgrade-failed-to-read-webscript/m-p/215334#M168464</guid>
      <dc:creator>luca</dc:creator>
      <dc:date>2010-04-28T10:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: 3.3 Upgrade:  Failed to read Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/3-3-upgrade-failed-to-read-webscript/m-p/215335#M168465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found that the problem wasn't related to the upgrade, but in the repository itself. I tried to restart Alfresco 3.0 with the original repository and I get the same error!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I modified org.springframework.extensions.webscripts.DeclarativeRegistry to exclude from the registration the webscript under org/alfresco/sample and Alfresco 3.3 started succesfully!&amp;nbsp;&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The webscript that caused all the problem is org/alfresco/sample/blogsearch.get.desc.xml. I think that is hidden in the database somewhere…&amp;nbsp; :?: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody can give me some hint? Where can I find that webscript? How can I fix it? Can I remove it without any problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Apr 2010 15:19:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/3-3-upgrade-failed-to-read-webscript/m-p/215335#M168465</guid>
      <dc:creator>luca</dc:creator>
      <dc:date>2010-04-29T15:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: 3.3 Upgrade:  Failed to read Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/3-3-upgrade-failed-to-read-webscript/m-p/215336#M168466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I replaced the broken webscript with a new one deleting it from the WebClient and uploading a new one from a working copy of alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's all!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 May 2010 07:33:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/3-3-upgrade-failed-to-read-webscript/m-p/215336#M168466</guid>
      <dc:creator>luca</dc:creator>
      <dc:date>2010-05-03T07:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: 3.3 Upgrade:  Failed to read Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/3-3-upgrade-failed-to-read-webscript/m-p/215337#M168467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had exactly the same problem when upgrading an instance from 3.2E to 3.2.1E.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For some unknown reason, the binary data of folder.get.desc.xml was *missing*, thus the cm:content property linking to a non-existing file on the disk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you run into the same issue when you already started/finished the upgrading process, you can fix this afterwards:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit one of the two files (the second if you have enterprise edition, otherwise the first):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;webapps/alfresco/WEB-INF/classes/alfresco/web-scripts-application-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;webapps/alfresco/WEB-INF/classes/alfresco/enterprise-web-scripts-application-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Search for following bean: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp; &amp;lt;bean id="webscripts.searchpath" class="org.alfresco.web.scripts.SearchPath"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="searchPath"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="webscripts.store.repo.extension" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="webscripts.store.repo" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="webscripts.store.client.extension" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="webscripts.store.client" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="webscripts.enterprise.store" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="webscripts.store" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;and comment the first two referenced beans (repo.extension and repo). This will in fact disable webscript lookup inside the Repository, and only load webscripts located in the webapps/alfresco/… directories.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once done, you can bring up Alfresco again (which should now not fail anymore) and manually fix the script(s) in question. Either delete the description file or simply upload a new version of the file, no need to completely delete/recreate the file completely.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, stop the server, undo the changes in the xml file and restart. Alfresco should now start correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It remains a mystery though why the file was missing in the repository…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 20:19:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/3-3-upgrade-failed-to-read-webscript/m-p/215337#M168467</guid>
      <dc:creator>mruflin</dc:creator>
      <dc:date>2010-05-05T20:19:04Z</dc:date>
    </item>
  </channel>
</rss>

