<?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 with tutorial in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278334#M231464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;nobody who can help me?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2015 18:17:37 GMT</pubDate>
    <dc:creator>thk</dc:creator>
    <dc:date>2015-05-18T18:17:37Z</dc:date>
    <item>
      <title>Problem with tutorial</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278333#M231463</link>
      <description>HiI tried to follow this tutorial:http://docs.alfresco.com/community/tasks/dev-extensions-content-models-tutorials-add-custom-property.html (Have installed Alfresco 5.0 on Windows 8.1)But I cannot login into Alfresco after restart.In the logs I got errors like e.g.:Caused by: java.io.FileNotFoundExc</description>
      <pubDate>Thu, 14 May 2015 14:55:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278333#M231463</guid>
      <dc:creator>thk</dc:creator>
      <dc:date>2015-05-14T14:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tutorial</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278334#M231464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;nobody who can help me?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 18:17:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278334#M231464</guid>
      <dc:creator>thk</dc:creator>
      <dc:date>2015-05-18T18:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tutorial</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278335#M231465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Cant see you layout BUT, your model should be in /config/alfresco/extension &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 22:06:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278335#M231465</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2015-05-18T22:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tutorial</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278336#M231466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes maybe its a problem with the jar file, I put all manually into \Alfresco\tomcat\shared\classes\alfresco\extension and can at least now log into Alfresco. But if I run the web script like in the tutorial, I got: &amp;nbsp;&amp;nbsp;&amp;nbsp;org.alfresco.service.namespace.NamespaceException - Namespace prefix my is not mapped to a namespace URI&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually all I wanted to do is add three text fields (similar to the "Description"-field as additional properties of a folder or document). Maybe there is some easier way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 18:33:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278336#M231466</guid>
      <dc:creator>thk</dc:creator>
      <dc:date>2015-05-19T18:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tutorial</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278337#M231467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That exception means that you have a XXX: in your model that isn't mapped to a URI at the top or your context is wrong. This is usually a typo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Post your XML&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 21:41:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278337#M231467</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2015-05-19T21:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tutorial</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278338#M231468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for helping me Bob! Attached all my files I created or changed so far.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I still get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;500 Description:&amp;nbsp;&amp;nbsp;&amp;nbsp;An error inside the HTTP server which prevented it from fulfilling the request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Message:&amp;nbsp;&amp;nbsp;&amp;nbsp;04210003 Wrapped Exception (with status template): 04210082 Failed to execute script 'classpath*:alfresco/extension/templates/webscripts/modeltest.get.js': Namespace prefix my is not mapped to a namespace URI&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception:&amp;nbsp;&amp;nbsp;&amp;nbsp;org.alfresco.service.namespace.NamespaceException - Namespace prefix my is not mapped to a namespace URI&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have the problem that if I try to change the document type of a document under Document Actions to the new type "Whitepaper", I always get the message "unable to change document type".&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 17:32:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278338#M231468</guid>
      <dc:creator>thk</dc:creator>
      <dc:date>2015-05-21T17:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tutorial</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278339#M231469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found the error (but got another one instead) The preinstalled custom-model-context.xml is of type sample not xml. I fixed this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But if I run the web script now I get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;500 Description:&amp;nbsp;&amp;nbsp;&amp;nbsp;An error inside the HTTP server which prevented it from fulfilling the request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Message:&amp;nbsp;&amp;nbsp;&amp;nbsp;Server error (04210091). Details can be found in the server logs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;attached my alfresco.log&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception:&amp;nbsp;&amp;nbsp;&amp;nbsp;java.lang.RuntimeException - Server error (04210091). Details can be found in the server logs. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, I created a new rule that for all incoming or newly created files in a folder the doc type should be changed? But the rule works only if I upload a new document and not when I create an new document (using "Create") in this folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually I also needs to add custom properties to folders, is this also possible and how?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 18:12:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278339#M231469</guid>
      <dc:creator>thk</dc:creator>
      <dc:date>2015-05-21T18:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tutorial</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278340#M231470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are a few errors in your log.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the top:-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to set up your outbound email currently it is set to smtp.example.com which is obviously wrong. To do this, go to alfresco-global.properties in tomcat/shared/classes Something like&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Outbound SMTP properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# use these properties to configure the out-bound SMTP server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mail.host=your.mail.server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mail.port=25&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# if it needs login uncomment&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# mail.username=uname&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# mail.password=pwd&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mail.encoding=UTF-8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:mail.from.default=yourdefault@yourserver.com" rel="nofollow noopener noreferrer"&gt;mail.from.default=yourdefault@yourserver.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mail.protocol=smtp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Additional Java Mail properties for SMTP protocol&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# if it needs login make this true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mail.smtp.auth=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mail.smtp.debug=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mail.smtp.timeout=30000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mail.smtp.starttls.enable=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Additional Java Mail properties for SMTPS protocol&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mail.smtps.auth=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mail.smtps.starttls.enable=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is not your primary problem. Having fixed your namespace problem you are simply trying to create a document with the same name as another document that already exists in the folder you are trying to create your document in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Java errors are long and dump the error at every level they can. You have looked at the last entry which is the lowest level, you should start at the beginning of the error and read down. The start of your last error (and you look like you have had a few goes) is actually&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15:02:55,507 ERROR [org.alfresco.repo.web.scripts.RepositoryContainer] [http-apr-8080-exec-6] Server error (04210091)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.springframework.extensions.webscripts.WebScriptException: 04210008 Wrapped Exception (with status template): 04210090 Failed to execute script 'classpath*:alfresco/extension/templates/webscripts/modeltest.get.js': Duplicate child name not allowed: {documentName}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Clearly defining your problem as trying to create a document with the same name as another document in the same folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You code&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var contentType = "my:whitepaper";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var documentName = url.templateArgs.documentName;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var document = companyhome.createNode(documentName, contentType);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Will create a document when you call this webscript with the document name from the usr, but your error above is showing you are not substituting the document name you want for the parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2015 11:59:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278340#M231470</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2015-05-23T11:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tutorial</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278341#M231471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks Bob, I understand now&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 17:06:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-tutorial/m-p/278341#M231471</guid>
      <dc:creator>thk</dc:creator>
      <dc:date>2015-05-27T17:06:20Z</dc:date>
    </item>
  </channel>
</rss>

