cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Users using JAVA API

yvinodh
Champ in-the-making
Champ in-the-making
Hi all,

         I am using Alfresco 2.9.In my application i need to create users using JAVA API. Can anyone help me in this.
         Thanks in Advance

Regards,
Yvinodh.
41 REPLIES 41

gerrit
Champ in-the-making
Champ in-the-making
Thank you Alaaeldin

Your post was most helpful!!!

was just missing the line:
this.permissionService.setPermission(newPerson, authority, permissionService.getAllPermission(), true);

Appreciate the help alot!

Regards
Gerrit

amit_wmw
Champ in-the-making
Champ in-the-making
Dear all,

I am using Alfresco2.1 community edition and am trying to create new user(using java API) as suggested in above messages. But I am unable to do the same Smiley Sad My Program executes fine but I am then unable to loging to the alfresco console with that newly created creadential. Below is my code. Will be kind if somebody please suggest me what I am missing here.

####################################################################################

public class FirstJCRClient
{
   
 
  
   public static void main(String[] args)      
   {
   
      try{
         
         
         
          ApplicationContext context = new ClassPathXmlApplicationContext("classpath:alfresco/application-context.xml");
      
          Repository repository = (Repository)context.getBean("JCR.Repository");
         
          // login to workspace (here we rely on the default workspace defined by JCR.Repository bean)
          Session session = repository.login(new SimpleCredentials("admin", "admin".toCharArray()));
         
          AuthenticationService authenticationService=(AuthenticationService)context.getBean("authenticationService");
         
          PermissionService permissionService=(PermissionService)context.getBean("permissionService");
         
          PersonService personService=(PersonService)context.getBean("personService");

          Node rootNode = session.getRootNode();
          
          Node companyHome = rootNode.getNode("app:company_home");
         
          HashMap<QName, Serializable> properties = new HashMap<QName, Serializable>();
           
          properties.put(ContentModel.PROP_USERNAME, "testUser");
           // properties.put(ContentModel.PROP_HOMEFOLDER, (Serializable) companyHome);
            properties.put(ContentModel.PROP_FIRSTNAME, "Test");
            properties.put(ContentModel.PROP_LASTNAME, "User");
            properties.put(ContentModel.PROP_EMAIL, "testUser@localhost.com");
            properties.put(ContentModel.PROP_PASSWORD, "testUser");
      
            //create the node to represent the Person
   NodeRef newPerson = personService.createPerson(properties);
   // ensure the user can access their own Person object
    permissionService.setPermission(newPerson,"testUser", permissionService.getAllPermission(), true);
           
           
   // create the ACEGI Authentication instance for the new user
   authenticationService.createAuthentication("testUser","testUser".toCharArray());
   session.logout();
         
      }catch (Exception exp ){
         System.out.println (" Caught exception " + exp);
         exp.printStackTrace();
      }
       finally
           {
              // if(results != null)
               //{
             //    results.close();
                 //session.logout();
                 System.exit(0);
               }
           } 
      
      
   }

####################################################################################

Thanks
Amit.

amit_wmw
Champ in-the-making
Champ in-the-making
Got it!

seesion.save() 🙂 Sillyyyyyyyyyyyyyyyyy

Regards
Amit.

keerthi
Champ in-the-making
Champ in-the-making
hi,

Can u plz tel me what are all the steps to follow this authentication program to run smoothly..

Because i have copied ur program and run as java appication but it shows the following error


