You probably need a more recent (unreleased) version of Nuxeo CMIS,
server side.
You can run your tests against the public demo server
(cmis.demo.nuxeo.org), or build the packages yourself.
The nighlty builds of Nuxeo will soon integrate the CMIS components,
but it hasn't been done yet.
S.
On Jan 28, 2010, at 10:54 AM, Raymond Bourges wrote:
Hi,
I test cmissh with
http://www.nuxeo.org/static/cmis/nuxeo-distribution-tomcat-5.3.1-20100106-cmis.zip
./cmissh -u Administrator -p Administrator http://localhost:8080/nuxeo/site/cmis/repository
--> OK
ls --> default
cd default --> 10:46:02,469 ERROR [APPRepository] Type cmis:document
is missing descendants link
10:46:02,477 ERROR [APPRepository] Type cmis:folder is missing
descendants link
org.apache.chemistry.xml.stax.ParseException: No such type: Root
at
org
.apache
.chemistry
.atompub
.client
.stax.AbstractObjectReader.readProperties(AbstractObjectReader.java:
103)
at
org
.apache
.chemistry
.atompub
.client
.stax
.AbstractObjectReader
.readObjectChildElement(AbstractObjectReader.java:70)
at
org
.apache
.chemistry
.atompub
.client
.stax.AbstractObjectReader.readCmisObject(AbstractObjectReader.java:
61)
at
org
.apache
.chemistry
.atompub
.client
.stax.AbstractObjectReader.readCmisElement(AbstractObjectReader.java:
53)
at
org
.apache
.chemistry
.atompub
.client.stax.AbstractEntryReader.read(AbstractEntryReader.java:56)
at
org
.apache
.chemistry
.atompub
.client.stax.AbstractEntryReader.read(AbstractEntryReader.java:38)
at
org
.apache
.chemistry
.atompub
.client
.connector.HttpClientResponse.getObject(HttpClientResponse.java:129)
at
org
.apache
.chemistry
.atompub.client.APPConnection.getObjectEntry(APPConnection.java:357)
at
org
.apache
.chemistry.atompub.client.APPConnection.getObject(APPConnection.java:
373)
at
org
.apache
.chemistry
.atompub.client.APPConnection.getRootFolder(APPConnection.java:114)
at
org
.nuxeo
.chemistry
.shell.app.ChemistryRootContext.getContext(ChemistryRootContext.java:
71)
at
org
.nuxeo
.chemistry
.shell.AbstractApplication.resolveContext(AbstractApplication.java:
150)
at org.nuxeo.chemistry.shell.cmds.Cd.run(Cd.java:44)
at
org.nuxeo.chemistry.shell.command.CommandLine.run(CommandLine.java:
114)
at org.nuxeo.chemistry.shell.Console.runCommand(Console.java:78)
at
org
.nuxeo
.chemistry.shell.console.JLineConsole.execute(JLineConsole.java:66)
at
org
.nuxeo.chemistry.shell.console.JLineConsole.start(JLineConsole.java:
86)
at org.nuxeo.chemistry.shell.Main.runInInteractiveMode(Main.java:
174)
at org.nuxeo.chemistry.shell.Main.run(Main.java:125)
at org.nuxeo.chemistry.shell.Main.main(Main.java:56)
Do I forget something?
Thanks
Le 14/01/2010 19:38, Stefane Fermigier a écrit :
Hi,
we've been working recently on a CMIS command-line client, based on
the Apache Chemistry client code, which I've called (at least for
now) cmissh.
I have just made a second preview release so you can test it, for
instance against the Nuxeo CMIS demo server that has been set up
recently by Florent at
http://cmis.demo.nuxeo.org/
You can download cmissh at:
http://www.nuxeo.org/static/cmis/cmissh-20100114.zip
cmissh can be used interactively (with a nice autocompletion
console that has been developped by Bogdan) to explore and run CRUD
operations on a CMIS server, or as a testing tool.
I've included, for instance, a test script in the distribution,
called 'testscript', that can be run against the Nuxeo demo server
and will fail on errors. I've also been able to use cmissh against
the Chemistry test server and the Nuxeo Chemistry test server.
We're currently in a phase where it's important to test
interoperability of the various servers and client implementations,
as well as compliance of the various implementations to the current
spec (1.0 CD06, which could end up as CMIS 1.0 in a couple of
months).
Please give it a try. Send me your feedback. There is still some
work to be done to implement the full spec, both client-side and
server-side, but it's nice to be able to play with the tool instead
of just thinking abstractly about the spec.
The cmissh codebase (which lives in the nuxeo-chemistry-shell
module of the nuxeo-chemistry project, there: http://hg.nuxeo.org/sandbox/nuxeo-chemistry/
, but actually doesn't depend on the Nuxeo Chemistry projetc) will
probably be donated to the Apache Chemistry in the near future.
For more information on Nuxeo and CMIS, you can check:
http://doc.nuxeo.org/xwiki/bin/view/Main/CMIS
S.
--
Stefane Fermigier, Founder and Chairman, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
New: follow me on Twitter: http://twitter.com/sfermigier
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
<Raymond_Bourges.vcf>_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
--
Stefane Fermigier, Founder and Chairman, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
New: follow me on Twitter: http://twitter.com/sfermigier
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm