Попробуйте не перезапустить Alfresco, а выключить, потом проверить порт 8100, убить процесс, который остался там висеть, и только потом запустить Alfresco. Скорее всего проблема в этом.
результат: "Из данного сервера не удалось загрузить предварительный просмотр"
В alfresco.log характерные строки:
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 06100044 OpenOffice server conversion failed:
reader: ContentAccessor[ contentUrl=store://2014/7/10/10/28/fea051c5-af8d-4f70-8f9f-8cc000910b2a.bin, mimetype=application/msword, size=1461760, encoding=UTF-8, locale=ru_RU]
writer: ContentAccessor[ contentUrl=store:///opt/alfresco-4.2.f/tomcat/temp/Alfresco/FailoverTransformer_intermediate_ProxyContentTransformer_2205484196227900623.pdf, mimetyp
e=application/pdf, size=0, encoding=UTF-8, locale=ru_RU]
from file: /opt/alfresco-4.2.f/tomcat/temp/Alfresco/OpenOfficeContentTransformer-source-1590984785954250654.doc
to file: /opt/alfresco-4.2.f/tomcat/temp/Alfresco/OpenOfficeContentTransformer-target-4129623290653790015.pdf
at org.alfresco.repo.content.transform.OOoContentTransformerHelper.transform(OOoContentTransformerHelper.java:372)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:72)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy18.transform(Unknown Source)
at org.alfresco.repo.content.transform.ProxyContentTransformer.transformInternal(ProxyContentTransformer.java:98)
at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:211)
... 34 more Caused by: net.sf.jooreports.openoffice.connection.OpenOfficeException: conversion failed; java.lang.NullPointerException
at net.sf.jooreports.openoffice.converter.OpenOfficeDocumentConverter.convertInternal(OpenOfficeDocumentConverter.java:117)
at net.sf.jooreports.openoffice.converter.AbstractOpenOfficeDocumentConverter.convert(AbstractOpenOfficeDocumentConverter.java:88)
at org.alfresco.repo.content.transform.OpenOfficeContentTransformerWorker.convert(OpenOfficeContentTransformerWorker.java:118)
at org.alfresco.repo.content.transform.OOoContentTransformerHelper.transform(OOoContentTransformerHelper.java:368)
... 44 more
Комментарии
10/07/2014 - 09:04
10/07/2014 - 09:37
sudo netstat -lpn |grep :8100
sudo kill -9 PID
sudo /opt/alfresco-4.2.f/alfresco.sh start
результат: "Из данного сервера не удалось загрузить предварительный просмотр"
В alfresco.log характерные строки:
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 06100044 OpenOffice server conversion failed:
reader: ContentAccessor[ contentUrl=store://2014/7/10/10/28/fea051c5-af8d-4f70-8f9f-8cc000910b2a.bin, mimetype=application/msword, size=1461760, encoding=UTF-8, locale=ru_RU]
writer: ContentAccessor[ contentUrl=store:///opt/alfresco-4.2.f/tomcat/temp/Alfresco/FailoverTransformer_intermediate_ProxyContentTransformer_2205484196227900623.pdf, mimetyp
e=application/pdf, size=0, encoding=UTF-8, locale=ru_RU]
from file: /opt/alfresco-4.2.f/tomcat/temp/Alfresco/OpenOfficeContentTransformer-source-1590984785954250654.doc
to file: /opt/alfresco-4.2.f/tomcat/temp/Alfresco/OpenOfficeContentTransformer-target-4129623290653790015.pdf
at org.alfresco.repo.content.transform.OOoContentTransformerHelper.transform(OOoContentTransformerHelper.java:372)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:72)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy18.transform(Unknown Source)
at org.alfresco.repo.content.transform.ProxyContentTransformer.transformInternal(ProxyContentTransformer.java:98)
at org.alfresco.repo.content.transform.AbstractContentTransformer2.transform(AbstractContentTransformer2.java:211)
... 34 more
Caused by: net.sf.jooreports.openoffice.connection.OpenOfficeException: conversion failed; java.lang.NullPointerException
at net.sf.jooreports.openoffice.converter.OpenOfficeDocumentConverter.convertInternal(OpenOfficeDocumentConverter.java:117)
at net.sf.jooreports.openoffice.converter.AbstractOpenOfficeDocumentConverter.convert(AbstractOpenOfficeDocumentConverter.java:88)
at org.alfresco.repo.content.transform.OpenOfficeContentTransformerWorker.convert(OpenOfficeContentTransformerWorker.java:118)
at org.alfresco.repo.content.transform.OOoContentTransformerHelper.transform(OOoContentTransformerHelper.java:368)
... 44 more