cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to run SDK FirstJrcClient sample

dacedos
Champ in-the-making
Champ in-the-making
Hi,

I am trying to run this example from eclipse under suse but I always get the following problem:

12:49:16,808  INFO  [alfresco.config.SystemPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/hibernate-cfg.properties]
12:49:25,853  INFO  [config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
12:49:29,574  ERROR [content.transform.RuntimeExecutableContentTransformer] Failed to start a runtime executable content transformer:
Execution result:
   os:         Linux
   command:    [/usr/local/bin/pdf2swf, -V]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "/usr/local/bin/pdf2swf": java.io.IOException: error=2, No such file or directory
12:49:30,008  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.IngresDialect.
12:50:10,088  INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
12:50:42,534 User:System INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/Alfresco/alf_data
12:50:42,686 User:System INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
12:50:42,929 User:System INFO  [admin.patch.PatchExecuter] No patches were required.
12:50:42,935 User:System INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
[color=#FF0000]12:50:43,125 User:System ERROR [org.alfresco.fileserver] File server configuration error, Failed to initialize desktop action
org.alfresco.error.AlfrescoRuntimeException: Failed to initialize desktop action
   at org.alfresco.filesys.ServerConfigurationBean.processDesktopActions(ServerConfigurationBean.java:3042)
   at org.alfresco.filesys.ServerConfigurationBean.processFilesystemsConfig(ServerConfigurationBean.java:2360)
   at org.alfresco.filesys.ServerConfigurationBean.init(ServerConfigurationBean.java:550)
   at org.alfresco.filesys.ServerConfigurationBean.onApplicationEvent(ServerConfigurationBean.java:3282)
   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:66)
   at org.alfresco.sample.FirstJCRClient.main(FirstJCRClient.java:62)
Caused by: org.alfresco.filesys.alfresco.DesktopActionException: Failed to find drag and drop application, alfresco/desktop/Alfresco.exe
   at org.alfresco.filesys.alfresco.DesktopAction.standardInitialize(DesktopAction.java:364)
   at org.alfresco.filesys.alfresco.DesktopAction.initializeAction(DesktopAction.java:311)
   at org.alfresco.filesys.ServerConfigurationBean.processDesktopActions(ServerConfigurationBean.java:3014)
   … 12 more[/color]12:50:43,133 User:System ERROR [org.alfresco.fileserver] CIFS and FTP servers not started due to filesystem initialization error
12:50:43,385 User:System WARN  [alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
12:50:43,448 User:System INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_17-b04; maximum heap size 63.563MB
12:50:43,448 User:System WARN  [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 63.563MB is less than recommended 512MB
12:50:43,449 User:System INFO  [service.descriptor.DescriptorService] Alfresco started (Enterprise): Current version 3.1.1 (229) schema 1009 - Installed version 3.1.1 (229) schema 1009
I download yesterday the lastest example from SDK 3.3 which was supposed to work. Any idea how can I run it?

thanks!
1 REPLY 1

dacedos
Champ in-the-making
Champ in-the-making
is it right for a linux distribution to look for alfresco/desktop/Alfresco.exe ??