Jul 10, 2009 3:15:17 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@e94e92: display name [org.springframework.context.support.ClassPathXmlApplicationContext@e94e92]; startup date [Fri Jul 10 15:15:16 IST 2009]; root of context hierarchy
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/application-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/cache-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/st-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/core-services-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/public-services-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/public-services-security-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/model-specific-services-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/action-services-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/rule-services-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/node-services-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/scheduled-jobs-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/network-protocol-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/emailserver/email-service-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/content-services-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/mt/st-admin-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/dao/dao-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/hibernate-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/ibatis/ibatis-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/activities/activities-feed-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/ownable-services-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/template-services-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/script-services-context.xml]
Jul 10, 2009 3:15:17 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/index-recovery-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/authority-services-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/authentication-services-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/usage-services-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/policy-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
INFO: Overriding bean definition for bean 'dictionaryModelType': replacing [Root bean: class [org.alfresco.repo.dictionary.DictionaryModelType]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=init; destroyMethodName=null; defined in class path resource [alfresco/core-services-context.xml]] with [Root bean: class [org.alfresco.repo.dictionary.DictionaryModelType]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=init; destroyMethodName=null; defined in class path resource [alfresco/policy-context.xml]]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/import-export-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/bootstrap-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/repo-admin-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/workflow-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/jcr-api-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/avm-services-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/wcm-services-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/audit-services-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/attributes-service-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/deployment-service-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/linkvalidation-service-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/remote-services-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/blog-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/thumbnail-service-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/preference-service-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/swf-transform-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/site-services-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/tagging-services-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/form-services-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/invitation-service-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/cmis-api-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/period-type-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/D:/Keerthi/downloads/lib/server/config.jar!/alfresco/patch/patch-services-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [alfresco/mt/mt-base-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/D:/Keerthi/downloads/lib/server/config.jar!/alfresco/module-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from file [D:\Keerthi\CMS\alfresco-community-sdk-3.2.tar\samples\JCRSamples\build\alfresco\extension\custom-repository-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
INFO: Overriding bean definition for bean 'repository-properties': replacing [Root bean: class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [alfresco/core-services-context.xml]] with [Root bean: class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [D:\Keerthi\CMS\alfresco-community-sdk-3.2.tar\samples\JCRSamples\build\alfresco\extension\custom-repository-context.xml]]
Jul 10, 2009 3:15:18 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/D:/Keerthi/downloads/lib/server/config.jar!/alfresco/deprecated-context.xml]
Jul 10, 2009 3:15:18 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@e94e92]: org.springframework.beans.factory.support.DefaultListableBeanFactory@290fbc
Jul 10, 2009 3:15:19 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from class path resource [alfresco/alfresco-shared.properties]
Jul 10, 2009 3:15:19 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from class path resource [alfresco/repository.properties]
Jul 10, 2009 3:15:19 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from class path resource [alfresco/version.properties]
Jul 10, 2009 3:15:19 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from class path resource [alfresco/domain/transaction.properties]
Jul 10, 2009 3:15:19 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from class path resource [alfresco/extension/custom-alfresco-shared.properties]
Jul 10, 2009 3:15:19 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from class path resource [alfresco/extension/custom-repository.properties]
Jul 10, 2009 3:15:19 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from class path resource [alfresco/alfresco-shared.properties]
Jul 10, 2009 3:15:19 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from class path resource [alfresco/emailserver/email-server.properties]
Jul 10, 2009 3:15:19 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
INFO: Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
Jul 10, 2009 3:15:19 PM org.alfresco.repo.management.subsystems.LegacyConfigPostProcessor processLocations
WARNING: Legacy configuration detected: adding classpath:alfresco/alfresco-shared.properties to global-properties definition
Jul 10, 2009 3:15:19 PM org.alfresco.repo.management.subsystems.LegacyConfigPostProcessor processLocations
WARNING: Legacy configuration detected: adding classpath:alfresco/extension/custom-alfresco-shared.properties to global-properties definition
Jul 10, 2009 3:15:19 PM org.alfresco.repo.management.subsystems.LegacyConfigPostProcessor processLocations
WARNING: Legacy configuration detected: adding classpath:alfresco/extension/custom-repository.properties to global-properties definition
Jul 10, 2009 3:15:19 PM org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons
INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@290fbc: defining beans [transactionalEHCacheManager,internalEHCacheManager,qnameEntitySharedCache,qnameEntityCache,namespaceEntitySharedCache,namespaceEntityCache,localeIdSharedCache,localeIdCache,mimetypeEntitySharedCache,mimetypeEntityCache,encodingEntitySharedCache,encodingEntityCache,storeAndNodeIdSharedCache,storeAndNodeIdCache,parentAssocsSharedCache,parentAssocsCache,userToAuthoritySharedCache,userToAuthorityCache,permissionsAccessSharedCache,permissionsAccessCache,nodeOwnerSharedCache,nodeOwnerCache,personSharedCache,personCache,ticketsSharedCache,ticketsCache,sysAdminSharedCache,sysAdminCache,avmStoreLookupSharedCache,avmStoreLookupCache,webServicesQuerySessionSharedCache,webServicesQuerySessionCache,aclSharedCache,aclCache,resourceBundleBaseNamesSharedCache,resourceBundleBaseNamesCache,loadedResourceBundlesSharedCache,loadedResourceBundlesCache,messagesSharedCache,messagesCache,compiledModelsSharedCache,compiledModelsCache,prefixesSharedCache,prefixesCache,webScriptsRegistrySharedCache,webScriptsRegistryCache,routingContentStoreSharedCache,routingContentStoreCache,tenantService,runtimeProperties,legacyConfigPostProcessor,global-properties,repository-properties,shared-properties,jgroupsPropertySetter,alfrescoMBeanServer,registry,serverConnector,propertyBackedBeanRegistry,abstractPropertyBackedBean,exporter,VirtServerRegistry,log4JHierarchyInit,RepoServerMgmt,defaultDataSource,dataSource,charset.finder,transactionService,retryingTransactionHelper,retryingWriteTxnAdvice,retryingReadTxnAdvice,checkTxnAdvice,resourceBundles,messageService,mailService,indexerComponent,searchService,admSearchService,versionSearchService,indexerAndSearcherFactory,categoryService,indexThreadPoolExecutor,lucene.fts.alfresco,admLuceneIndexerAndSearcherFactory,adm.luceneQueryEngineImpl,admLuceneUnIndexedIndexerAndSearcherFactory,avmLuceneIndexerAndSearcherFactory,avm.luceneQueryEngineImpl,luceneCategoryService,lockService,versionService,versionNodeService,versionMigrator,versionCounterService,versionableAspect,cm:constraintRegistry,namespaceDAO,dictionaryModelType,dictionaryDAO,dictionaryService,namespaceService,dictionaryModelBootstrap,dictionaryBootstrap,extension.dictionaryBootstrap,copyService,checkOutCheckInService,workingCopyAspect,discussableAspect,LuceneFullTextSearchIndexer,luceneFullTextSearchIndexer,luceneIndexBackupComponent,queryRegisterComponent,multilingualDocumentAspect,emptyTranslationAspect,mlContainerType,referenceableAspect,temporaryAspect,configurableService,registryService,serverDescriptorDAO,currentRepoDescriptorDAO,installedRepoDescriptorDAO,jobLockService,permissionService,permissionServiceImpl,ownerDynamicAuthority,lockOwnerDynamicAuthority,permissionsModelDAO,permissionModelBootstrap,roleVoter,groupVoter,aclEntryVoter,accessDecisionManager,afterAcl,afterInvocationManager,NamespaceService_security,DictionaryService_security,NodeService_security,FileFolderService_security,ContentService_security,MimetypeService_security,SearchService_security,CategoryService_security,CopyService_security,LockService_security,VersionService_security,MultilingualContentService_security,EditionService_security,CheckoutCheckinService_security,RuleService_security,ImporterService_security,ActionService_security,PermissionService_security,AuthorityService_security,AuthenticationService_security,OwnableService_security,PersonService_security,TemplateService_security,ScriptService_security,WorkflowService_security,AuditService_security,RepoAdminService_security,ContentUsageService_security,ServiceRegistry,exceptionTranslator,DescriptorService,AuditMethodInterceptor,NodeService,NodeService_transaction,ContentService,ContentService_transaction,SearchService,ADMSearchService,SearchService_transaction,CategoryService,CategoryService_transaction,CopyService,CopyService_transaction,LockService,LockService_transaction,VersionService,VersionService_transaction,CheckoutCheckinService,CheckoutCheckinService_transaction,RuleService,RuleService_transaction,ImporterService,ImporterService_transaction,ExporterService,ExporterService_transaction,ActionService,ActionService_transaction,PermissionService,PermissionService_transaction,AuthorityService,AuthorityService_transaction,OwnableService,OwnableService_transaction,PersonService,PersonService_transaction,ContentUsageService,ContenUsageService_transaction,AuthenticationService,AuthenticationService_transaction,TemplateService,TemplateService_transaction,ScriptService,ScriptService_transaction,FileFolderService,FileFolderService_transaction,crossRepositoryCopyService,crossRepositoryCopyServiceWriteTxnAdvisor,CrossRepositoryCopyService,avmLockingAwareService,AVMLockingAwareService,indexingAVMLockingAwareService,avmService,avmServiceMT,avmServiceBase,checkTxnAdvisor,avmServiceReadTxnAdvisor,avmServiceWriteTxnAdvisor,AVMService,indexingAVMService,avmSnapShotTriggeredIndexingMethodInterceptor,avmSyncService,avmSyncServiceReadTxnAdvisor,avmSyncServiceWriteTxnAdvisor,AVMSyncService,attributeServiceReadTxnAdvisor,attributeServiceWriteTxnAdvisor,AttributeService,avmLockingServiceReadTxnAdvisor,avmLockingServiceWriteTxnAdvisor,AVMLockingService,WorkflowService,WorkflowService_transaction,AuditService,AuditService_transaction,MultilingualContentService,MultilingualContentService_transaction,EditionService,EditionService_transaction,ConfigurableService,ConfigurableService_transaction,RegistryService,RegistryService_transaction,ModuleService,ModuleService_transaction,linkValidationServiceReadTxnAdvisor,linkValidationServiceWriteTxnAdvisor,LinkValidationService,RepoAdminService,RepoAdminService_transaction,userRegistrySynchronizerWriteTxnAdvisor,UserRegistrySynchronizer,fileFolderService,mlTranslationInterceptor,mlContentInterceptor,tempFileMarkerInterceptor,multilingualContentService,editionService,ImapService,defaultAsyncThreadPool,deploymentAsyncThreadPool,defaultAsynchronousActionExecutionQueue,deploymentAsynchronousActionExecutionQueue,actionService,actionsAspect,actionResourceBundles,action-condition-evaluator,no-condition,compare-property-value,compare-date-property,compare-integer-property,compare-text-property,compare-mime-type,in-category,is-subtype,has-aspect,has-version-history,composite-condition,action-executer,composite-action,create-version,add-features,remove-features,specialise-type,link-category,simple-workflow,transform,transform-image,copy,copy-to-web-project,move,check-in,check-out,mail,set-property-value,extract-metadata,import,export,repository-export,script,counter,execute-all-rules,simple-avm-submit,start-avm-workflow,simple-avm-promote,avm-revert-store,avm-revert-list,avm-revert-to-version,avm-undo-list,avm-deploy-website,count-children,avm-link-validation,baseTemplateActionDefintion,ruleService,rulesAspect,ruleResourceBundles,rule-type-base,inbound,update,outbound,rule-trigger-base,on-create-node-trigger,on-update-node-trigger,on-property-update-trigger,on-create-child-association-trigger,on-delete-child-association-trigger,on-delete-node-trigger,on-create-association-trigger,on-delete-association-trigger,on-content-update-trigger,on-content-create-trigger,mlPropertyInterceptor,nodeRefPropertyInterceptor,multiTNodeServiceInterceptor,nodeService,mlAwareNodeService,mtAwareNodeService,storeArchiveMap,nodeArchiveService,avmNodeService,integrityChecker,incompleteNodeTagger,nodeIndexer,nodeCleanupRegistry,nodeCleanupBase,nodeCleanup.moveChildrenToCorrectStore,nodeCleanup.indexChildrenWhereRequired,nodeCleanup.deleteNodeCleanup,dbNodeService,dbNodeServiceImpl,sessionSizeResourceInterceptor,sessionSizeResourceManager,resourceFinder,schedulerResources,schedulerProperties,schedulerFactory,ftsIndexerTrigger,tempFileCleanerTrigger,nodeServiceCleanupJobDetail,nodeServiceCleanupTrigger,indexBackupJobDetail,indexBackupTrigger,ehCacheTracerJob,avmOrphanReaperJob,avmExpiredContentTrigger,userUsageTrackingComponent,userUsageCollapseJob,userUsageBootstrapJob,feedCleanerJobDetail,feedCleanerTrigger,feedGeneratorJobDetail,feedGeneratorTrigger,postLookupJobDetail,postLookupTrigger,postCleanerJobDetail,postCleanerTrigger,versionStoreMigrationCleanupJob,fileServerConfigurationBase,cifsAuthenticatorBase,ftpAuthenticatorBase,contentDiskDriver,nodeMonitorFactory,cifsHelper,avmDiskDriver,fileStateReaper,emailResourceBundles,emailServerConfigurationProperties,org.springframework.remoting.rmi.RmiServiceExporter,emailService,emailMessageHandlerBase,folderEmailMessageHandler,forumEmailMessageHandler,documentEmailMessageHandler,topicEmailMessageHandler,aliasableAspect,fileContentStore,deletedContentStore,deletedContentBackupListener,deletedContentBackupListeners,baseContentStoreCleaner,contentStoreCleaner,eagerContentStoreCleaner,baseContentService,contentService,mimetypeConfigService,mimetypeService,contentFilterLanguagesConfigService,contentFilterLanguagesService,metadataExtracterRegistry,baseMetadataExtracter,extracter.worker.OpenOffice,extracter.PDFBox,extracter.Office,extracter.Mail,extracter.Html,extracter.MP3,extracter.OpenDocument,extracter.OpenOffice,contentTransformerRegistry,baseContentTransformer,transformer.StringExtracter,transformer.BinaryPassThrough,transformer.PdfBox,transformer.PdfToImage,transformer.complex.PDF.Image,transformer.complex.OpenOffice.Image,transformer.PdfBox.TextToPdf,transformer.complex.Text.Image,transformer.Poi,transformer.TextMining,transformer.HtmlParser,transformer.MediaWikiParser,transformer.worker.OpenOffice,transformer.OpenOffice,transformer.complex.OpenOffice.PdfBox,transformer.OutlookMsg,transformer.RFC822,transformer.worker.ImageMagick,transformer.ImageMagick,tenantAdminService,postDAO,feedDAO,feedControlDAO,lockDAO,mimetypeDAO,encodingDAO,contentDataDAO,contentCleanDAO,hibernateConfigProperties,cacheStrategiesPlaceholderConfigurer,defaltOnLoadListsner,clearCGLibThreadLocal,sessionFactory,dialect,sessionFactoryBase,transactionManager,qnameDAO,versionCounterDaoComponent,permissionsDaoComponent,avmPermissionsDaoComponent,dmPermissionsDaoComponent,aclDaoComponent,nodeACLDAO,avmACLDAO,usageDeltaDAO,auditableTransactionHelper,nodeDaoServiceImpl,dbNodeDaoServiceTxnRegistration,daoServiceDirtySessionInterceptor,nodeDaoService,localeDAOImpl,localeDAO,auditDao,hibernateSessionHelper,hibernateL1CacheBulkLoader,dialectResourceLoader,activitiesDataSource,activitiesDataSource_autoCommit,activitiesSqlMapClient,locksSqlMapClient,locksSqlMapClientTemplate,contentSqlMapClient,contentSqlMapClientTemplate,activityPostService,activityService,feedCleaner,postCleaner,postLookup,baseFeedGenerator,feedGenerator,feedTaskProcessor,ownableService,templateService,baseTemplateProcessor,freeMarkerProcessor,baseTemplateImplementation,avmExtension,sessionTemplateExtension,classificationTemplateExtension,workflowTemplateExtension,peopleTemplateExtension,siteTemplateExtension,hasAspectTemplateExtension,hasPermissionTemplateExtension,messageTemplateExtension,dateCompareTemplateExtension,incrementDateTemplateExtension,xmlDateTemplateExtension,cropContentTemplateExtension,shortQNameTemplateExtension,scriptService,javaScriptProcessor,baseJavaScriptExtension,loggerScript,utilsScript,testScript,actionsScript,imapScript,searchScript,classificationScript,peopleScript,sessionScript,scriptBehaviour,avmScript,crossCopyScript,workflowScript,presenceScript,activitiesScript,indexTrackerThreadPoolExecutor,indexRecoveryComponentBase,indexRecoveryComponent,avmIndexRecoveryComponent,admIndexTrackerComponent,admIndexTrackerTrigger,avmIndexTrackerComponent,avmIndexTrackerTrigger,missingFullTextReindexComponent,authorityService,authorityDAO,authorityServiceScript,authenticationManager,daoAuthenticationProvider,authenticatedAuthenticationPassthroughProvider,Authentication,authenticationDao,SmbSessionListener,CifsAuthenticator,FtpAuthenticator,passwordEncoder,authenticationService,AuthenticationComponent,authenticationComponentBase,authenticationComponent,userRegistrySynchronizer,authenticationContext,personDaoImpl,userNameMatcher,personService,personServicePermissionsManager,homeFolderManager,baseHomeFolderProvider,companyHomeFolderProvider,guestHomeFolderProviderPermissionsManager,guestHomeFolderProvider,bootstrapHomeFolderProvider,defaultOnCreatePermissionsManager,defaultOnReferencePermissionsManager,personalHomeFolderProvider,userHomesHomeFolderProvider,ticketComponent,nameBasedUserNameGenerator,userNameGenerator,passwordGenerator,authenticationUtil,usageService,usageServiceImpl,contentUsageImpl,usageQuotaProtector,policyBehaviourQueue,policyTransactionHandlerFactory,policyBehaviourFilter,unboundPolicyBehaviourFilter,policyComponent,policyRegistration,viewParser,importerComponent,importerComponentWithBehaviour,exporterComponent,repositoryExporterComponent,systemExporterImporter,systemInfoImporter,storeImporter,storeImporterViews,userStoreImporter,systemStoreImporter,spacesArchiveStoreImporter,spacesStoreImporter,versionStoreImporter,version2StoreImporter,systemInfoBootstrap-base,userBootstrap-base,systemBootstrap-base,versionBootstrap-base,version2Bootstrap-base,spacesArchiveBootstrap-base,spacesBootstrap-base,shutdownBackstop,schemaBootstrap,jgroupsChannelFactory,avmBootstrap,avmLockingBootstrap,dictionaryRepositoryBootstrap,systemInfoBootstrap,userBootstrap,systemBootstrap,versionBootstrap,version2Bootstrap,spacesArchiveBootstrap,spacesModelsBootstrap,spacesBootstrap,siteAVMBootstrap,workflowBootstrap,multiTenantBootstrap,personDaoBootstrap,indexRecoveryBootstrap,avmIndexRecoveryBootstrap,descriptorComponent,configurationChecker,patchExecuter,moduleStarter,fileServers,imap,fileServerConfiguration,schedulerStarter,thirdparty,Synchronization,workflowScheduler,emailServer,repositoryHelper,startupLog,interpreterBase,repoAdminService,repoAdminInterpreter,repoAdminInterpreterHelp,customModelsRepositoryLocation,customMessagesRepositoryLocation,workflowDeployer,workflowServiceImpl,workflowPackageImpl,workflowInterpreter,workflowInterpreterHelp,start-workflow,bpm_engineRegistry,bpm_engine,jbpm_configuration,jbpm_template,jbpm_engine,workflowPatchDeployer,customWorkflowDefsRepositoryLocation,workflowDefinitionType,JCR.Repository,JCR.DictionaryBootstrap,avmNodeDAO,avmStoreDAO,versionRootDAO,childEntryDAO,historyLinkDAO,mergeLinkDAO,avmStorePropertyDAO,versionLayeredNodeEntryDAO,sessionCacheChecker,avmDAOs,lookupCache,rawServices,orphanReaper,createStoreTxnListener,purgeStoreTxnListener,createVersionTxnListener,purgeVersionTxnListener,avmRepository,avmRemote,AVMSubmitTransactionListener,excludeRegexMatcher,excludeExtensionMatcher,globalPathExcluder,avmExpiredContentProcessor,avmLockingService,avmSessionSizeResourceInterceptor,avmSessionSizeResourceManager,WebProjectService,WebProjectService_transaction,WebProjectService_security,webProjectService,AssetService,AssetService_transaction,AssetService_security,assetService,mlPropertyInterceptorLockingAware,avmLockingAwareNodeService,mlAwareLockingAwareNodeService,SandboxService,SandboxService_transaction,SandboxService_security,sandboxService,sandboxFactory,webProjectsScript,WCMPreviewURIService,PreviewURIService_transaction,PreviewURIService_security,previewURIService,previewURIServiceRegistry,basePreviewURIServiceProvider,virtServerPreviewURIService,nullPreviewURIService,auditService,auditComponent,publicServiceIdentifier,auditConfiguration,auditFileContentStore,auditModel,attributeService,attributeServiceBase,attributeConverter,attributeDAO,attributeDAOImpl,globalAttributeEntryDAO,globalAttributeEntryDAOImpl,mapEntryDAO,mapEntryDAOImpl,listEntryDAO,listEntryDAOImpl,deploymentTestTransformer,deploymentEncryptor,deploymentCompressor,rmiFSRAdapter,encryptedRMIFSRAdapter,compressEncryptedRMIFSRAdapter,springHttpFSRAdapter,deploymentService,deploymentServiceReadTxnAdvisor,deploymentServiceWriteTxnAdvisor,DeploymentService,linkValidationServiceExcludeExtensionMatcher,hrefBearingRequestPathNameMatcher,linkValidationServiceExcludeUriSchemeNameMatcher,linkValidationService,avmRemoteTransport,avmRemoteService,avmSyncServiceTransport,avmSyncServiceTransportRMI,attributeServiceTransport,attributeServiceTransportRMI,rmiAuthenticationService,repoRemoteService,RepoRemoteService,repoRemoteTransport,repoRemoteTransportRMI,actionServiceTransport,actionServiceTransportRMI,BlogIntegrationService,BlogIntegrationService_transaction,BlogIntegrationService_security,blogIntegrationService,baseBlogIntegrationImplmentation,wordPressBlogIntegration,typePadBlogIntegration,blog-post,ThumbnailService,ThumbnailService_transaction,ThumbnailService_security,thumbnailService,thumbnailRegistry,create-thumbnail,update-thumbnail,thumbnailedAspect,thumbnailServiceScript,PreferenceService,PreferenceService_transaction,PreferenceService_security,preferenceService,preferenceServiceScript,transformer.worker.Pdf2swf,transformer.Pdf2swf,transformer.complex.OpenOffice.Pdf2swf,transformer.complex.Text.Pdf2swf,siteService_dictionaryBootstrap,siteService_permissionBootstrap,SiteService,SiteService_transaction,SiteService_security,siteServiceResourceBundles,siteRoleComparator,siteService,siteServiceScript,TaggingService,TaggingService_transaction,TaggingService_security,taggingService,update-tagscope,refresh-tagscope,scriptTaggingService,formResourceBundles,FormService,FormService_transaction,FormService_security,formService,formProcessorRegistry,nodeFilterRegistry,typeFilterRegistry,baseFormProcessor,filteredFormProcessor,nodeFormProcessor,typeFormProcessor,baseFormFilter,formServiceScript,invitationService,InvitationService_security,InvitationService_transaction,InvitationService,invitationResourceBundles,invitationServiceScript,lucene.sql.cmis.strict,lucene.sql.alfresco,CMISMapping,CMISService,CMISDictionaryService,CMIS.DictionaryBootstrap,CMISQueryService,adm.luceneQueryEngine,adm.luceneQueryEngineSecurity,period.none,period.days,period.weeks,period.months,period.quarters,period.years,period.end.of.month,period.end.of.quarter,period.end.of.year,period.end.of.financial.month,period.end.of.financial.quarter,period.end.of.financial.year,period.cron,period.xml.duration,PatchService,PatchService_transaction,patchDaoComponent,patchComponent,basePatch,patch.sample.01,patch.sample.02,bootstrapSpacesMessageSource,patch.savedSearchesFolder,patch.savedSearchesPermission,patch.updatePermissionData,patch.guestUser,patch.fixNodeSerializableValues,patch.updateGuestPermission,patch.guestPersonPermission,patch.spacesRootPermission,patch.categoryRootPermission,patch.contentPermission,patch.updateForumsIcons,patch.emailTemplatesFolder,patch.emailTemplatesContent,patch.descriptorUpdate,patch.scriptsFolder,patch.topLevelGroupParentChildAssociationTypePatch,patch.actionRuleDecouplingPatch,patch.systemWorkflowFolderPatch,patch.rssTemplatesFolderPatch,patch.uifacetsTemplatesPatch,patch.guestPersonPermission2,patch.schemaUpdateScript-V1.4-1,patch.uniqueChildName,patch.schemaUpdateScript-V1.4-2,patch.InvalidNameEnding,patch.systemDescriptorContent,patch.versionHistoryPerformance,patch.multilingualBootstrap,patch.LinkNodeFileExtension,patch.systemRegistryBootstrap,patch.userAndPersonUserNamesAsIdentifiers,patch.contentFormFolderType,patch.db-V2.1-JBPMData,patch.db-V2.1-NotNullColumns,patch.groupNamesAsIdentifiers,patch.invalidUserPersonAndGroup,patch.AVMGuidPatch,patch.webscripts,patch.webscriptsExtension,patch.AVMLayeredSnapshot,patch.groupMembersAsIdentifiers,patch.redeploySubmitProcess,patch.AVMLocking,patch.ReadmeTemplate,patch.webScriptsReadme,patch.db-V2.1-JBPMProcessKey,patch.db-V2.1-VersionColumns2,patch.webscripts2,patch.customModels,patch.customMessages,patch.customWebClientExtension,patch.redeploySubmitProcess2,patch.db-V2.1-RemoveWcmSubmittedAspect,patch.webscripts3,patch.customWorkflowDefs,patch.avmStoreAsIdentifier,patch.db-V1.4-TxnCommitTimeIndex,patch.avmFormPropertyIdentifier,patch.formsFolder,patch.tagRootCategory,patch.deploymentMigration,patch.redeploySubmitProcess3,patch.db-V2.2-ACL-From-2.1-A,patch.db-V2.2-ACL,patch.updateAvmPermissionData,patch.db-V2.2-0-CreateMissingTables,patch.db-V2.2-2-MoveQNames,patch.db-V2.2-Upgrade-From-2.1,patch.db-V2.2-Upgrade-From-2.2SP1,patch.avmWebProjectInheritPermissions02,patch.db-V2.0-ContentUrls,patch.updateDmPermissions,patch.db-V3.0-0-CreateActivitiesExtras,patch.createSiteStore,patch.sitesFolder,patch.sitePermissionRefactorPatch,patch.migrateVersionStore,patch.inviteEmailTemplate,patch.calendarNamespaceUri,patch.db-V2.1-AuditPathIndex,patch.spacesStoreGuestPermission,patch.redeploySubmitProcess4,patch.redeploySubmitProcess5,patch.deploySubmitDirectProcess,patch.resetWCMToGroupBasedPermissionsPatch,patch.wcmPostPermissionSnapshotPatch3,patch.moveWCMToGroupBasedPermissionsPatch,patch.wcmPostPermissionSnapshotPatch2,patch.redeploySubmitProcess6,patch.redeploySubmitProcess7,patch.migrateVersionStoreUpdateCounter,patch.db-V2.2-Person-2,patch.webSiteAddModerated,patch.invitationMigration,patch.db-V3.2-Remove-AVM-Issuer,patch.mtShareExistingTenants,patch.redeployInvitationProcess,patch.db-V3.2-LockTables,patch.zonedAuthorities,patch.authorityMigration,patch.authorityDefaultZonesPatch,patch.fixNameCrcValues,patch.db-V3.2-ContentTables,patch.db-V3.2-Modify-AVM-MimeType,patch.db-V3.2-Upgrade-JBPM,patch.imapFolders,userBootstrap-mt,systemBootstrap-mt,versionBootstrap-mt,version2Bootstrap-mt,spacesArchiveBootstrap-mt,spacesBootstrap-mt,baseMultiTAdminService,moduleService,module.baseComponent,sqlMapClient]; root of factory hierarchy
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexerComponent' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean '&indexerAndSearcherFactory' while setting bean property 'storeRedirectorProxyFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'admLuceneIndexerAndSearcherFactory' while setting bean property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'admLuceneIndexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'mlAwareNodeService' while setting bean property 'nodeService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mlAwareNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'mtAwareNodeService' while setting bean property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mtAwareNodeService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dbNodeServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeServiceImpl' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dictionaryService' while setting bean property 'dictionaryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryBootstrap' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'dictionaryDAO' while setting bean property 'dictionaryDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'namespaceDAO' while setting constructor argument with index 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'namespaceDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'prefixesCache' while setting bean property 'namespaceRegistryCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'prefixesSharedCache' while setting bean property 'sharedCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesSharedCache' defined in class path resource [alfresco/cache-context.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'internalEHCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean] for bean with name 'internalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'admLuceneIndexerAndSearcherFactory' while setting bean property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'admLuceneIndexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'mlAwareNodeService' while setting bean property 'nodeService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mlAwareNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'mtAwareNodeService' while setting bean property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mtAwareNodeService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dbNodeServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeServiceImpl' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dictionaryService' while setting bean property 'dictionaryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryBootstrap' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'dictionaryDAO' while setting bean property 'dictionaryDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'namespaceDAO' while setting constructor argument with index 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'namespaceDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'prefixesCache' while setting bean property 'namespaceRegistryCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'prefixesSharedCache' while setting bean property 'sharedCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesSharedCache' defined in class path resource [alfresco/cache-context.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'internalEHCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean] for bean with name 'internalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'admLuceneIndexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'mlAwareNodeService' while setting bean property 'nodeService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mlAwareNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'mtAwareNodeService' while setting bean property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mtAwareNodeService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dbNodeServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeServiceImpl' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dictionaryService' while setting bean property 'dictionaryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryBootstrap' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'dictionaryDAO' while setting bean property 'dictionaryDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'namespaceDAO' while setting constructor argument with index 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'namespaceDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'prefixesCache' while setting bean property 'namespaceRegistryCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'prefixesSharedCache' while setting bean property 'sharedCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesSharedCache' defined in class path resource [alfresco/cache-context.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'internalEHCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean] for bean with name 'internalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mlAwareNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'mtAwareNodeService' while setting bean property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mtAwareNodeService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dbNodeServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeServiceImpl' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dictionaryService' while setting bean property 'dictionaryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryBootstrap' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'dictionaryDAO' while setting bean property 'dictionaryDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'namespaceDAO' while setting constructor argument with index 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'namespaceDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'prefixesCache' while setting bean property 'namespaceRegistryCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'prefixesSharedCache' while setting bean property 'sharedCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesSharedCache' defined in class path resource [alfresco/cache-context.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'internalEHCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean] for bean with name 'internalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mtAwareNodeService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dbNodeServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeServiceImpl' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dictionaryService' while setting bean property 'dictionaryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryBootstrap' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'dictionaryDAO' while setting bean property 'dictionaryDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'namespaceDAO' while setting constructor argument with index 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'namespaceDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'prefixesCache' while setting bean property 'namespaceRegistryCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'prefixesSharedCache' while setting bean property 'sharedCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesSharedCache' defined in class path resource [alfresco/cache-context.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'internalEHCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean] for bean with name 'internalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dbNodeServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeServiceImpl' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dictionaryService' while setting bean property 'dictionaryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryBootstrap' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'dictionaryDAO' while setting bean property 'dictionaryDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'namespaceDAO' while setting constructor argument with index 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'namespaceDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'prefixesCache' while setting bean property 'namespaceRegistryCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'prefixesSharedCache' while setting bean property 'sharedCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesSharedCache' defined in class path resource [alfresco/cache-context.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'internalEHCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean] for bean with name 'internalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeServiceImpl' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dictionaryService' while setting bean property 'dictionaryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryBootstrap' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'dictionaryDAO' while setting bean property 'dictionaryDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'namespaceDAO' while setting constructor argument with index 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'namespaceDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'prefixesCache' while setting bean property 'namespaceRegistryCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'prefixesSharedCache' while setting bean property 'sharedCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesSharedCache' defined in class path resource [alfresco/cache-context.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'internalEHCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean] for bean with name 'internalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryBootstrap' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'dictionaryDAO' while setting bean property 'dictionaryDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'namespaceDAO' while setting constructor argument with index 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'namespaceDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'prefixesCache' while setting bean property 'namespaceRegistryCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'prefixesSharedCache' while setting bean property 'sharedCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesSharedCache' defined in class path resource [alfresco/cache-context.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'internalEHCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean] for bean with name 'internalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'namespaceDAO' while setting constructor argument with index 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'namespaceDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'prefixesCache' while setting bean property 'namespaceRegistryCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'prefixesSharedCache' while setting bean property 'sharedCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesSharedCache' defined in class path resource [alfresco/cache-context.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'internalEHCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean] for bean with name 'internalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'namespaceDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'prefixesCache' while setting bean property 'namespaceRegistryCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'prefixesSharedCache' while setting bean property 'sharedCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesSharedCache' defined in class path resource [alfresco/cache-context.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'internalEHCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean] for bean with name 'internalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'prefixesSharedCache' while setting bean property 'sharedCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesSharedCache' defined in class path resource [alfresco/cache-context.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'internalEHCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean] for bean with name 'internalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesSharedCache' defined in class path resource [alfresco/cache-context.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'internalEHCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean] for bean with name 'internalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider Caught exception org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexerComponent' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean '&indexerAndSearcherFactory' while setting bean property 'storeRedirectorProxyFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'admLuceneIndexerAndSearcherFactory' while setting bean property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'admLuceneIndexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'mlAwareNodeService' while setting bean property 'nodeService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mlAwareNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'mtAwareNodeService' while setting bean property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mtAwareNodeService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeService' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dbNodeServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbNodeServiceImpl' defined in class path resource [alfresco/node-services-context.xml]: Cannot resolve reference to bean 'dictionaryService' while setting bean property 'dictionaryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryBootstrap' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'dictionaryDAO' while setting bean property 'dictionaryDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'namespaceDAO' while setting constructor argument with index 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'namespaceDAO' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'prefixesCache' while setting bean property 'namespaceRegistryCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesCache' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'prefixesSharedCache' while setting bean property 'sharedCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'prefixesSharedCache' defined in class path resource [alfresco/cache-context.xml]: Cannot create inner bean 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' of type [org.springframework.cache.ehcache.EhCacheFactoryBean] while setting bean property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'internalEHCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean] for bean with name 'internalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.ehcache.EhCacheFactoryBean#b8deef' defined in class path resource [alfresco/cache-context.xml]: Cannot resolve reference to bean 'internalEHCacheManager' while setting bean property 'cacheManager'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean] for bean with name 'internalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean] for bean with name 'internalEHCacheManager' defined in class path resource [alfresco/cache-context.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider
Caused by: java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
   at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at org.springframework.util.ClassUtils.forName(ClassUtils.java:229)
   at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:327)
   at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1073)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:348)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:216)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:123)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
   at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:385)
   at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:121)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:800)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:718)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:339)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.aop.framework.ProxyFactoryBean.freshTargetSource(ProxyFactoryBean.java:546)
   at org.springframework.aop.framework.ProxyFactoryBean.getSingletonInstance(ProxyFactoryBean.java:291)
   at org.springframework.aop.framework.ProxyFactoryBean.getObject(ProxyFactoryBean.java:228)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectFromFactoryBean(AbstractBeanFactory.java:1246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1217)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:260)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:248)
   at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:820)
   at org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:597)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:349)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:66)
   at org.alfresco.sample.jcr.FirstJCRClient.main(FirstJCRClient.java:32)


