CMDBuild Forum

DMS issue in openMAINT | Error java.lang.IllegalArgumentException: Path must start with a '/'!

Hi,

I have setup openmaint and cmdbuild on my Windows10 x64 pc in using the following executable files

Java v.8 Update231(JRE).exe
PostgreSQL10.10. exe
Alfresco Community Edition 5.2 (Installer x64)
openmaint-2.0-3.1a.war
cmdbuild-3.1.1.war

Started openmaint, cmdbuild & alfresco in the same instance of alfrescoTomcat.
I mean… http:\localhost:8080\openmaint, http:\localhost:8080\cmdbuild, http:\localhost:8080\alfresco
Also created databases for all three as openmaintdb, cmdbuilddb, alfrescodb in a separate PostgreSQL.

All three working fine but the problem is with Document Attachment in both openmaint and cmdbuild. I am facing the errors as described below.

In CMDBuild - when I was trying to attach document, folders (with names of cards) were being created in Alfresco Repository ( /User Homes/cmdbuild ), but document not getting saved in that folder. And the Card was showing this ERROR : org.apache.chemistry.opencmis.commons.exceptions.CmisObjectNotFoundException: Type ‘P:cmdbuild:classifiable’ is unknown!

RESOLVED: The above problem got resolved when I changed version from 1.1 to 1.0 in the path of http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom shown in DMS configuration of cmdbuild.

Now in openMAINT the document attachment problem is still persisting. When I try to attach document here, I am facing with the ERROR : java.lang.IllegalArgumentException: Path must start with a ‘/’!.

DMS configuration of openmaint -

Category Lookup: AlfrescoCategory
Service: CMIS
Descritpion Mode: Visible Mandatory
Host: http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom (same error in 1.1)
Web servicepath: /User Homes/openmaint
Username: admin, Password: admin
Preset: Alfresco

Created AlfrescoCategory in Category root at Alfresco Admin console and a folder named openmaint inside User Homes folder in Alfresco Repository.

I am not able to locate where exactly problem lies or where I should insert the ‘/’ character in openmaint webapp directory ? I would really appreciate if anyone could help here. Thanks

The openmaint log throws the following errors:

