cancel
Showing results for 
Search instead for 
Did you mean: 

Faire marcher FirstFoundationClient

basdig
Champ in-the-making
Champ in-the-making
Salut a tous,

Je viens d'installer Alfresco community 3.2r.. J'essaye de faire tourner l'extension FirstFoundationClient sur eclipse Classic 3.5.1.

J'ai suivi la demarche dans alfresco.wiki pas a pas donc :

- j'ai installé jdk1.6
- j'ai installé Alfresco community 3.2r dans c:/Alfresco
- j'ai telechargé et intallé Alfresco SDK
- j'ai changé le "compliance level" dans eclipse a 1.5
- j'ai ajouté C:/Alfresco/bin a la variable d'environnement PATH
- j'ai importé les projets Alfresco SDK dans eclipse.

J'ai changer les fichiers de configuration de l'extension FirstFoundationClient comme suit:


#
# Sample custom content and index data location
#

dir.root=C:/Alfresco/alf_data

db.name=alfresco
db.username=alfresco
db.password=alfresco


#
# MySQL connection (This is default and requires mysql-connector-java-3.1.12-bin.jar, which ships with the Alfresco server)
#
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://localhost/alfresco


et j'ai ajouté le fichier mysql-connector-java-5.7.1-bin.jar aux librairies referencés.

En compilant j'ai le probleme suivant :


ATTENTION: SQL Error: 0, SQLState: null
25 nov. 2009 12:16:14 org.hibernate.util.JDBCExceptionReporter logExceptions
GRAVE: Cannot create PoolableConnectionFactory (Communications link failure

Last packet sent to the server was 0 ms ago.)
25 nov. 2009 12:16:14 org.hibernate.cfg.SettingsFactory buildSettings
ATTENTION: Could not obtain connection metadata
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure

Last packet sent to the server was 0 ms ago.)
   at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
   at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
   at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:81)
   at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)
   at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073)
   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298)
   at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805)
   at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745)
   at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:134)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1203)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
   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.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:76)
   at org.alfresco.util.ApplicationContextHelper.getApplicationContext(ApplicationContextHelper.java:83)
   at org.alfresco.util.ApplicationContextHelper.getApplicationContext(ApplicationContextHelper.java:57)
   at org.alfresco.sample.FirstFoundationClient.main(FirstFoundationClient.java:69)
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

Last packet sent to the server was 0 ms ago.
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
   at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
   at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2120)
   at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:723)
   at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
   at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
   at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
   at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
   at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
   at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247)
   at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221)
   … 103 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

Last packet sent to the server was 0 ms ago.
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
   at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
   at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:335)
   at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2043)
   … 116 more
Caused by: java.net.ConnectException: Connection refused: connect
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(Unknown Source)
   at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
   at java.net.PlainSocketImpl.connect(Unknown Source)
   at java.net.SocksSocketImpl.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.<init>(Unknown Source)
   at java.net.Socket.<init>(Unknown Source)
   at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)
   at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284)
   … 117 more
