Tom et al,
as you know we are getting a lot of the following exception:
java.io.IOException: Can not read data for version -1. Supported versions: 1,2
/**
* This is a best attempt to determine if is old version. Typically, the first
* byte will be -1, so if is, will reset stream and process as though is older version
*/
// if(version == -1)
// {
// version = Version.VERSION_1;
// inputStream.reset();
// }