cancel
Showing results for 
Search instead for 
Did you mean: 

This document can't be previewed. Click here to download it. Alfresco community v.5.1.f

rlesnikov
Champ on-the-rise
Champ on-the-rise

Hi guys,

Need help to resolve the above error on a Windows platform, when trying to view office documents (doc, docx etc.)

Used this

Alfresco document preview doesn’t work for MS Office files (.doc, .docx, .ppt .pptx etc) although it...

and

Alfresco 4.2f - This Document Can't Be Previewed.

- no result Smiley Sad

The install is very buggy. file winserv.exe is missing, so I had to install 4.0.b and copy that file from there.

However on 4.0.b under Windows and on 5.1.f under Linux this feature seems to be working. I have not tried to upgrade with alfresco-community-installer-201609-EA-win-x64.exe yet, because upgrade process is very sophisticated.

After installing the service I've tried to manually run it, automatically, run before and after starting Alfresco - no results.

By the way, startup alfresco.log:

2016-10-10 15:41:12,616 INFO  [org.alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbcSmiley Tongueostgresql://localhost:5432/alfresco' with user 'alfresco'.

2016-10-10 15:41:12,616 INFO  [org.alfresco.repo.admin] [localhost-startStop-1] Connected to database PostgreSQL version 9.4.4

2016-10-10 15:41:16,413 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V4.2-metadata-query-indexes

2016-10-10 15:41:16,413 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.1-metadata-query-indexes

2016-10-10 15:41:23,429 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker] [localhost-startStop-1] Failed to start a runtime executable content transformer:

Execution result:

   os:         Windows 10

   command:    ${ffmpeg.exe} -version

   succeeded:  false

   exit code:  1

   out:       

   err:        Cannot run program "${ffmpeg.exe}": CreateProcess error=2, The system cannot find the file specified

2016-10-10 15:41:23,429 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker] [localhost-startStop-1] Failed to start a runtime executable content transformer:

Execution result:

   os:         Windows 10

   command:    ${ffmpeg.exe} -version

   succeeded:  false

   exit code:  1

   out:       

   err:        Cannot run program "${ffmpeg.exe}": CreateProcess error=2, The system cannot find the file specified

2016-10-10 15:41:23,429 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker] [localhost-startStop-1] Failed to start a runtime executable content transformer:

Execution result:

   os:         Windows 10

   command:    ${ffmpeg.exe} -version

   succeeded:  false

   exit code:  1

   out:       

   err:        Cannot run program "${ffmpeg.exe}": CreateProcess error=2, The system cannot find the file specified

2016-10-10 15:41:23,429 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker] [localhost-startStop-1] Failed to start a runtime executable content transformer:

Execution result:

   os:         Windows 10

   command:    ${ffmpeg.exe} -version

   succeeded:  false

   exit code:  1

   out:       

   err:        Cannot run program "${ffmpeg.exe}": CreateProcess error=2, The system cannot find the file specified

2016-10-10 15:41:23,444 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Transformers' subsystem, ID: [Transformers, default]

2016-10-10 15:41:23,616 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Transformers' subsystem, ID: [Transformers, default] complete

2016-10-10 15:41:23,647 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor Repository Template Processor for extension ftl

2016-10-10 15:41:23,647 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor Repository Script Processor for extension js

2016-10-10 15:41:25,569 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted]

2016-10-10 15:41:25,616 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted] complete

2016-10-10 15:41:25,647 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Connecting to database: jdbcSmiley Tongueostgresql://localhost:5432/alfresco, UserName=alfresco, PostgreSQL Native Driver

2016-10-10 15:41:25,647 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema managed by database dialect org.hibernate.dialect.PostgreSQLDialect.

2016-10-10 15:41:26,601 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] No changes were made to the schema.

2016-10-10 15:41:26,897 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfinst]

2016-10-10 15:41:27,038 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfinst] complete

2016-10-10 15:41:27,038 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Authentication' subsystem, ID: [Authentication, managed, ldap1]

2016-10-10 15:41:27,132 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Authentication' subsystem, ID: [Authentication, managed, ldap1] complete

2016-10-10 15:41:27,929 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'thirdparty' subsystem, ID: [thirdparty, default]

2016-10-10 15:41:28,054 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete

2016-10-10 15:41:28,054 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]

2016-10-10 15:41:30,382 WARN  [org.alfresco.util.OpenOfficeConnectionTester] [localhost-startStop-1] An initial OpenOffice connection could not be established.

2016-10-10 15:41:30,382 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete

