AnsweredAssumed Answered

deploying model in share

Question asked by ddebaerd on Jan 11, 2012
Latest reply on Mar 27, 2012 by jett
I have problems registering a model dynamicly in share
version comunity 4.0.c
redhat el5

i see in the log  :

09:47:53,192 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Replication' subsystem, ID: [Replication, default] complete
09:47:55,858 INFO  [org.alfresco.module.vti.VtiServer] Vti server started successfully on port: 7070
09:47:55,858 INFO  [org.alfresco.module.vti.VtiServer] Vti server SessionIdManagerWorkerName: jetty1
09:48:01,608 WARN  [org.springframework.extensions.webscripts.DeclarativeRegistry] Unable to register script classpath:webscripts/org/springframework/extensions/cmis/content.get.desc.xml due to error: 00110001 Web Script document org/springframework/extensions/cmis/content.get.desc.xml is attempting to define the url '/cmis/content:GET' already defined by org/alfresco/cmis/client/content.get.desc.xml
09:48:01,608 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 477 Web Scripts (+1 failed), 745 URLs
09:48:01,608 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 2 Package Description Documents (+0 failed)
09:48:01,608 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 1 Schema Description Documents (+0 failed)
09:48:01,610 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Repository Web Script Container (in 5714.432ms)
09:48:01,625 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
09:48:01,627 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
09:48:22,882 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
09:48:22,978 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
09:48:22,979 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
09:48:22,982 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
09:48:28,001 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 314 Web Scripts (+0 failed), 324 URLs
09:48:28,001 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
09:48:28,001 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
09:48:28,336 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 5349.373ms)
09:48:28,361 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
09:48:28,365 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
09:48:28,749 INFO  [org.alfresco.web.site.servlet.SSOAuthenticationFilter] SSOAuthenticationFilter initialised.
09:48:58,190 INFO  [org.alfresco.web.site.EditionInterceptor] Unable to retrieve License information from Alfresco: 401
09:48:59,667 INFO  [org.alfresco.web.site.EditionInterceptor] Successfully retrieved license information from Alfresco.
09:49:04,667 INFO  [org.alfresco.web.scripts.DictionaryQuery] Successfully retrieved dictionary information from Alfresco.
09:50:18,150 WARN  [org.alfresco.repo.dictionary.DictionaryDAO] org.alfresco.service.cmr.dictionary.DictionaryException: 00110125 Model '{http://fsoCustomModel}fsoCustomModel' does not exist

the model looks like this

<?xml version="1.0" encoding="UTF-8"?>

<model name="fso:fsoCustomModel"
xmlns="http://www.alfresco.org/model/dictionary/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<description>FSO Custom Model</description>
<author>Daniel De Baerdemaeker</author>
<version>1.0</version>
<imports>
<!– Import Alfresco Dictionary Definitions –>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<!– Import Alfresco Content Domain Model Definitions –>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
<!– Import Alfresco Data List Model Definitions –>
<import uri="http://www.alfresco.org/model/datalist/1.0" prefix="dl"/>
</imports>
   <!– Introduction of new namespaces defined by this model –>
   <!– NOTE: The following namespace custom.model should be changed to reflect your own namespace –>
   <namespaces>
      <namespace uri="http://fsoCustomModel" prefix="fso"/>
   </namespaces>
   <types>
   <type name="fso:dossier">
      <title>DocType</title>
      <parent>cm:folder</parent>
      <properties>
         <property name="fso:doctype">
            <title>FSO document type</title>
            <type>d:text</type>
            <mandatory>true</mandatory>
         </property>
         <property name="fso:treatby">
            <title>FSO to treat by </title>
            <type>d:text</type>
            <mandatory>true</mandatory>
         </property>
         <property name="fso:dossierCS">
            <title>FSO dosiernumber in C/S </title>
            <type>d:text</type>
            <mandatory>true</mandatory>
         </property>
      </properties>
   </type>
   </types>
   <aspects>
      <aspect name="fso:inworkflow">
         <title>In Workflow</title>
         <properties>
            <property name="fso:nextbox">
               <title>next box</title>
               <type>d:text</type>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>false</stored>
                  <tokenised>both</tokenised>
               </index>
            </property>
         </properties>
      </aspect>
      <aspect name="fso:coloborative">
         <title>In Workflow</title>
         <properties>
            <property name="fso:originalbox">
               <title>box to return to</title>
               <type>d:text</type>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>false</stored>
                  <tokenised>both</tokenised>
               </index>
            </property>
         </properties>
      </aspect>
   </aspects>
</model>
i have the same problem with the sopmodel from the fundamentals course

Outcomes