在 Alfresco 中禁用开放式办公室
Disable open office in Alfresco
尝试启动 alfresco 4 社区版时出现以下错误。
11:23:02,512 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
11:23:02,604 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default]
11:23:02,645 ERROR [org.alfresco.enterprise.repo.content.JodConverterSharedInstance] [localhost-startStop-1] Unexpected error in configuring or starting the JodConverter library.The following error is shown for informational purposes only.
java.lang.IllegalArgumentException: officeHome must exist and be a directory
at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.checkArgument(DefaultOfficeManagerConfiguration.java:238)
at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.setOfficeHome(DefaultOfficeManagerConfiguration.java:59)
我们没有使用open office,所以在安装过程中我们没有select打开office。我们如何配置 alfresco 以忽略此检查以获得干净的启动日志?
以下应该有效:
jodconverter.enabled=false
jodconverter.officeHome=null
jodconverter.portNumbers=8100
配置文件:tomcat\shared\classes\alfresco-global.properties
尝试启动 alfresco 4 社区版时出现以下错误。
11:23:02,512 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
11:23:02,604 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'OOoJodconverter' subsystem, ID: [OOoJodconverter, default]
11:23:02,645 ERROR [org.alfresco.enterprise.repo.content.JodConverterSharedInstance] [localhost-startStop-1] Unexpected error in configuring or starting the JodConverter library.The following error is shown for informational purposes only.
java.lang.IllegalArgumentException: officeHome must exist and be a directory
at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.checkArgument(DefaultOfficeManagerConfiguration.java:238)
at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.setOfficeHome(DefaultOfficeManagerConfiguration.java:59)
我们没有使用open office,所以在安装过程中我们没有select打开office。我们如何配置 alfresco 以忽略此检查以获得干净的启动日志?
以下应该有效:
jodconverter.enabled=false
jodconverter.officeHome=null
jodconverter.portNumbers=8100
配置文件:tomcat\shared\classes\alfresco-global.properties