Hi
When I tried installing version 0.2.5 on Win-NT I got an exception
in the method resetOidFile:
The variable dbID should be a long.
/**
legt oid-file neu an;
8 byte ObjectID, 4 byte ClusterID, 8 byte TransactionID
*/
public static void resetOidFile() throws IOException {
log.println ("making " + dirName + Env.OID_FILE + " ...");
<
// int dbID = ((Integer)theSetup.valueForKey (Setup.DB_ID)).intValue();
// dbID should be a long
long dbID = ((Long)theSetup.valueForKey (Setup.DB_ID)).longValue();
File f = new File (dirName, Env.OID_FILE);
RandomAccessFile rf = new RandomAccessFile (f, "rw");
rf.writeLong (((long)dbID)<<40); // oid
rf.writeLong (((long)dbID)<<40); // cid
rf.writeLong (((long)dbID)<<40); // tid
rf.close ();
}
---
Erik Svendsen
Software Engineer
Lyngsø Industri A/S
tlf: +45 96 980 980
email: esv@lyngso-industri.dk