WARN o.c.w.f.RequestTrackingFilter$$EnhancerBySpringCGLIB$$193b3918 - processed request, returned error for requestId = 8dc85daa39614e1289eeab4a5e9eadglg7xurm21
ERROR o.c.s.r.v.p.ExceptionHandlerService - ws processing error
java.lang.IllegalArgumentException: Path must start with a ‘/’!
at org.apache.chemistry.opencmis.client.runtime.SessionImpl.checkPath(SessionImpl.java:1615) ~[chemistry-opencmis-client-impl-1.0.0.jar:1.0.0]
at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getObjectByPath(SessionImpl.java:555) ~[chemistry-opencmis-client-impl-1.0.0.jar:1.0.0]
at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getObjectByPath(SessionImpl.java:550) ~[chemistry-opencmis-client-impl-1.0.0.jar:1.0.0]
at org.cmdbuild.dms.cmis.CmisDmsProviderService.getFolderOrNull(CmisDmsProviderService.java:298) ~[cmdbuild-dms-cmis-3-SNAPSHOT.jar:na]
at org.cmdbuild.dms.cmis.CmisDmsProviderService.getDocuments(CmisDmsProviderService.java:144) ~[cmdbuild-dms-cmis-3-SNAPSHOT.jar:na]
at org.cmdbuild.dms.core.DmsServiceImpl.getCardAttachments(DmsServiceImpl.java:106) ~[cmdbuild-dms-core-3-SNAPSHOT.jar:na]
at org.cmdbuild.dms.core.DmsServiceImpl.getCardAttachmentOrNull(DmsServiceImpl.java:112) ~[cmdbuild-dms-core-3-SNAPSHOT.jar:na]
at org.cmdbuild.dms.core.DmsServiceImpl.create(DmsServiceImpl.java:126) ~[cmdbuild-dms-core-3-SNAPSHOT.jar:na]
at org.cmdbuild.service.rest.common.helpers.AttachmentWsHelper.create(AttachmentWsHelper.java:44) ~[cmdbuild-services-rest-commons-3-SNAPSHOT.jar:na]
at org.cmdbuild.service.rest.v3.endpoint.AttachmentWs.create(AttachmentWs.java:46) ~[cmdbuild-services-rest-v3-3-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_131]
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180) ~[cxf-core-3.1.17.jar:3.1.17]
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) ~[cxf-core-3.1.17.jar:3.1.17]
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:191) [cxf-rt-frontend-jaxrs-3.1.17.jar:3.1.17]
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:101) [cxf-rt-frontend-jaxrs-3.1.17.jar:3.1.17]
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) [cxf-core-3.1.17.jar:3.1.17]
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) [cxf-core-3.1.17.jar:3.1.17]
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:309) [cxf-core-3.1.17.jar:3.1.17]
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) [cxf-core-3.1.17.jar:3.1.17]
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267) [cxf-rt-transports-http-3.1.17.jar:3.1.17]
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234) [cxf-rt-transports-http-3.1.17.jar:3.1.17]
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) [cxf-rt-transports-http-3.1.17.jar:3.1.17]
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) [cxf-rt-transports-http-3.1.17.jar:3.1.17]
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:189) [cxf-rt-transports-http-3.1.17.jar:3.1.17]
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:303) [cxf-rt-transports-http-3.1.17.jar:3.1.17]
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:222) [cxf-rt-transports-http-3.1.17.jar:3.1.17]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) [servlet-api.jar:na]
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:278) [cxf-rt-transports-http-3.1.17.jar:3.1.17]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.78]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.78]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.78]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.78]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.78]
at org.cmdbuild.webapp.filters.AsyncJobFilter.doFilterInternal(AsyncJobFilter.java:49) [AsyncJobFilter.class:na]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.78]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.78]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.cmdbuild.webapp.security.SessionTokenFilter.doFilterInternal(SessionTokenFilter.java:89) [SessionTokenFilter.class:na]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177) [spring-security-web-4.2.3.RELEASE.jar:4.2.3.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.78]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.78]
at org.cmdbuild.webapp.filters.LanguageFilter.doFilterInternal(LanguageFilter.java:47) [LanguageFilter.class:na]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.78]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.78]
at org.cmdbuild.webapp.filters.RequestTrackingFilter.doFilterInternal(RequestTrackingFilter.java:164) [RequestTrackingFilter.class:na]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.78]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.78]
at org.cmdbuild.webapp.filters.BootCheckFilter.doFilterAfterBootCheck(BootCheckFilter.java:110) [BootCheckFilter.class:na]
at org.cmdbuild.webapp.filters.BootCheckFilter.doFilterInternal(BootCheckFilter.java:70) [BootCheckFilter.class:na]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.78]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.78]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218) [catalina.jar:7.0.78]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) [catalina.jar:7.0.78]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) [catalina.jar:7.0.78]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) [catalina.jar:7.0.78]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [catalina.jar:7.0.78]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) [catalina.jar:7.0.78]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.78]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) [catalina.jar:7.0.78]
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115) [tomcat-coyote.jar:7.0.78]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) [tomcat-coyote.jar:7.0.78]
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2549) [tomcat-coyote.jar:7.0.78]
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2538) [tomcat-coyote.jar:7.0.78]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_131]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.78]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_131]
WARN o.c.w.f.RequestTrackingFilter$$EnhancerBySpringCGLIB$$193b3918 - processed request, returned error for requestId = 8019b3df60e548d7aeebcd0ea52020139dhl9qvg

Dear Tecnoteca Official team,

I am waiting for your solution to the problem of document attachment I posted above.I wonder why some users get your reply and why some others don’t in this forum. Whatever may be your selection criteria for solution reply, I need it most now.

Let me tell you that your openMAINT software has a substantial value addition in the maintenance management. I am now personally using it and found it very very useful in follow up of maintenance services due from vendors and internal teams. This software is professionally designed and coded very thoughtfully. I can contact at Pay-Per-Use Support, if you think that the solution I am asking for is of Support nature.

I would greatly appreciate your valuable solution here. Thanks

