Glassfish 3.1.1 上的 Alfresco 社区 4.0.d
当我尝试在 Glassfish 3.1.1 上安装 alfresco Community 4.0.d 时,出现以下安装错误:
部署期间发生错误:加载应用程序时出现异常:java.lang.IllegalStateException:ContainerBase.addChild:start:org.apache.catalina .LifecycleException:org.apache.catalina.LifecycleException:javax.servlet.ServletException: com.sun.xml.ws.transport.http.servlet.WSServletException:WSSERVLET11:无法解析运行时描述符:类 org.apache.chemistry.opencmis.server.impl.webservices.AuthHandler 未实现处理程序接口之一。请参阅 server.log 了解更多详细信息。
请帮忙,因为我被困在这个问题上............
When I try to install alfresco community 4.0.d on Glassfish 3.1.1 I get the following installation error:
Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: javax.servlet.ServletException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed to parse runtime descriptor: class org.apache.chemistry.opencmis.server.impl.webservices.AuthHandler does not implement one of the handler interfaces.. Please see server.log for more details.
Please help as I am stuck on this one.................
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我自己还没有尝试在 glassfish 上进行 alfresco,但这个问题对我来说看起来像是一个类加载问题。
我不知道处理程序接口到底是什么,但我猜您在 web 应用程序和服务器中也有相应的 .class 文件。如果情况确实如此,您可以尝试在一个位置删除它们,看看这是否有助于使系统正常工作。
但说实话,我建议您使用该系统,因为它与 tomcat 捆绑在一起,除非您有充分的理由使用“支持较少”的环境。
I did not yet try alfresco on glassfish myself, but the issue pretty much looks like a classloading problem to me.
I don't know exactly what the handler interfaces are, but I guess you have the corresponding .class files in the webapp and in the server as well. If that proves to be the case, you can try removing them in one location and see if that helps getting the system to work.
But to be honest, I would suggest you use the system as it is shipping with tomcat bundled, unless you have a very good reason to use a "less supported" environment.
尝试将 glassfish-web.xml 添加到 alfresco.war 的 WEB-INF 文件夹中,内容如下
Try adding a glassfish-web.xml to the WEB-INF folder of the the alfresco.war with the following content