06-30-2015 06:25 AM
I'm trying to use Ephesoft to capture documents for Nuxeo. I import documents into Ephesoft, review them, validate but the last step:The export fails.
CMIS pugin configuration:
Cmis Root Folder Name: /default-domain/workspaces/Test
Cmis Upload File Extension: pdf
Cmis Server URL:http://192.168.1.11:8080/nuxeo/atom/cmis
Cmis Server User Name:Administrator
Cmis Server User Password:Administrator
Cmis Server Repository Id:388fdcfa-d3dc-4b81-a98b-fd9c2dc0f853
Cmis Server Switch ON/OFF:ON
DLF-Attribute-mapping.properties for the mapping between Ephesoft & Nuxeo:
reglement=reglement
reglement.nom_client=rgl:nom_client
reglement.montant=rgl:nom_client
reglement.mode_de_reglement=rgl:mode_de_reglement
reglement.date=rgl:date
Log:
2015-06-30 09:28:31,376 ERROR pool-1-thread-2 org.jbpm.pvm.internal.jobexecutor.JobParcel - exception in job block
org.jbpm.api.JbpmException: couldn't invoke 'exportContent' with [BI41, CMIS_Export_Plugin] on com.ephesoft.dcma.cmis.service.CMISExportServiceImpl@4ab4a7ba: Mauvaise Requête
at org.jbpm.pvm.internal.util.ReflectUtil.invoke(ReflectUtil.java:163)
at org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.invokeMethod(ObjectDescriptor.java:213)
at org.jbpm.jpdl.internal.activity.JavaActivity.perform(JavaActivity.java:76)
at org.jbpm.jpdl.internal.activity.JpdlAutomaticActivity.execute(JpdlAutomaticActivity.java:15)
at org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(ExecuteActivity.java:60)
at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:656)
at org.jbpm.pvm.internal.model.op.ExecuteActivityMessage.execute(ExecuteActivityMessage.java:46)
at org.jbpm.pvm.internal.cmd.ExecuteJobCmd.execute(ExecuteJobCmd.java:76)
at org.jbpm.pvm.internal.cmd.ExecuteJobCmd.execute(ExecuteJobCmd.java:42)
at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at org.jbpm.pvm.internal.tx.SpringCommandCallback.doInTransaction(SpringCommandCallback.java:45)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:55)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
at org.jbpm.pvm.internal.jobexecutor.JobParcel.run(JobParcel.java:48)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.ephesoft.dcma.core.DCMAException: Mauvaise Requête
at com.ephesoft.dcma.cmis.service.CMISExportServiceImpl.exportContent(CMISExportServiceImpl.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy94.exportContent(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.jbpm.pvm.internal.util.ReflectUtil.invoke(ReflectUtil.java:160)
... 22 more
Caused by: com.ephesoft.dcma.core.exception.DCMAApplicationException: Mauvaise Requête
at com.ephesoft.dcma.cmis.CMISExporter.exportFiles(CMISExporter.java:515)
at com.ephesoft.dcma.cmis.service.CMISExportServiceImpl.exportContent(CMISExportServiceImpl.java:72)
... 44 more
Caused by: org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: Mauvaise Requête
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:399)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.read(AbstractAtomPubService.java:481)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getRepositoriesInternal(AbstractAtomPubService.java:633)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getRepositoryInfo(RepositoryServiceImpl.java:62)
at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfo(RepositoryServiceImpl.java:69)
at org.apache.chemistry.opencmis.client.runtime.SessionImpl.connect(SessionImpl.java:570)
at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.createSession(SessionFactoryImpl.java:61)
at com.ephesoft.dcma.cmis.CMISExporter.exportFiles(CMISExporter.java:385)
... 45 more
07-02-2015 08:54 AM
These are the Ephesoft logs, but to diagnose the issue we would need the Nuxeo logs, available in log/server.log
.
07-02-2015 09:57 AM
[Florent Guillaume](https
07-02-2015 12:23 PM
As we have no way of debugging Ephesoft, please get a network trace to see what CMIS query is sent to Nuxeo that would trigger this error so that we can reproduce.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.