25 nov. 2009 12:16:14 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons
INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@544ec1: defining beans [transactionalEHCacheManager,internalEHCacheManager,qnameEntitySharedCache,qnameEntityCache,namespaceEntitySharedCache,namespaceEntityCache,localeIdSharedCache,localeIdCache,mimetypeEntitySharedCache,mimetypeEntityCache,encodingEntitySharedCache,encodingEntityCache,immutableEntitySharedCache,immutableEntityCache,storeAndNodeIdSharedCache,storeAndNodeIdCache,parentAssocsSharedCache,parentAssocsCache,userToAuthoritySharedCache,userToAuthorityCache,permissionsAccessSharedCache,permissionsAccessCache,nodeOwnerSharedCache,nodeOwnerCache,personSharedCache,personCache,ticketsSharedCache,ticketsCache,sysAdminSharedCache,sysAdminCache,avmStoreSharedCache,avmStoreCache,avmEntitySharedCache,avmEntityCache,avmVersionRootEntitySharedCache,avmVersionRootEntityCache,avmNodeSharedCache,avmNodeCache,avmNodeAspectsSharedCache,avmNodeAspectsCache,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,propertyValueComponent,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,PublicServiceAccessService_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,PublicServiceAccessService,PublicServiceAccessService_transaction,publicServiceAccessService,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.OpenDocument,extracter.RFC822,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,propertyValueDAO,auditDAO,newAvmStoreDAO,newAvmNodeDAO,newAvmNodeLinksDAO,newAvmVersionRootDAO,patchDAO,hibernateConfigProperties,cacheStrategiesPlaceholderConfigurer,defaltOnLoadListsner,clearCGLibThreadLocal,sessionFactory,dialect,sessionFactoryBase,transactionManager,qnameDAO,versionCounterDaoComponent,permissionsDaoComponent,avmPermissionsDaoComponent,dmPermissionsDaoComponent,aclDaoComponent,nodeACLDAO,avmACLDAO,usageDeltaDAO,auditableTransactionHelper,nodeDaoServiceImpl,dbNodeDaoServiceTxnRegistration,daoServiceDirtySessionInterceptor,nodeDaoService,localeDAOImpl,localeDAO,auditDaoHibernate,hibernateSessionHelper,hibernateL1CacheBulkLoader,dialectResourceLoader,activitiesDataSource,activitiesDataSource_autoCommit,activitiesSqlMapClient,alfrescoSqlMapClient,locksSqlMapClientTemplate,contentSqlMapClientTemplate,propertyValueSqlMapClientTemplate,auditSqlMapClientTemplate,avmSqlMapClientTemplate,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,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,fileServerConfiguration,imap,schedulerStarter,thirdparty,Synchronization,workflowScheduler,emailServer,audit.bootstrap,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,avmDAOs,lookupCache,rawServices,orphanReaper,createStoreTxnListener,purgeStoreTxnListener,createVersionTxnListener,purgeVersionTxnListener,avmRepository,avmRemote,AVMSubmitTransactionListener,excludeRegexMatcher,excludeExtensionMatcher,globalPathExcluder,avmExpiredContentProcessor,avmLockingService,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,auditModel.extractorRegistry,auditModel.extractor.simpleValue,auditModel.extractor.nullValue,auditModel.extractor.nodeName,auditModel.extractor.nodeType,auditModel.generatorRegistry,auditModel.generator.time,auditModel.generator.user,auditModel.generator.personFullName,auditModel.modelRegistry,auditModel.repository,attrSessionSizeResourceInterceptor,attrSessionSizeResourceManager,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.immediately,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-3,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,patch.db-V3.2-PropertyValueTables,patch.db-V3.2-AuditTables,userBootstrap-mt,systemBootstrap-mt,versionBootstrap-mt,version2Bootstrap-mt,spacesArchiveBootstrap-mt,spacesBootstrap-mt,baseMultiTAdminService,moduleService,module.baseComponent,sqlMapClient]; root of factory hierarchy
25 nov. 2009 12:16:14 org.alfresco.repo.cache.EhCacheManagerFactoryBean destroy
INFO: Shutting down EHCache CacheManager
Exception in thread "main" 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 'transactionService' while setting bean property 'transactionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionService' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [alfresco/hibernate-context.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
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 'transactionService' while setting bean property 'transactionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionService' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [alfresco/hibernate-context.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
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 'transactionService' while setting bean property 'transactionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionService' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [alfresco/hibernate-context.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
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 'transactionService' while setting bean property 'transactionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionService' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [alfresco/hibernate-context.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
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 'transactionService' while setting bean property 'transactionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionService' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [alfresco/hibernate-context.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
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 'transactionService' while setting bean property 'transactionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionService' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [alfresco/hibernate-context.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
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 'transactionService' while setting bean property 'transactionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionService' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [alfresco/hibernate-context.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionService' defined in class path resource [alfresco/core-services-context.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [alfresco/hibernate-context.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [alfresco/hibernate-context.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
Caused by: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
   at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:59)
   at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
   at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:426)
   at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128)
   at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073)
   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298)
   at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805)
   at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745)
   at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:134)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1203)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
   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.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:76)
   at org.alfresco.util.ApplicationContextHelper.getApplicationContext(ApplicationContextHelper.java:83)
   at org.alfresco.util.ApplicationContextHelper.getApplicationContext(ApplicationContextHelper.java:57)
   at org.alfresco.sample.FirstFoundationClient.main(FirstFoundationClient.java:69)

J'ai parcouru les autres sujets et j'ai essayé les solutions proposées mais ça ne marche pas.

Merci pour vos réponses
11 REPLIES 11

rguinot
Confirmed Champ
Confirmed Champ
Voir ce que cela donne en commentant la section desktopActions de la config file-servers qui est dans le jar config.jar de votre SDK.

pilate
Champ in-the-making
Champ in-the-making
Il semblerait que le probleme soit corrigé sur ce lien : http://dev.alfresco.com/downloads/nightly/dist/