10-05-2010 08:11 AM
<?xml version="1.0" encoding="UTF-8"?>
  <view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
          xmlns:cm="http://www.alfresco.org/model/content/1.0"
          xmlns:sys="http://www.alfresco.org/model/system/1.0"
          xmlns:usr="http://www.alfresco.org/model/user/1.0"
          xmlns:app="http://www.alfresco.org/model/application/1.0">
     
     <usr:authorityContainer view:childName="usr:GROUP_MyGroup">
       <view:aspects>
         <sys:referenceable></sys:referenceable>
       </view:aspects>
       <view:properties>
         <sys:store-protocol>user</sys:store-protocol>
         <cm:name>GROUP_MyGroup</cm:name>
         <sys:node-uuid>GROUP_MyGroup</sys:node-uuid>
         <usr:authorityName>GROUP_MyGroup</usr:authorityName>
         <sys:store-identifier>alfrescoUserStore</sys:store-identifier>
       </view:properties>
       <view:associations></view:associations>
     </usr:authorityContainer>
  </view:view>10-06-2010 12:30 PM
<beans>
   <!– Users Creation Script Registration –>
    
    <bean id="customExtensions_bootstrapUsers" class="org.alfresco.repo.module.ImporterModuleComponent" parent="module.baseComponent">
       <property name="moduleId" value="customExtensions" />
       <property name="name" value="importDefaultUSer" />
       <property name="description" value="Create the default user named invite in Web client" />
       <property name="sinceVersion" value="1.0" />        
       <property name="appliesFromVersion" value="1.0" />  
       <property name="importer" ref="userBootstrap"/>
       <property name="bootstrapViews">
           <list>
               <props>
                   <prop key="path">/${alfresco_user_store.system_container.childname}/sys:authorities</prop>
                   <prop key="location">alfresco/module/customExtensions/bootstrap/defaultUser-import.xml</prop>
               </props>
           </list>
       </property>
    </bean>
<?xml version="1.0" encoding="UTF-8"?>
  <view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
          xmlns:cm="http://www.alfresco.org/model/content/1.0"
          xmlns:sys="http://www.alfresco.org/model/system/1.0"
          xmlns:usr="http://www.alfresco.org/model/user/1.0"
          xmlns:app="http://www.alfresco.org/model/application/1.0">
     
     <usr:user view:childName="usr:user">
       <view:aspects>
         <sys:referenceable></sys:referenceable>
       </view:aspects>
       <view:properties>
         <cm:name>7177fcbe-0213-47cd-ac12-860f870827b5</cm:name>
         <sys:node-dbid>544</sys:node-dbid>
         <sys:store-identifier>alfrescoUserStore</sys:store-identifier>
         <usr:enabled>true</usr:enabled>
         <usr:password>8846f7eaee8fb117ad06bdd830b7586c</usr:password>
         <usr:username>invite</usr:username>
         <usr:salt>
           <view:value view:isNull="true"></view:value>
         </usr:salt>
         <sys:node-uuid>7177fcbe-0213-47cd-ac12-860f870827b5</sys:node-uuid>
         <usr:credentialsExpire>false</usr:credentialsExpire>
         <usr:accountExpires>false</usr:accountExpires>
         <usr:accountLocked>false</usr:accountLocked>
         <sys:store-protocol>user</sys:store-protocol>
       </view:properties>
     </usr:user>
  </view:view>Caused by: org.alfresco.error.AlfrescoRuntimeException: 09060001 A module component 'customExtensions_bootstrapUsers' failed to execute: 09060000 Bootstrap failedCaused by: org.alfresco.service.cmr.view.ImporterException: Path /sys:system/sys:authorities within node user://alfrescoUserStore/8926d63c-46a2-4f1b-b736-9888dd8e9acb does not exist - the path must resolve to a valid location
   at org.alfresco.repo.importer.ImporterComponent.getNodeRef(ImporterComponent.java:262)
   at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:217)
   at org.alfresco.repo.importer.ImporterBootstrap.doImport(ImporterBootstrap.java:475)
   at org.alfresco.repo.importer.ImporterBootstrap.access$000(ImporterBootstrap.java:70)
   at org.alfresco.repo.importer.ImporterBootstrap$1$1.execute(ImporterBootstrap.java:350)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:321)
   at org.alfresco.repo.importer.ImporterBootstrap$1.doWork(ImporterBootstrap.java:354)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:357)
   … 60 more10-11-2010 06:50 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.