Hi Michael,
not sure if this can be helpful in your case,
but in Chemistry we're also working to implement/contribute a TCK
(Test Compatibility Kit), starting from the Alfresco existing CMIS
Test Harness. It's quite functional and allows to test the standard
CMIS urls via standard JUnit tests, configuring the server/username/
password as Maven POM properties.
In addition to that it can log the HTTP conversation between server
and client and tests are logged in a separate file. The related issue
is [1].
At the moment it's not yet committed in the Chemistry codebase as
we're working on cleaning up a bit and want to get some feedback from
the Chemistry community, but you can find it here [2], following the
simple README posted here [3]. So if you run Chemistry on the server
side you can then use the TCK (opportunely configured) to actually see
what's going on.
It's at a very initial state, but I expect much more to come there
soon ;)
Hope this helps,
Gab
[1] https://issues.apache.org/jira/browse/CMIS-35
[2] https://svn.alfresco.com/repos/contrib/chemistry-tck-atompub/
[3] https://svn.alfresco.com/repos/contrib/chemistry-tck-atompub/README.txt
On Jul 29, 2009, at 7:24 PM, Florent Guillaume wrote:
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/600703ff3f34e6ec
?
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
--
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