- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试针对以下目标:
使用 WebDav 或抛出 Alfresco(社区):当前版本 3.4.0 (d 3370) 架构 4113 管理界面,我正在尝试上传 Microsoft Office 2003/2007 或 OpenOffice/LibreOffice 文档放入 Alfresco 存储库并使用与相关节点关联的规则,将文档转换为 PDF 格式。
Alfresco 实例在 WnXP 上运行,LibreOffice 作为 headless 实例在 CentOS 6.4 上运行
之后我按照此处引用的链接将 OpenOffice 支持添加到我的 Alfresco 实例,但似乎实际上不起作用。当规则试图开始时我有一个异常(exception)。
链接:
http://wiki.alfresco.com/wiki/Setting_up_OpenOffice_for_Alfresco
异常:
ERROR;04/10/2012 16:48:55;;;[Utils];Failed to create content due to error: 09040000 Exception in Transaction.
org.alfresco.error.AlfrescoRuntimeException: 09040000 Exception in Transaction.
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:466)
at org.alfresco.web.bean.dialog.BaseDialogBean.finish(BaseDialogBean.java:124)
at org.alfresco.web.bean.dialog.DialogManager.finish(DialogManager.java:528)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
at javax.faces.component.UICommand.broadcast(UICommand.java:109)
at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:104)
at sun.reflect.GeneratedMethodAccessor416.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:116)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy232.doFilter(Unknown Source)
at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:68)
at sun.reflect.GeneratedMethodAccessor416.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:116)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)Caused by: java.lang.StackOverflowError
at org.springframework.beans.factory.support.AbstractBeanFactory.transformedBeanName(AbstractBeanFactory.java:951)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:229)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:265)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1004)
at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy98.isConnected(Unknown Source)
我的配置:tomcat/shared/classes/alfresco-global.properties
module.id=org.alfresco.remoteOpenOffice
module.version=0.1
module.title=Remote OpenOffice
module.repo.version.min=2.2
ooo.host=192.168.14.67
ooo.port=8100
ooo.enabled=true
tomcat/shared/classes/alfresco/extension/remote-openoffice-context.xml
<bean id="openOfficeConnection" class="net.sf.jooreports.openoffice.connection.SocketOpenOfficeConnection">
<constructor-arg type="java.lang.String" value="192.168.14.67"/>
<constructor-arg type="int" value="8100"/>
</bean>
<bean id="transformer.OpenOffice" class="org.alfresco.repo.content.transform.RemoteOpenOfficeContentTransformer" parent="baseContentTransformer" >
<property name="connection">
<ref bean="openOfficeConnection" />
</property>
<property name="documentFormatsConfiguration">
<value>classpath:alfresco/mimetype/openoffice-document-formats.xml</value>
</property>
</bean>
并添加了tomcat/shared/classes/alfresco/mimetype/openoffice-document-formats.xml
Alfresco主机和openOffice主机之间没有防火墙
提前致谢
最佳答案
StackOverflowError
通常是由无限(或至少过度)递归引起的。既然你提到了一个规则,你的规则的结果(例如修改或创建一个节点)是否有可能再次触发规则,导致无休止的序列?
您使用的规则到底是什么?例如,它会触发任何 mimetype,还是仅触发 Word 文档?
该文件夹中只有一个规则还是多个规则?
关于pdf - StackOverflowError 应用 Alfresco 规则将 Word Doc 转换为 PDF 时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12724931/
我想在 Alfresco 中实现类似亚马逊的建议. 例如,如果员工搜索“财务报告 2007”,搜索 UI 将显示相关文档,例如之前搜索相同内容的用户下载/查看的文档。 它可能会显示 Lucene(Al
我们正在考虑将 Alfresco Enterprise 3.4.1 降级为 Alfresco Community。 我习惯了 Alfresco Enterprise,但没有使用社区版本的经验。 我们使
我有兴趣在对露天特定文件夹下的任何文档或文件夹进行任何更改时触发代码运行。我确信 alfresco 必须以某种方式支持这一点,但我不完全确定该功能/api/服务的名称或谷歌的内容。什么在露天有这种能力
从所描述的功能来看,Alfresco Team和 Alfresco Share产品看起来非常相似。 技术差异是什么? 以下是我听说过的一些差异,但欢迎提供更好的列表: 视频预览 预览更多 Adob
我有兴趣在对露天特定文件夹下的任何文档或文件夹进行任何更改时触发代码运行。我确信 alfresco 必须以某种方式支持这一点,但我不完全确定该功能/api/服务的名称或谷歌的内容。什么在露天有这种能力
我正在尝试编辑 task-edit 的链接发送给任务受让人的电子邮件。我在文件 wf-emails.html.ftl 中看到了但在 Data Dictionary -> Email Templates
假设我在 alfresco-global.properties 文件中创建了一个名为“test123”的自定义属性。是否有自定义对象或其他方式可用于访问 Alfresco 中 Java bean 内的
作为我们法规要求的一部分,我们希望在工作流摘要页面的工作流历史记录中捕获任务重新分配。 为了实现这一点,当任务被重新分配时,我将作为系统完成当前任务,将结果设置为任务重新分配,任务将分配给新人。这种方
在存储库中会有不同的文档列表。即会有数据字典、用户主页、访客主页等。当我将 View 更改为“详细 View ”时,它会显示收藏、喜欢、评论链接。如果我不想显示它们,我必须在哪里修改。你能告诉我必须在
我正在使用 Alfresco Enterprise 6.2。与实时搜索类似,我正在为文档库中的文件夹创建搜索操作。 我已更新 custom-actions.js 如下: onActionSearch:
我想在指定的文件夹中搜索文件。我的意思是,如下例所示,搜索 mainfolder1 的文档。我怎样才能做到这一点??可以用lucene吗??我知道lucene可以指定store。我不知道文件夹。 --
在 Alfresco 服务器中,几个上传的内容消失了,我检查日志以查看文件发生了什么情况。 In /opt/alfresco/tomcat/logs 但是文件是空的。 最佳答案 在命令行中尝试 $ p
我正在使用 Alfresco Share 4.2c,并且我有一个属性类型为 d:text 的方面。在“编辑元数据”页面上,我想为该属性创建一个自定义选择器。 我见过的最接近文件选择器的是 associ
我编写了一个脚本来运行 Alfresco 规则。但我希望脚本在特定时间后运行(我需要脚本在 1 周后运行)。任何解决方案? 我读到了 Scheduled_Actions , 这个功能有用吗? 最佳答案
我想在指定的文件夹中搜索文件。我的意思是,如下例所示,搜索 mainfolder1 的文档。我怎样才能做到这一点??可以用lucene吗??我知道lucene可以指定store。我不知道文件夹。 --
在 Alfresco 服务器中,几个上传的内容消失了,我检查日志以查看文件发生了什么情况。 In /opt/alfresco/tomcat/logs 但是文件是空的。 最佳答案 在命令行中尝试 $ p
如何在节点的旧版本中搜索元数据字段? 我知道 Solr 支持 version2store 的索引,看起来在 Alfresco 4.2f 中,它确实被索引了。但是,似乎没有办法通过仅查询 : 来通过共享
我正在使用 Alfresco Share 4.2c,并且我有一个属性类型为 d:text 的方面。在“编辑元数据”页面上,我想为该属性创建一个自定义选择器。 我见过的最接近文件选择器的是 associ
我遇到了调用 https://localhost:8080/alfresco/service/api/people 的问题。只返回前 5000 个用户。 我不知道如何从系统中取出其余部分——该 API
我有 OnCreateNodePolicy 实现,我正在考虑在绑定(bind)初始化中添加条件(一些速度优化),这可能吗? 我是什么意思?让我们有类似这样的定义: policyComponent.bi
我是一名优秀的程序员,十分优秀!