RE: Ant Jar Issue

2015-10-13 Thread Jackie Xiao
Sorry, adding the missing exception message: Constructor threw exception; nested exception is java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big. Which should mean the certificate file was corrupted. From: Jackie Xiao Sent: Wednesday,

Ant Jar Issue

2015-10-13 Thread Jackie Xiao
​Dear list >>The issue: When jar-ing a module which contains binary certificate file (auth.p12) on CentOS, with Ant 1.9.2, it seems the p12 file was corrupted after jar compression. (When reading the cerf file with InputStream, below exception was thrown) Exception message: >>The subtle thi

RE: Ant Jar Issue

2015-10-13 Thread Martin Gainty
the distinction between compressing using the jar compression algorithm with ant jar task which employes LZ+HUF http://compressionratings.com/i_jar.html and packaging a signed jar which expects these attributes to be honored compression algorithm alias storepass signature algorithm to create a s

Re: Ant Jar Issue

2015-10-13 Thread Stefan Bodewig
On 2015-10-13, Jackie Xiao wrote: > ​Dear list >>> The issue: > When jar-ing a module which contains binary certificate file (auth.p12) on > CentOS, with Ant 1.9.2, it seems the p12 file was corrupted after jar > compression. (When reading the cerf file with InputStream, below exception > was