Unable to resolve drag and drop application as a file,

cancel
Showing results for 
Search instead for 
Did you mean: 
pilate
Member II

Unable to resolve drag and drop application as a file,

Bonjour, je cherche à faire fonctionner le sample FirstFoundationClient du SDK Alfresco 3.2r2. Cela n'a pas été évident déjà pour en arriver jusque là, mais là je n'y arrive pas tout seul. J'ai l'erreur suivante :

12:22:41,859  WARN  [management.subsystems.LegacyConfigPostProcessor] Legacy configuration detected: adding classpath:alfresco/alfresco-shared.properties to global-properties definition
12:22:41,859  WARN  [management.subsystems.LegacyConfigPostProcessor] Legacy configuration detected: adding classpath:alfresco/extension/custom-alfresco-shared.properties to global-properties definition
12:22:41,859  WARN  [management.subsystems.LegacyConfigPostProcessor] Legacy configuration detected: adding classpath:alfresco/extension/custom-repository.properties to global-properties definition
12:22:41,875  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
12:22:41,875  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
12:22:41,875  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
12:22:41,891  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/extension/custom-alfresco-shared.properties]
12:22:41,891  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/extension/custom-repository.properties]
12:22:41,922  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
12:22:53,906  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
12:22:56,156  INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
12:22:56,828  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
12:22:56,843  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
12:22:56,859  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
12:22:59,156 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
12:22:59,203 User:System INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
12:22:59,781 User:System INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
12:22:59,999  INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: C:\Alfresco\alf_data
12:23:00,046  INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
12:23:00,390  INFO  [admin.patch.PatchExecuter] No patches were required.
12:23:00,390 User:System INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
12:23:00,468 User:System WARN  [repo.module.ModuleServiceImpl] A previously-installed module 'org.alfresco.module.vti' (version 1.2) is not present in your distribution.
12:23:00,468  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [fileServers, default]
12:23:00,484  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
Exception in thread "main" org.alfresco.error.AlfrescoRuntimeException: 10260001 File server configuration error, 10260000 Failed to initialize desktop action
   at org.alfresco.filesys.AbstractServerConfigurationBean.init(AbstractServerConfigurationBean.java:464)
   at org.alfresco.filesys.AbstractServerConfigurationBean.onApplicationEvent(AbstractServerConfigurationBean.java:824)
   at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
   at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:617)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
   at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.start(ChildApplicationContextFactory.java:637)
   at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.start(AbstractPropertyBackedBean.java:454)
   at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.onApplicationEvent(AbstractPropertyBackedBean.java:377)
   at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
   at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:617)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
   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:73)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 10260000 Failed to initialize desktop action
   at org.alfresco.filesys.alfresco.AlfrescoContext.initialize(AlfrescoContext.java:134)
   at org.alfresco.filesys.repo.ContentContext.initialize(ContentContext.java:144)
   at org.alfresco.filesys.alfresco.AlfrescoDiskDriver.registerContext(AlfrescoDiskDriver.java:364)
   at org.alfresco.filesys.repo.ContentDiskDriver.registerContext(ContentDiskDriver.java:452)
   at org.alfresco.filesys.config.ServerConfigurationBean.processFilesystemsConfig(ServerConfigurationBean.java:1532)
   at org.alfresco.filesys.AbstractServerConfigurationBean.init(AbstractServerConfigurationBean.java:459)
   … 21 more
Caused by: org.alfresco.filesys.alfresco.DesktopActionException: Unable to resolve drag and drop application as a file, class path resource [alfresco/desktop/Alfresco.exe]
   at org.alfresco.filesys.alfresco.DesktopAction.initializeAction(DesktopAction.java:434)
   at org.alfresco.filesys.alfresco.AlfrescoContext.initialize(AlfrescoContext.java:130)
   … 26 more

Je crois comprendre que la resource ne trouve pas le fichier associé au context passé en paramètre de la méthode initializeAction() du DesktopAction… Mais je suis encore tout jeunot sur Alfresco pour comprendre le réel pourquoi du comment !
S'il vous-plait, j'ai cherché partout ces jours derniers. Serait-ce possible d'avoir une réponse clair et rapide ? Je suis stagiaire et le temps m'est compté.
1 Reply
rguinot
Customer

Re: Unable to resolve drag and drop application as a file,

Je ne suis pas stagiaire et le temps m'est compté aussi.
Merci de ne pas crossposter. Je vais vous répondre dans le thread que vous avez déjà ouvert ici : http://forums.alfresco.com/fr/viewtopic.php?f=10&t=3570#p16175
Sujet verouillé.