AnsweredAssumed Answered

Problem  while configuring cmis_hr ECM adaptor with Alfresco WorkDesk

Question asked by yogeshpj on Jul 31, 2013
Latest reply on Aug 1, 2013 by yogeshpj
Hi ALL,

I have set alfresco workdesk with my local alfresco ECM.When I am using CMIS as ECM adaptor (For which i have uncommented the line "<param-value>deploy#WEB-INF/conf/cmis_prof</param-value>" in web.xml) its working fine.Then I have configured it with cmis_hr as ECM adaptor but when I am clicking on "Browse" , I am getting following error.

Any help will be appericated.

2013-07-31 23:34:10,105 [http-apr-9080-exec-6] DEBUG owd.adp.cmis [admin] - OwCMISResourceObjectModel.createType(): Could not initialize a class description! A CMIS error occurred :  Invalid argument! CMIS fault message is : Invalid typeId F:owd:dossier
org.oasis_open.docs.ns.cmis.wHi ,

I have set alfresco workdesk with my local alfresco ECM.When I am using CMIS as ECM adaptor (For which i have uncommented the line "<param-value>deploy#WEB-INF/conf/cmis_prof</param-value>" in web.xml) its working fine.Then I have configured it with cmis_hr as ECM adaptor but when I am clicking on "Browse" , I am getting following error.

Any help will be appericated.

