Hi Stefan, Thanks for the explanation
my vmware's vmdk file starts out with 'KDMV'. This explains about the stack trace. additional info * 7z for windows can uncompress it, but not 7z for linux, and winzip for windows * commons-vfs does not support 7z/vmdk format. https://commons.apache.org/proper/commons-vfs/filesystems.html so 7z for windows is the only option which I can't use since my CI is on Linux Thanks -Dan On Sun, Aug 5, 2018 at 7:45 AM, Stefan Bodewig <bode...@apache.org> wrote: > On 2018-08-04, Dan Tran wrote: > > > here is the stack trace > > > Caused by: java.io.IOException: Bad 7z signature > > at org.apache.commons.compress.archivers.sevenz.SevenZFile. > readHeaders(SevenZFile.java:326) > > This means Commons Compress doesn't recognize the file as a 7z > archive. A 7z archive Compress knows to deal with starts with the six > bytes > > 37 7A BC AF 27 1C > > - the first two bytes are "7z" - and your archive doesn't seem to do so. > > The 7z utility supports a lot of formats beyond 7z, maybe it does > support vmdks directly? If the vmdk format is > https://www.vmware.com/support/developer/vddk/vmdk_50_technote.pdf or > something similar then Commons VFS would look like a more natural place > for support than Compress IMHO. > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@commons.apache.org > For additional commands, e-mail: user-h...@commons.apache.org > >