chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Lichtenberger (JIRA)" <>
Subject [jira] Created: (CMIS-47) AtomPub: Empty responses on Glassfish 2.1
Date Mon, 10 Aug 2009 13:58:15 GMT
AtomPub: Empty responses on Glassfish 2.1

                 Key: CMIS-47
             Project: Chemistry
          Issue Type: Bug
          Components: atompub, server
         Environment: Chemistry 0.61 (SVN), Glassfish 2.1, Linux, Java 1.6.0_14
            Reporter: Daniel Lichtenberger

I'm getting empty responses with a Chemistry-based AtomPub server on Glassfish 2.1. I'm extending
AbderaServlet and use Chemistry's CMISProvider to encapsulate our own repository implementation.

The same EAR works with JBoss 4.2, and the AtomPub servlet also works with Jetty. A bit of
debugging has shown that Abdera and Chemistry process the requests correctly, but the response
is never actually written to the container's output stream. Explicitly flushing Chemistry's
stream writer in CMISServiceResponse solved the problem  for me (see attached patch against
0.61). Flushing the stream at a later point does not work, as it seems that the StreamWriter
itself is not closed or flushed properly.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message