2013-07-31 23:34:10,105 [http-apr-9080-exec-6] DEBUG owd.adp.cmis [admin] - OwCMISResourceObjectModel.createType(): Could not initialize a class description! A CMIS error occurred :  Invalid argument! CMIS fault message is : Invalid typeId F:owd:dossier
org.oasis_open.docs.ns.cmis.ws._200908.CmisException: Invalid typeId F:owd:dossier
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
   at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:141)
   at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
   at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
   at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:130)
   at sun.proxy.$Proxy45.getTypeDefinition(Unknown Source)
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISResourceObjectModel.createType(OwCMISResourceObjectModel.java:251)
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISResourceObjectModel.getObjectClass(OwCMISResourceObjectModel.java:97)
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISResourceObjectModel.getPropertyClass(OwCMISResourceObjectModel.java:208)
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISNetwork.getFieldDefinition(OwCMISNetwork.java:1262)
   at com.wewebu.ow.server.ecm.OwStandardSearchTemplate.getFieldDefinitionProviderField(OwStandardSearchTemplate.java:671)
   at com.wewebu.ow.server.ecm.OwStandardSearchTemplate.getPropertyClassInternal(OwStandardSearchTemplate.java:911)
   at com.wewebu.ow.server.ecm.OwStandardSearchTemplate.scanSearchNode(OwStandardSearchTemplate.java:2198)
   at com.wewebu.ow.server.ecm.OwStandardSearchTemplate.scanSearchNode(OwStandardSearchTemplate.java:2133)
   at com.wewebu.ow.server.ecm.OwStandardSearchTemplate.init(OwStandardSearchTemplate.java:1380)
   at com.wewebu.ow.server.plug.owsearch.OwSearchDocument$OwRepositorySearchTemplate.getSearchTemplate(OwSearchDocument.java:82)
   at com.wewebu.ow.server.plug.owsearch.OwSearchDocument.setSearchTemplatName(OwSearchDocument.java:242)
   at com.wewebu.ow.server.plug.owsearch.OwSearchTemplateView.onActivate(OwSearchTemplateView.java:143)
   at com.wewebu.ow.server.ui.OwNavigationView.navigate(OwNavigationView.java:285)
   at com.wewebu.ow.server.ui.OwNavigationView.navigate(OwNavigationView.java:257)
   at com.wewebu.ow.server.plug.owsearch.OwSearchView.init(OwSearchView.java:164)
   at com.wewebu.ow.server.ui.OwEventTarget.attach(OwEventTarget.java:46)
   at com.wewebu.ow.server.ui.OwNavigationView.addView(OwNavigationView.java:90)
   at com.wewebu.ow.server.app.OwMainNavigationView.addPluginView(OwMainNavigationView.java:164)
   at com.wewebu.ow.server.app.OwMainLayout.addMasterPlugins(OwMainLayout.java:132)
   at com.wewebu.ow.server.app.OwMainLayout.init(OwMainLayout.java:197)
   at com.wewebu.ow.server.ui.OwEventTarget.attach(OwEventTarget.java:46)
   at com.wewebu.ow.server.ui.OwWebApplication.handleRequest(OwWebApplication.java:400)
   at org.apache.jsp.default41_jsp._jspService(default41_jsp.java:79)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at com.wewebu.ow.server.servlets.OwServletFilter.doFilter(OwServletFilter.java:57)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
   at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1812)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.js._200908.CmisException: Invalid typeId F:owd:dossier
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
   at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:141)
   at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
   at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
   at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:130)
   at sun.proxy.$Proxy45.getTypeDefinition(Unknown Source)
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISResourceObjectModel.createType(OwCMISResourceObjectModel.java:251)
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISResourceObjectModel.getObjectClass(OwCMISResourceObjectModel.java:97)
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISResourceObjectModel.getPropertyClass(OwCMISResourceObjectModel.java:208)
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISNetwork.getFieldDefinition(OwCMISNetwork.java:1262)
   at com.wewebu.ow.server.ecm.OwStandardSearchTemplate.getFieldDefinitionProviderField(OwStandardSearchTemplate.java:671)
   at com.wewebu.ow.server.ecm.OwStandardSearchTemplate.getPropertyClassInternal(OwStandardSearchTemplate.java:911)
   at com.wewebu.ow.server.ecm.OwStandardSearchTemplate.scanSearchNode(OwStandardSearchTemplate.java:2198)
   at com.wewebu.ow.server.ecm.OwStandardSearchTemplate.scanSearchNode(OwStandardSearchTemplate.java:2133)
   at com.wewebu.ow.server.ecm.OwStandardSearchTemplate.init(OwStandardSearchTemplate.java:1380)
   at com.wewebu.ow.server.plug.owsearch.OwSearchDocument$OwRepositorySearchTemplate.getSearchTemplate(OwSearchDocument.java:82)
   at com.wewebu.ow.server.plug.owsearch.OwSearchDocument.setSearchTemplatName(OwSearchDocument.java:242)
   at com.wewebu.ow.server.plug.owsearch.OwSearchTemplateView.onActivate(OwSearchTemplateView.java:143)
   at com.wewebu.ow.server.ui.OwNavigationView.navigate(OwNavigationView.java:285)
   at com.wewebu.ow.server.ui.OwNavigationView.navigate(OwNavigationView.java:257)
   at com.wewebu.ow.server.plug.owsearch.OwSearchView.init(OwSearchView.java:164)
   at com.wewebu.ow.server.ui.OwEventTarget.attach(OwEventTarget.java:46)
   at com.wewebu.ow.server.ui.OwNavigationView.addView(OwNavigationView.java:90)
   at com.wewebu.ow.server.app.OwMainNavigationView.addPluginView(OwMainNavigationView.java:164)
   at com.wewebu.ow.server.app.OwMainLayout.addMasterPlugins(OwMainLayout.java:132)
   at com.wewebu.ow.server.app.OwMainLayout.init(OwMainLayout.java:197)
   at com.wewebu.ow.server.ui.OwEventTarget.attach(OwEventTarget.java:46)
   at com.wewebu.ow.server.ui.OwWebApplication.handleRequest(OwWebApplication.java:400)
   at org.apache.jsp.default41_jsp._jspService(default41_jsp.java:79)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at com.wewebu.ow.server.servlets.OwServletFilter.doFilter(OwServletFilter.java:57)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
   at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1812)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.j

Thanks,
Yogesh Prajapati

Outcomes