chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <f...@apache.org>
Subject Re: Heads up on the CMIS 1.1 implementation in OpenCMIS
Date Mon, 06 May 2013 15:18:56 GMT
 Hi Michael,

 I cannot reproduce this problem. The (Workbench) TCK works fine against 
 the InMemory Repository.

 Does your repository report the CMIS version 1.1 in the repository info 
 on a CMIS 1.0 endpoint?
 If that's the case, the TCK tries to call new CMIS 1.1 operations that 
 are not exposed by the CMIS 1.0 endpoint.


 - Florian


> Hi,
>
> My atompub issue seems to be solved with the commit from may 4.
>
>
> How do you run the TCK tests? Against which server? With which 
> version of
>> the TCK?
>> The TCK tests work find during the build. Does a full OpenCMIS build 
>> work
>> for you?
>>
>>
> I was running the test with my own runner (an AbstractRunner).
> And against my own server.
> It was the version from trunk.
> The build is working fine for me.
>
> So indeed the problem might be on my side.
>
> However, running the tck from workbench (built from trunk) gives the 
> same
> result:
>
> ---------------------------------------------------------------
> Bulk Update Properties Test (WEBSERVICES) (0 ms)
> ---------------------------------------------------------------
>
>   UNEXPECTED_EXCEPTION: Exception:
> 
> org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException:
> Error: Cannot find dispatch method for {
> 
> http://docs.oasis-open.org/ns/cmis/messaging/200908/}bulkUpdateProperties(AbstractSessionTest.java:159)
>
> Stacktrace:
>
> 
> org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException:
> Error: Cannot find dispatch method for {
> 
> http://docs.oasis-open.org/ns/cmis/messaging/200908/}bulkUpdateProperties
> at
> 
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.ObjectServiceImpl.bulkUpdateProperties(ObjectServiceImpl.java:271)
> at
> 
> org.apache.chemistry.opencmis.client.runtime.SessionImpl.bulkUpdateProperties(SessionImpl.java:1013)
> at
> 
> org.apache.chemistry.opencmis.tck.tests.crud.BulkUpdatePropertiesTest.run(BulkUpdatePropertiesTest.java:83)
> at
> 
> org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.run(AbstractSessionTest.java:156)
> at
> 
> org.apache.chemistry.opencmis.tck.impl.AbstractCmisTestGroup.run(AbstractCmisTestGroup.java:109)
> at
> 
> org.apache.chemistry.opencmis.tck.runner.AbstractRunner.run(AbstractRunner.java:251)
> at
> 
> org.apache.chemistry.opencmis.workbench.TckDialog$TckTask.doInBackground(TckDialog.java:674)
> at
> 
> org.apache.chemistry.opencmis.workbench.TckDialog$TckTask.doInBackground(TckDialog.java:662)
> at javax.swing.SwingWorker$1.call(SwingWorker.java:277)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at javax.swing.SwingWorker.run(SwingWorker.java:316)
> at
> 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> at
> 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> at java.lang.Thread.run(Thread.java:680)
> Caused by: javax.xml.ws.soap.SOAPFaultException: Cannot find dispatch
> method for {
> 
> http://docs.oasis-open.org/ns/cmis/messaging/200908/}bulkUpdateProperties
> at
> 
> com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
> at
> 
> com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111)
> at
> 
> com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
> at
> 
> com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
> at 
> com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
> at com.sun.proxy.$Proxy42.bulkUpdateProperties(Unknown Source)
> at
> 
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.ObjectServiceImpl.bulkUpdateProperties(ObjectServiceImpl.java:256)
> ... 14 more
>   Exception: Error: Cannot find dispatch method for {
> 
> http://docs.oasis-open.org/ns/cmis/messaging/200908/}bulkUpdateProperties
>
>
> ---------------------------------------------------------------
> Set, Append, and Delete Content Test (WEBSERVICES) (0 ms)
> ---------------------------------------------------------------
>
>   UNEXPECTED_EXCEPTION: Exception:
> 
> org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException:
> Error: Cannot find dispatch method for {
> 
> http://docs.oasis-open.org/ns/cmis/messaging/200908/}appendContentStream(AbstractSessionTest.java:159)
>
> Stacktrace:
>
> 
> org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException:
> Error: Cannot find dispatch method for {
> 
> http://docs.oasis-open.org/ns/cmis/messaging/200908/}appendContentStream
> at
> 
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.ObjectServiceImpl.appendContentStream(ObjectServiceImpl.java:509)
> at
> 
> org.apache.chemistry.opencmis.client.runtime.DocumentImpl.appendContentStream(DocumentImpl.java:467)
> at
> 
> org.apache.chemistry.opencmis.client.runtime.DocumentImpl.appendContentStream(DocumentImpl.java:447)
> at
> 
> org.apache.chemistry.opencmis.tck.tests.crud.SetAndDeleteContentTest.run(SetAndDeleteContentTest.java:163)
> at
> 
> org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.run(AbstractSessionTest.java:156)
> at
> 
> org.apache.chemistry.opencmis.tck.impl.AbstractCmisTestGroup.run(AbstractCmisTestGroup.java:109)
> at
> 
> org.apache.chemistry.opencmis.tck.runner.AbstractRunner.run(AbstractRunner.java:251)
> at
> 
> org.apache.chemistry.opencmis.workbench.TckDialog$TckTask.doInBackground(TckDialog.java:674)
> at
> 
> org.apache.chemistry.opencmis.workbench.TckDialog$TckTask.doInBackground(TckDialog.java:662)
> at javax.swing.SwingWorker$1.call(SwingWorker.java:277)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at javax.swing.SwingWorker.run(SwingWorker.java:316)
> at
> 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> at
> 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> at java.lang.Thread.run(Thread.java:680)
> Caused by: javax.xml.ws.soap.SOAPFaultException: Cannot find dispatch
> method for {
> 
> http://docs.oasis-open.org/ns/cmis/messaging/200908/}appendContentStream
> at
> 
> com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
> at
> 
> com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111)
> at
> 
> com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
> at
> 
> com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
> at 
> com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
> at com.sun.proxy.$Proxy42.appendContentStream(Unknown Source)
> at
> 
> org.apache.chemistry.opencmis.client.bindings.spi.webservices.ObjectServiceImpl.appendContentStream(ObjectServiceImpl.java:500)
> ... 15 more
>   Exception: Error: Cannot find dispatch method for {
> 
> http://docs.oasis-open.org/ns/cmis/messaging/200908/}appendContentStream
>
>
> Michael


Mime
View raw message