Hide Forgot
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.
It looks like XMI file cannot be published under any location, not only /files.
Link: Added: This issue is related to MODE-958
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.
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
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
Link: Added: This issue is related to MODE-966
Checked in the fix the modeshape-config.xml by adding the store:eds: to the sequencing paths.
ModeShape has committed the fixes to the 2.2.x branch on Oct. 21, and should be in the ER4 build.
2/3/2011 wgibson resolved