Bug 780071 (SOA-2437) - Unable to publish XMI file for sequencing
Summary: Unable to publish XMI file for sequencing
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2437
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.1.0.ER2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.1.0.ER4
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-18 20:25 UTC by Boris Belovic
Modified: 2011-02-03 15:18 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-03 15:18:44 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2437 0 None None None Never

Description Boris Belovic 2010-10-18 20:25:22 UTC
project_key: SOA

I tried to publish XMI file (using Modeshape's REST client) into /files directory, but I was unsuccessful as I've got HTTP 400 error with message "java.lang.IllegalStateException: java.io.IOException: Not in GZIP format".

When I looked into files directory on the server, there was a node with a specified filename created, this node also has jcr:content node, but jcr:content node has no jcr:data node.

However , when I tried to publish CSV file (using the same client) I was successful and file was created under the /files directory.

Comment 1 Boris Belovic 2010-10-18 20:26:07 UTC
It looks like XMI file cannot be published under any location, not only /files.

Comment 2 Boris Belovic 2010-10-18 20:26:28 UTC
Link: Added: This issue is related to MODE-958


Comment 3 Boris Belovic 2010-10-19 16:19:51 UTC
Van,

I think the problem is only with JPA connector , as Randall pointed out on IRC the problem might be that the connector thinks that the data was compressed - so it tries to uncompress and that's the problem - it tries to uncompress data which never have beem compressed.

Comment 4 Boris Belovic 2010-10-19 16:30:26 UTC
File publishing works with memory and file repository, but when I tried it with  JPA repo (with MySQL database) I've got HTTP 400 error code with message:java.lang.IllegalStateException: java.io.IOException: Not in GZIP format

Comment 5 Van Halbert 2010-10-19 18:21:00 UTC
Need to change the modeshape-config.xml to add store:eds:  in the sequencing paths.   Example:

 store:eds:/files(//)(*.xmi[*])/jcr:content[@jcr:data] => store:eds:/sequenced/teiid/models$1 

Comment 6 Boris Belovic 2010-10-19 19:37:36 UTC
Link: Added: This issue is related to MODE-966


Comment 7 Van Halbert 2010-10-19 19:53:50 UTC
Checked in the fix the modeshape-config.xml by adding the store:eds:  to the sequencing paths.   

Comment 8 Van Halbert 2010-10-27 15:40:35 UTC
ModeShape has committed the fixes to the 2.2.x branch on Oct. 21, and should be in the ER4 build.

Comment 9 Warren Gibson 2011-02-03 15:18:44 UTC
2/3/2011 wgibson resolved


Note You need to log in before you can comment on or make changes to this bug.