AnsweredAssumed Answered

Connecting OpenWorkdesk to OpenCMIS test repository

Question asked by rmf2490 on Oct 19, 2012
Latest reply on Oct 23, 2012 by d.evil
Hi, I'm currently testing out OpenWorkdesk for use by my employer, and to get an idea of the functionality, wanted to test it against the OpenCMIS In-memory repository. I followed the instructions in the quick-start guide, including setting the relevant WSDL URLs. While OpenWorkdesk can connect to the repository just fine, I am getting various errors, such as

  • OwInvalidOperationException when navigating to a folder that has files in it (Error text is: Invalid Property!)

  • CmisConstraintException when trying to add a file to the repository (Error text is: The versioning state flag is incompatible to the type definition)

  • OwInvalidOperationException When performing any kind of search (Example error text is: Invalid search field. The field cmis:document.cmis:name can not be queried)
I couldn't find any mention anywhere else of these errors, so maybe someone can help me. For now, I'll just focus on the first error, since it's the one I care about the most. Here is the stack trace from Tomcat:


Oct 19, 2012 2:14:34 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
com.wewebu.ow.server.exceptions.OwInvalidOperationException: Invalid property!
   at com.wewebu.ow.server.ecmimpl.cmis.generic.OwCMISPropertyDefinitionBase.createBoundProperty(OwCMISPropertyDefinitionBase.java:59)
   at com.wewebu.ow.server.ecmimpl.cmis.propertyclasses.OwCMISNativePropertyClassTemplate.createProperty(OwCMISNativePropertyClassTemplate.java:64)
   at com.wewebu.ow.server.ecmimpl.cmis.object.OwCMISObjectBase.requestInternalCache(OwCMISObjectBase.java:1051)
   at com.wewebu.ow.server.ecmimpl.cmis.object.OwCMISObjectBase.requestInternalCacheEx(OwCMISObjectBase.java:1026)
   at com.wewebu.ow.server.ecmimpl.cmis.object.OwCMISObjectBase.getProperties(OwCMISObjectBase.java:572)
   at com.wewebu.ow.server.ecmimpl.cmis.object.OwCMISObjectBase.getProperty(OwCMISObjectBase.java:610)
   at com.wewebu.ow.server.ecmimpl.cmis.object.OwCMISDocumentObject.hasContent(OwCMISDocumentObject.java:221)
   at com.wewebu.ow.server.plug.owdocview.OwDownloadAsZipDocumentFunction.isEnabled(OwDownloadAsZipDocumentFunction.java:77)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectListViewPluginCache$OwPluginStatusCachingUtility.preparePluginInfo(OwObjectListViewPluginCache.java:237)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectListViewPluginCache$OwPluginStatusCachingUtility.<init>(OwObjectListViewPluginCache.java:168)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectListViewPluginCache.createPluginStatusCacheUtility(OwObjectListViewPluginCache.java:97)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectListViewPluginCache.createPluginStatusCacheUtility(OwObjectListViewPluginCache.java:81)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectListViewRow.onRender(OwObjectListViewRow.java:984)
   at com.wewebu.ow.server.ui.OwView.render(OwView.java:317)
   at com.wewebu.ow.server.ui.helper.OwInnerViewWrapper.render(OwInnerViewWrapper.java:90)
   at com.wewebu.ow.server.ui.OwLayout.renderRegion(OwLayout.java:211)
   at com.wewebu.ow.server.plug.owrecord.OwRecordContentView.renderRegion(OwRecordContentView.java:87)
   at org.apache.jsp.designs.default20.owrecord.OwRecordContentView_jsp._jspService(OwRecordContentView_jsp.java:83)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
   at com.wewebu.ow.server.ui.OwAppContext.serverSideInclude(OwAppContext.java:722)
   at com.wewebu.ow.server.ui.OwView.serverSideInclude(OwView.java:427)
   at com.wewebu.ow.server.ui.OwView.serverSideDesignInclude(OwView.java:467)
   at com.wewebu.ow.server.plug.owrecord.OwRecordContentView.onRender(OwRecordContentView.java:165)
   at com.wewebu.ow.server.ui.OwView.render(OwView.java:323)
   at com.wewebu.ow.server.plug.owrecord.OwRecordView.onAjaxUpdate(OwRecordView.java:548)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.wewebu.ow.server.ui.OwAppContext.handleAjaxRequest(OwAppContext.java:1248)
   at com.wewebu.ow.server.ui.OwWebApplication.handleAjaxRequest(OwWebApplication.java:286)
   at org.apache.jsp.owajax_jsp._jspService(owajax_jsp.java:81)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   at java.lang.Thread.run(Unknown Source)


Any help is appreciated, thanks.

EDIT: Checking stdout, this extra bit of information was in there that may help:


2012-10-19 16:41:56,029 [http-8080-4] ERROR owd.adp.cmis [] - OwCMISPropertyDefinitionBase.createBoundProperty():Invalid native property cmis:contentStreamId type org.oasis_open.docs.ns.cmis.core._200908.CmisPropertyString for org.oasis_open.docs.ns.cmis.core._200908.CmisPropertyId was expected
2012-10-19 16:41:56,029 [http-8080-4] ERROR owd.core [] - OwPluginStatusCachingUtility.constructor: Cannot prepare plugin info. Reason:
com.wewebu.ow.server.exceptions.OwInvalidOperationException: Invalid property!

Outcomes