2016-10-10 15:41:30,382 INFO  [org.alfresco.repo.admin.ConfigurationChecker] [localhost-startStop-1] The Alfresco root data directory ('dir.root') is: \\optimus.viscira.local\Alfresco

2016-10-10 15:41:30,382 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Search' subsystem, ID: [Search, managed, solr4]

2016-10-10 15:41:30,601 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Search' subsystem, ID: [Search, managed, solr4] complete

2016-10-10 15:41:30,616 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] Checking for patches to apply ...

2016-10-10 15:41:30,882 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] [localhost-startStop-1] No patches were required.

2016-10-10 15:41:30,913 INFO  [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] Found 3 module package(s).

2016-10-10 15:41:30,929 INFO  [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] Starting module 'alfresco-aos-module' version 1.1.

2016-10-10 15:41:30,944 INFO  [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] Starting module 'org.alfresco.integrations.google.docs' version 3.0.3.

2016-10-10 15:41:30,960 INFO  [org.alfresco.repo.module.ModuleServiceImpl] [localhost-startStop-1] Starting module 'alfresco-share-services' version 5.2.0.

2016-10-10 15:41:30,960 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'fileServers' subsystem, ID: [fileServers, default]

2016-10-10 15:41:31,272 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]

2016-10-10 15:41:31,288 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete

2016-10-10 15:41:31,335 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete

2016-10-10 15:41:31,335 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'imap' subsystem, ID: [imap, default]

2016-10-10 15:41:31,444 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'imap' subsystem, ID: [imap, default] complete

2016-10-10 15:41:31,444 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'email' subsystem, ID: [email, outbound]

2016-10-10 15:41:41,913 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'email' subsystem, ID: [email, outbound] complete

2016-10-10 15:41:41,913 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'email' subsystem, ID: [email, inbound]

2016-10-10 15:41:41,991 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'email' subsystem, ID: [email, inbound] complete

2016-10-10 15:41:41,991 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Subscriptions' subsystem, ID: [Subscriptions, default]

2016-10-10 15:41:42,007 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Subscriptions' subsystem, ID: [Subscriptions, default] complete

2016-10-10 15:41:42,069 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Synchronization' subsystem, ID: [Synchronization, default]

2016-10-10 15:41:42,163 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronizing users and groups with user registry 'ldap1'

2016-10-10 15:41:42,179 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Retrieving groups changed since Oct 8, 2016 12:25:11 AM from user registry 'ldap1'

2016-10-10 15:41:42,241 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization,Category=directory,id1=ldap1,id2=1 Group Analysis: Commencing batch of 0 entries

2016-10-10 15:41:42,241 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization,Category=directory,id1=ldap1,id2=1 Group Analysis: Completed batch of 0 entries

2016-10-10 15:41:42,257 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Retrieving users changed since Oct 10, 2016 3:28:41 PM from user registry 'ldap1'

2016-10-10 15:41:42,304 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization,Category=directory,id1=ldap1,id2=6 User Creation and Association: Commencing batch of 1 entries

2016-10-10 15:41:42,366 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization,Category=directory,id1=ldap1,id2=6 User Creation and Association: Processed 1 entries out of 1. 100% complete. Rate: 16 per second. 0 failures detected.

2016-10-10 15:41:42,366 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization,Category=directory,id1=ldap1,id2=6 User Creation and Association: Completed batch of 1 entries

2016-10-10 15:41:42,382 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Finished synchronizing users and groups with user registry 'ldap1'

2016-10-10 15:41:42,382 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] 1 user(s) and 0 group(s) processed

2016-10-10 15:41:42,397 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete

2016-10-10 15:41:42,413 INFO  [org.alfresco.service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco JVM - v1.8.0_65-b17; maximum heap size 3005.500MB

2016-10-10 15:41:42,413 INFO  [org.alfresco.service.descriptor.DescriptorService] [localhost-startStop-1] Server Mode :UNKNOWN

2016-10-10 15:41:42,413 INFO  [org.alfresco.service.descriptor.DescriptorService] [localhost-startStop-1] Alfresco started (Community). Current version: 5.1.0 (r127059-b7) schema 10,001. Originally installed version: 5.1.0 (r127059-b7) schema 10,001.

2016-10-10 15:41:42,429 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]

2016-10-10 15:41:42,632 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete

2016-10-10 15:41:42,632 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Replication' subsystem, ID: [Replication, default]

2016-10-10 15:41:42,663 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Replication' subsystem, ID: [Replication, default] complete

2016-10-10 15:41:44,022 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'googledocs' subsystem, ID: [googledocs, drive]

2016-10-10 15:41:44,132 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'googledocs' subsystem, ID: [googledocs, drive] complete