Hi, when configuring Alfresco have you copied the cmdbuild-model-context.xml and cmdbuildModel.xml in the Alfresco extension folder? If not you can check chapter 5 in the CMDBuild technical manual for a more detailed configuration https://www.cmdbuild.org/file/manuali/technical-manual-in-english

Hi

As per your advise, I have created and copied the cmdbuild-model-context.xml and cmdbuildModel.xml in the Alfresco extension folder. Following alfresco documentation, I have successfullly deployed model cmdbuildModel.xml in Alfresco administration console but couldn’t activate it.
There is no model appearing ‘Custom Model for CMDBuild’ at Model Browser of Alfresco

I even tried to manually create Custom Model for CMDBuild. It returned me an error saying URI http\www.alfrescoorg/model\dictionary\1.0 has already been used.

image

image

image

image

BUT copying of model XML files is not a solution the problem I posted. They are needed for advanced features only. Your team itself confirmed it in their previous replies that XML files NOT required unless anyone wants advanced features.

I agree with above reasoning because there is no problem in CMDBuild instance to attach documents but why is there " Path must start with "/’’ error in openMAINT which is running in the instance of Tomcat. Both sharing same resources of Alfresco, then why openMAINT giving this error and not CMDBuild. It appears that the problem lies somewhere in war file of openMAINT.

image

I just want to go paperless in my work. So I am trying to make use of this feature of Document Attachment Service (DMS). I hope Tecnoteca team would help me. And thanks for your first reply. Regards

Hi, there is no need of deploying the model via Alfresco interface, copying the files is enough and yes you are right the xml files are needed only for the advanced features, to make sure the installation is not corrupted after the various changes and to be sure to have a fresh installation could you please uninstall alfresco and follow this procedure:
1)Install alfresco
2)Make sure alfresco is not running, if it is turn it off
3)If you want to use the attachment category and description feature of DMS create the cmdbuild-model-context.xml and cmdbuildModel.xml in your alfresco tomcat extensions folder (${ALFRESCO_HOME}/tomcat/shared/classes/alfresco/extension) with the configuration provided in the documentation
4)Launch alfresco
5)Configure the DMS in CMDBuild as you previously posted
6)To test the host configuration make sure that by typing the host field in your browser a login prompt is displayed for the atom file.

if the error persists after this try to clean the field Webservice path in the CMDBuild configuration and re-try attaching a document.

In the meanwhile i’ll try to setup an instance of CMDBuild on a windows environment to try and replicate your issue to check whether it’s an environment related issue or not.

Hi

Thanks. Your detailed procedure turned out a great solution for DMS issue in CMDBuild. I reinstalled alfresco following your procedure exactly. Now I can attach documents without error and description also visible. There is no need of changing CMIS host version from 1.1 to 1.0 ( which I did earlier ) in DMS configuration of cmdbuild

Also thanks to both Tecnoteca Maintainer and a community friend for pointing out a syntax error in cmdbuild-model-context.xml file (Topic Reference: Attachment Description Not Saved)

image

But the DMS problem in openMAINT is still driving me CRAZY. I am facing the same ERROR again and again. I will be working more with openMAINT than CMDBuild. I would have been more happy if this issue got solved for openMAINT.

image

I have tested the CMIS host configuration for atom file. Atom file got downloaded when entered alfresco login credentials.There is no problem in configuration.

image

And I even tried to clean the Webservice Path (\User Homes\openmaint )

image

My FINAL question

Both CMDBuild and openMAINT shaing the same resources of Alfresco and running in the same instance of AlfrescoTomcat. I mean to say…
(${ALFRESCO_HOME}/tomcat/webapps/cmdbuild No problem here after above procedure
(${ALFRESCO_HOME}/tomcat/webapps/openmaint Why problem is appearing here ?

My Final request

As you said
image

I request you to do it for openMAINT. Thanks

Hi,

The DMS issue in openMAINT got solved finally. Let me thank you first for all your support.

It is the version 2.0.3.1a of openmaint which has the DMS problem. Yes…this version throws error java.lang.IllegalArgumentException: Path must start with a ‘/’! when attempting to attach documents.

I have now downloaded and setup the latest version openmaint-2.0-.3.1.1 . Here I am able
to attach documents without any errors and descriptions also visible. That’s great :slight_smile: