Question
Cognizant Technology Solutions
AU
Last activity: 10 May 2016 7:27 EDT
CMIS compatibility with the share point?
Hi,
We are integrating PEGA7.1.5 with sharepoint 2016, CMIS 1.0 support. I can connect to ATOM server through PEGA. Connect-CMIS rule form connectivity is fine.
However, I'm facing few issues, while browsing the folder through application rule form, getting below messages/ exceptions in logs;
{ com.pega.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: One or more of the input parameters to the service method is missing or invalid.}
Would be keen to hear
1) CMIS compatibility with shape point?
2) PEGA 7.1.5 compatibility with SP, WITH CMIS support?
Thanks,
Sadaan
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Cognizant Technology Solutions
AU
We have rasied an SR # SR-A22694, Response from GCS is below..
There is no much support available on Pega7.1.5 for CMIS . So, suggested approach is to update PEGA version to PEGA 7.1.8 and later version.
Note- CMIS integration is much more stable in ML8 release onwards.
Pegasystems Inc.
US
This error appears to be pretty generic (taking pega out of the equation): http://stackoverflow.com/questions/14611390/login-error-to-sharepoint-2013-repository-using-opencmis-workbench. Have you tested the functionality using an independent client (other than pega)? Does it work? The link seems to suggest just SP configuration.
Cognizant Technology Solutions
AU
We have already followed suggested steps. It didn't work for us. We do have SSP 2016 instance.
We have not tried this with SP 2013. We have asked Infrastructure team to setup SP 2013, shall give a try. I'll update this thread.
Cognizant Technology Solutions
AU
Thank you Kevin for your reply.
Can you connect to your repo through apache chemistry? or any other CMIS explorer tools?
Cognizant Technology Solutions
AU
Thank you for your reply, no I didn't try to connect through CMIS explorer tools.
Try using CMIS explore tools to confirm you can connect.
Cognizant Technology Solutions
AU
Issue has been resolved. I've used host name in ATOM server URL, instead of accessing it via IP address.
So, URL pattern is like : http://<Hostname>:<Portno>/_vti_bin/cmis/rest?getRepositories
Updated: 20 Apr 2016 9:59 EDT
Pegasystems Inc.
AU
The current error seen is mentioned below after the replacement of ATOM server URL to use host name instead of IP in PEGA 7.1.5.
2016-04-19 01:04:33,246 [ttp-bio-8080-exec-30] [TABTHREAD0] [ ] [ionsDocMgmt:01.01.01] ( internal.mgmt.Executable) ERROR studygroup-3.pegacloud.com|XX.XX.XX.XX Sadaan - Exception
com.pega.pegarules.pub.services.InboundMappingException: Failed to process response of CMIS service 'getFolderTree' for folder ID: -1
at com.pegarules.generated.activity.ra_action_invokecmisconnector_fcc0fba3317ef6c7423276f81fc745a2.step13_circum0(ra_action_invokecmisconnector_fcc0fba3317ef6c7423276f81fc745a2.java:2328)
at com.pegarules.generated.activity.ra_action_invokecmisconnector_fcc0fba3317ef6c7423276f81fc745a2.perform(ra_action_invokecmisconnector_fcc0fba3317ef6c7423276f81fc745a2.java:272)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3265)
at com.pegarules.generated.activity.ra_action_invoke_ed40119cec65d5b9cc02c084317a6952.step7_circum0(ra_action_invoke_ed40119cec65d5b9cc02c084317a6952.java:958)
The current error seen is mentioned below after the replacement of ATOM server URL to use host name instead of IP in PEGA 7.1.5.
2016-04-19 01:04:33,246 [ttp-bio-8080-exec-30] [TABTHREAD0] [ ] [ionsDocMgmt:01.01.01] ( internal.mgmt.Executable) ERROR studygroup-3.pegacloud.com|XX.XX.XX.XX Sadaan - Exception
com.pega.pegarules.pub.services.InboundMappingException: Failed to process response of CMIS service 'getFolderTree' for folder ID: -1
at com.pegarules.generated.activity.ra_action_invokecmisconnector_fcc0fba3317ef6c7423276f81fc745a2.step13_circum0(ra_action_invokecmisconnector_fcc0fba3317ef6c7423276f81fc745a2.java:2328)
at com.pegarules.generated.activity.ra_action_invokecmisconnector_fcc0fba3317ef6c7423276f81fc745a2.perform(ra_action_invokecmisconnector_fcc0fba3317ef6c7423276f81fc745a2.java:272)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3265)
at com.pegarules.generated.activity.ra_action_invoke_ed40119cec65d5b9cc02c084317a6952.step7_circum0(ra_action_invoke_ed40119cec65d5b9cc02c084317a6952.java:958)
at com.pegarules.generated.activity.ra_action_invoke_ed40119cec65d5b9cc02c084317a6952.perform(ra_action_invoke_ed40119cec65d5b9cc02c084317a6952.java:172)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3265)
at com.pegarules.generated.activity.ra_action_pycmisconnector_03d9378eb9f4efbb9ab5ec6abada9730.step9_circum0(ra_action_pycmisconnector_03d9378eb9f4efbb9ab5ec6abada9730.java:833)
at com.pegarules.generated.activity.ra_action_pycmisconnector_03d9378eb9f4efbb9ab5ec6abada9730.perform(ra_action_pycmisconnector_03d9378eb9f4efbb9ab5ec6abada9730.java:218)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3265)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10177)
at com.pegarules.generated.activity.ra_action_pygetfoldertree_aab1dc54513f08174efde13f3adb491e.step1_circum0(ra_action_pygetfoldertree_aab1dc54513f08174efde13f3adb491e.java:164)
at com.pegarules.generated.activity.ra_action_pygetfoldertree_aab1dc54513f08174efde13f3adb491e.perform(ra_action_pygetfoldertree_aab1dc54513f08174efde13f3adb491e.java:69)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3265)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10177)
at com.pegarules.generated.activity.ra_action_pygetcmisfoldertreenodes_5928851a0f09b437c2756a72db79a79a.step5_circum0(ra_action_pygetcmisfoldertreenodes_5928851a0f09b437c2756a72db79a79a.java:599)
at com.pegarules.generated.activity.ra_action_pygetcmisfoldertreenodes_5928851a0f09b437c2756a72db79a79a.perform(ra_action_pygetcmisfoldertreenodes_5928851a0f09b437c2756a72db79a79a.java:153)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3265)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10177)
at com.pegarules.generated.activity.ra_action_pycmistreenodespreload_579a371c82ac65facbca9344efdea2a2.step3_circum0(ra_action_pycmistreenodespreload_579a371c82ac65facbca9344efdea2a2.java:355)
at com.pegarules.generated.activity.ra_action_pycmistreenodespreload_579a371c82ac65facbca9344efdea2a2.perform(ra_action_pycmistreenodespreload_579a371c82ac65facbca9344efdea2a2.java:111)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3265)
at com.pegarules.generated.activity.ra_action_pzgetpopoverdata_7d4bfba395ac3babcef5794e17765b1c.step3_circum0(ra_action_pzgetpopoverdata_7d4bfba395ac3babcef5794e17765b1c.java:372)
at com.pegarules.generated.activity.ra_action_pzgetpopoverdata_7d4bfba395ac3babcef5794e17765b1c.perform(ra_action_pzgetpopoverdata_7d4bfba395ac3babcef5794e17765b1c.java:103)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3265)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:640)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:461)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3358)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:402)
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1203)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:930)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:815)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:348)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:778)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:312)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:263)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:240)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:480)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:285)
at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:419)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:460)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:509)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:118)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: com.pega.pegarules.pub.clipboard.InvalidParameterException: class "java.util.GregorianCalendar" does not match mode "String" of property ".pyObjects(1).pyObjectInFolder.pyObject.pyChangeEventInfo.pyChangeTime". Details: Invalid value for aValue passed to com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.setValueOverride(Object)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.setValueOverride(ClipboardPropertyImpl.java:3996)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.setValue(ClipboardPropertyBase.java:1767)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.setValue(ClipboardPropertyBase.java:1725)
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyBase.setValue(ClipboardPropertyBase.java:1709)
at com.pegarules.generated.activity.ra_action_pymapobjectdata_f054160e944bf6c8605d96ec9b12e4bf.step1_circum0(ra_action_pymapobjectdata_f054160e944bf6c8605d96ec9b12e4bf.java:205)
at com.pegarules.generated.activity.ra_action_pymapobjectdata_f054160e944bf6c8605d96ec9b12e4bf.perform(ra_action_pymapobjectdata_f054160e944bf6c8605d96ec9b12e4bf.java:69)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3265)
at com.pegarules.generated.activity.ra_action_pymapchildrendata_62b243d31f137584429017c0739b16ec.step1_circum0(ra_action_pymapchildrendata_62b243d31f137584429017c0739b16ec.java:176)
at com.pegarules.generated.activity.ra_action_pymapchildrendata_62b243d31f137584429017c0739b16ec.perform(ra_action_pymapchildrendata_62b243d31f137584429017c0739b16ec.java:69)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3265)
at com.pegarules.generated.activity.ra_action_invokecmisconnector_fcc0fba3317ef6c7423276f81fc745a2.step13_circum0(ra_action_invokecmisconnector_fcc0fba3317ef6c7423276f81fc745a2.java:2324)
... 72 more
Can we confirm the type of pyChangetime property and if it is not string?
Cognizant Technology Solutions
AU
pyChangetime is of type Data Time. RULE-OBJ-PROPERTY CMIS-CMISCHANGEEVENTTYPE PYCHANGETIME #20160420T042605.785 GMT
Accepted Solution
Cognizant Technology Solutions
AU
We have rasied an SR # SR-A22694, Response from GCS is below..
There is no much support available on Pega7.1.5 for CMIS . So, suggested approach is to update PEGA version to PEGA 7.1.8 and later version.
Note- CMIS integration is much more stable in ML8 release onwards.