could you plz help me resolve it.. and tel me the wat for the following line

ApplicationContext context = new ClassPathXmlApplicationContext("classpath:alfresco/application-context.xml");

where this application-context.xml reside and what it should contain….


Thanks
keerthi

mcleanl
Champ in-the-making
Champ in-the-making
Hello,

Could you please advise when (if) an Alfresco 3.2 version will become available?  I am currently fixing a few 'amp' interfaces to get it working [AuthorityService.createGroup expects two attributes in 3.2 but is being passed three] but wish to know whether this is now orphanware.

Thanks. Smiley Indifferent

EDIT: It appears to be only one occurance in the com.rivetlogic.core.cma.alfresco.webscripts.bean.PeopleServiceWebScript.java on line 251 needs to have the 'parentGroupName' param removed. I recompiled and the amp now works with 3.2 (no need to change anything else on client side). Cheers Smiley Very Happy

yuvaraj
Champ in-the-making
Champ in-the-making
Hi,
I am a newbie in using the RAAr api. I tried injecting the amp file in to the alfresco war. Now could u please guide me thru the steps to execute a sample RAAr application. Because i have been facing a severe exception while running the sample.(RAAr demo)
Also is there any possibility to send me also the zip file?
yuva.vel@gmail.com

Thanks in advance,

Yuvaraj.

yuvaraj
Champ in-the-making
Champ in-the-making
Hi Praveen,

    I downloaded ur sample and tried executing it..But i got the below error. Do you any idea why this exception could occur?

Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cmaMappingService' defined in class path resource [cma-core-context.xml]: Invocation of init method failed; nested exception is com.rivetlogic.core.cma.exception.CmaRuntimeException: org.exolab.castor.mapping.MappingException: Nested error: org.xml.sax.SAXException: unable to find FieldDescriptor for 'class' in ClassDescriptor of bind-xml
Caused by: com.rivetlogic.core.cma.exception.CmaRuntimeException: org.exolab.castor.mapping.MappingException: Nested error: org.xml.sax.SAXException: unable to find FieldDescriptor for 'class' in ClassDescriptor of bind-xml
   at com.rivetlogic.core.cma.mapping.impl.CmaCastorUnmarshaller.unmarshal(CmaCastorUnmarshaller.java:57)
   at com.rivetlogic.core.cma.mapping.impl.CmaMappingServiceImpl.init(CmaMappingServiceImpl.java:113)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1160)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1122)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:429)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:273)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:92)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:77)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:68)
   at main.java.mainClass.main(mainClass.java:95)
Caused by: org.exolab.castor.mapping.MappingException: Nested error: org.xml.sax.SAXException: unable to find FieldDescriptor for 'class' in ClassDescriptor of bind-xml
   at org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:497)
   at org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:402)
   at com.rivetlogic.core.cma.mapping.impl.CmaCastorUnmarshaller.unmarshal(CmaCastorUnmarshaller.java:53)
   … 19 more
Thanks in advance,

Yuvaraj.T

rivetlogic
Champ on-the-rise
Champ on-the-rise
Hello,

Could you please advise when (if) an Alfresco 3.2 version will become available?  I am currently fixing a few 'amp' interfaces to get it working [AuthorityService.createGroup expects two attributes in 3.2 but is being passed three] but wish to know whether this is now orphanware.

Thanks. Smiley Indifferent

EDIT: It appears to be only one occurance in the com.rivetlogic.core.cma.alfresco.webscripts.bean.PeopleServiceWebScript.java on line 251 needs to have the 'parentGroupName' param removed. I recompiled and the amp now works with 3.2 (no need to change anything else on client side). Cheers Smiley Very Happy

Thanks for the hint. Support for 3.2E is coming soon (as soon as we get some breathing room Smiley Happy).

–Sumer

rivetlogic
Champ on-the-rise
Champ on-the-rise
Yuvaraj,

Can you provide version numbers of RAAr and Alfresco? That would be a good start in troubleshooting your problem.

Cheers.

–Sumer

yuvaraj
Champ in-the-making
Champ in-the-making
Hi Sumer,

   Thanks for ur reply.That error was resolved now. I just changed the castor.jar from v0.9.1 to v1.2  Smiley Happy .
I was using Alfresco version 3.2 and RAAr version 1.11.0. Now i am stuck in creating a user group  Smiley Sad .
When i try to execute the line :-
      NodeRef userGroup = peopleService.createGroup(ticket, "simplegroup");

The error is :

com.rivetlogic.core.cma.exception.CmaRuntimeException: java.lang.NoSuchMethodError: org.alfresco.service.cmr.security.AuthorityService.createAuthority(Lorg/alfresco/service/cmr/security/AuthorityType;Ljava/lang/String;Ljava/lang/StringSmiley WinkLjava/lang/String;


Could u please guide me to solve this error.? Is this some sort of a version issue in RAAr and Alfresco ?

And also do you have any sample code to upload a new document in to Alfresco ? the current one i am using just searches for an existing one and overwrites the content.

Thanks in advance,
Yuvaraj.T