Hi Michael,

On Jul 29, 2009, at 7:46 PM, Florent Guillaume wrote:

Please keep the list in Cc.

+1 :)


Wireshark has a "follow TCP stream" that gives a simple stream of bytes exchanged, that you can then reformat using an XML editor or the "tidy" program.

At the moment I'm not using any client, but I'll go hunt for some soon.

I'm a bit puzzled here...what you mean going hunting for clients?
Isn't part of the Chemistry mission to also deliver a Java CMIS client? I remember few discussions went around the list already [1]. I'm not sure what the status is as I'm not directly working on that, but AFAIK the idea is that it should be a custom coded client not using any Atom specific library (e.g. Abdera).

As a side note, the previously mentioned TCK is very similar to a basic client and if you're really in a hurry you may extract the java calls that you need from it, as it's already 0.6.2 compliant (tested against an Alfresco internal branch already updated to 0.6.2).

HTH,
Gab

[1] 
http://mail-archives.apache.org/mod_mbox/incubator-chemistry-dev/200906.mbox/%3c687c4fc9-994b-407d-a97c-d71914b85...@gmail.com%3e


Florent

On 29 Jul 2009, at 19:42, Michael Mertins wrote:

Thanks, I tried to use Wireshark, but the output is very cryptic and not as readable as your log file from the google group. The relevant sequence seems to be:
GET /cmis/children/2f HTTP/1.1\r\n

Could I ask what kind of CMIS clients people are using? Is there any 0.62 compliant client available? Should I use Alfresco as a backend in order to test my work on the JCR implementation?

I read that it is necessary to use certain SPI functionality but I don't see where exactly I should start?

Will open the JIRA request asap.

Best,

Michael

-----Ursprüngliche Nachricht-----
Von: Florent Guillaume [mailto:f...@nuxeo.com]
Gesendet: Mittwoch, 29. Juli 2009 19:24
An: Michael Mertins
Cc: chemistry-dev@incubator.apache.org
Betreff: Re: Chemistry Debugging (small question)

Hi Michael,

I'm Cc:ing the chemistry list.

On 29 Jul 2009, at 14:55, Michael Mertins wrote:
can I debug chemistry somehow? Like you did at Shane's Google Group:
http://groups.google.com/group/cmis-explorer/browse_thread/thread/6007
03ff3f34e6ec
?

Ah you want to debug the AtomPub network traffic between client and server? There are various tools to do that, a free one is wireshark. Adding a flag so that the atompub server also dumps what it receives/ sends in a log file would be useful, could you add a feature request in JIRA please?

I'm still trying to get folder listing to work, implemented
JcrObjectEntry.java fully and the missing methods in
JcrConnection.java and still got no output although I can see that
several connections are opened.
Using Shane's Cmis Explorer and 0.61 Chemistry branch.

At some point it's nice to be able to put breakpoint in the client as well, to understand why it displays things or not. That's my problem with Flex applications really, I don't have the development environment for it. The best I could do to debug some things is read its source code, but a debugger is way better. Or maybe you could set up your server on a public URL and ask Shane to give you a quick idea of what's wrong?

Florent

--
Florent Guillaume, Head of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87


--
Florent Guillaume, Head of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87


--

Eng. Gabriele Columbro
Alfresco Software, Ltd.

M: +31 (0)627 565 103
P: +39 320 161 28 46
D: +44 (0)1628 876 654
Skype: gabrielecolumbro
Blog: http://www.mindthegab.com



Reply via email to