2016-10-10 15:41:46,866 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 408 Web Scripts (+0 failed), 558 URLs

2016-10-10 15:41:46,866 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 1 Package Description Documents (+0 failed)

2016-10-10 15:41:46,866 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed)

2016-10-10 15:41:48,397 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 408 Web Scripts (+0 failed), 558 URLs

2016-10-10 15:41:48,397 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 1 Package Description Documents (+0 failed)

2016-10-10 15:41:48,397 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed)

2016-10-10 15:41:48,397 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Repository Web Script Container (in 4217.5234ms)

2016-10-10 15:41:48,413 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl

2016-10-10 15:41:48,413 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js

2016-10-10 15:41:49,819 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 408 Web Scripts (+0 failed), 558 URLs

2016-10-10 15:41:49,819 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 1 Package Description Documents (+0 failed)

2016-10-10 15:41:49,819 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed)

2016-10-10 15:41:49,882 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 11 Web Scripts (+0 failed), 82 URLs

2016-10-10 15:41:49,882 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Package Description Documents (+0 failed)

2016-10-10 15:41:49,882 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed)

2016-10-10 15:41:49,991 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 11 Web Scripts (+0 failed), 82 URLs

2016-10-10 15:41:49,991 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Package Description Documents (+0 failed)

2016-10-10 15:41:49,991 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed)

2016-10-10 15:41:49,991 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Public Api Web Script Container (in 1455.4762ms)

2016-10-10 15:41:50,022 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 11 Web Scripts (+0 failed), 82 URLs

2016-10-10 15:41:50,022 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Package Description Documents (+0 failed)

2016-10-10 15:41:50,022 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed)

2016-10-10 15:53:06,858 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-apr-80-exec-2] Exception from executeScript - redirecting to status template error: 09100002 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js

org.springframework.extensions.webscripts.WebScriptException: 09100002 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js

    at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:167)

    at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:505)

    at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)

    at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:580)

    at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:649)

    at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:421)

    at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:301)

    at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:382)

    at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210)

    at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)

    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)

    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)

    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

    at java.lang.Thread.run(Unknown Source)

Thanks in advance,

Roman.

1 ACCEPTED ANSWER

kaynezhang
World-Class Innovator
World-Class Innovator

Alfresco use FFMPEG to create video thumbnail and do transformations ,you need install ffmpeg on your server and it to your systems PATH environmental variable.

View answer in original post

18 REPLIES 18

kaynezhang
World-Class Innovator
World-Class Innovator

Alfresco use FFMPEG to create video thumbnail and do transformations ,you need install ffmpeg on your server and it to your systems PATH environmental variable.

rlesnikov
Champ on-the-rise
Champ on-the-rise

Installing FFMPEG either 32 or 64 bit version (static/shared - does not matter) to c:\ffmpeg, adding it to PATH variable, rebooting Windows 10x64 did not work for me. I still have errors in alfresco.log:

2016-10-11 09:58:25,005 INFO  [org.alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbcSmiley Tongueostgresql://localhost:5432/alfresco' with user 'alfresco'.

2016-10-11 09:58:25,005 INFO  [org.alfresco.repo.admin] [localhost-startStop-1] Connected to database PostgreSQL version 9.4.4

2016-10-11 09:58:28,730 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V4.2-metadata-query-indexes

2016-10-11 09:58:28,730 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [localhost-startStop-1] Ignoring script patch (post-Hibernate): patch.db-V5.1-metadata-query-indexes

2016-10-11 09:58:35,755 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker] [localhost-startStop-1] Failed to start a runtime executable content transformer:

Execution result:

   os:         Windows 10

   command:    ${ffmpeg.exe} -version

   succeeded:  false

   exit code:  1

   out:       

   err:        Cannot run program "${ffmpeg.exe}": CreateProcess error=2, The system cannot find the file specified

2016-10-11 09:58:35,755 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker] [localhost-startStop-1] Failed to start a runtime executable content transformer:

Execution result:

   os:         Windows 10

   command:    ${ffmpeg.exe} -version

   succeeded:  false

   exit code:  1

   out:       

   err:        Cannot run program "${ffmpeg.exe}": CreateProcess error=2, The system cannot find the file specified

2016-10-11 09:58:35,755 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker] [localhost-startStop-1] Failed to start a runtime executable content transformer:

Execution result:

   os:         Windows 10

   command:    ${ffmpeg.exe} -version

   succeeded:  false

   exit code:  1

   out:       

   err:        Cannot run program "${ffmpeg.exe}": CreateProcess error=2, The system cannot find the file specified

2016-10-11 09:58:35,755 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker] [localhost-startStop-1] Failed to start a runtime executable content transformer:

Execution result:

   os:         Windows 10

   command:    ${ffmpeg.exe} -version

   succeeded:  false

   exit code:  1

   out:       

   err:        Cannot run program "${ffmpeg.exe}": CreateProcess error=2, The system cannot find the file specified

and document preview does not work. I downloaded latest version of ffmpeg from here https://ffmpeg.org/download.html#build-windows

echo %path% shows c:\ffmpeg\bin.

Any ideas where could I be wrong?

kaynezhang
World-Class Innovator
World-Class Innovator

You have also need to configure it ,About how to configure it please refer to http://blog.dbi-services.com/alfresco-video-thumbnails-and-transformations/

Thanks Kayne!

That worked but only for fixing startup above error and for video thumbnails. However office documents still cannot be previewed - same error in browser. Looks like additional strings should be added to global properties file or some other actions are required. Can someone tell what else should be done to successfully preview MS Office documents?

Thanks as always.

kaynezhang
World-Class Innovator
World-Class Innovator

alfresco use OpenOffice to convert ms office files to pdf  to display,so you also need to install and configure OpenOffice,please refer to Installing OpenOffice | Alfresco Documentation

Unfortunately neither built-in libreoffice nor newly installed openoffice work.

While starting alfresco I'm getting this:

2016-10-13 11:48:20,005 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]

2016-10-13 11:48:20,068 WARN  [org.alfresco.util.AbstractTriggerBean] [localhost-startStop-1] Job openOfficeConnectionTesterTrigger is not enabled

2016-10-13 11:48:20,240 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete

While trying to open word document (no thumbnail is displayed):

2016-10-13 11:48:40,646 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 11 Web Scripts (+0 failed), 82 URLs

2016-10-13 11:48:40,646 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Package Description Documents (+0 failed)

2016-10-13 11:48:40,646 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] [asynchronouslyRefreshedCacheThreadPool1] Registered 0 Schema Description Documents (+0 failed)

2016-10-13 11:49:26,162 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-apr-80-exec-7] Exception from executeScript - redirecting to status template error: 09130001 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js

org.springframework.extensions.webscripts.WebScriptException: 09130001 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js

    at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:167)

    at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:505)

    at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)

    at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:580)

    at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:649)

    at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:421)

    at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:301)

    at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:382)

    at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210)

    at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)

    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)

    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)

    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

    at java.lang.Thread.run(Unknown Source)

Config (alfresco-global.properties) which I use is (commented lines - alternatives which I tried to use too:

### External executable locations ###

#ooo.exe=C:\\alfresco-community\\libreoffice\\App\\libreoffice\\program\\soffice.exe

ooo.exe=C:\\alfresco-community\\OpenOffice\\program\\soffice.exe

ooo.host=alfresco.company.local

ooo.port=8100

ooo.user=<tomcat_home>/alf_data/oouser

ooo.enabled=false

#jodconverter.enabled=false

#jodconverter.officeHome=C:/ALFRES~1/LIBREO~1/App/libreoffice

jodconverter.officeHome=C:\\alfresco-community\\OpenOffice

jodconverter.portNumbers=2022, 2023, 2024

jodconverter.enabled=true

I also ran the command to install OpenOffice service:

"C:\alfresco-community\libreoffice\scripts\winserv.exe" install alfrescoOpenOffice -displayname "alfrescoOpenOffice" -start auto "C:\alfresco-community\OpenOffice\program\soffice.exe" --nofirststartwizard --nologo --headless --accept=socket,host=127.0.0.1,port=8100;urp;

Started it manually from the services, stopped alfresco, started - no changes, all same as above. Result is also same:

This document can't be previewed. Click here to download it.

Where is mistake hidden? Should I post other config for better understanding? Please help. sorry for continuous issues.

Many thanks....

In addition I noticed that there is no any directory C:\alfresco-community\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\templates\webscripts\org\alfresco\repository

in my installation.

I tried to copy it from previous Alfresco (where preview works fine) but got "Something is missing error" and was unable to see the whole site at all. Just left thumbnail and then solr folders there - it caused more errors than before. Looks like either something is missing or some links are broken, so have no idea how to fix it.

However it works "out-of-the-box" with no additional configuration on Early build alfresco-community-installer-201609-EA-win-x64.exe

How to make it work on my build? Smiley Sad Smiley Sad Smiley Sad

Finally, if to change dir.root to a network share location, the early build version shows exactly same error as an old one. So this is the final issue. Should I switch to Linux instead?