F
frank
Just started to look to use the java logging and got this error and
don't know why. Used the example from
http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/overview.html
complaing about this line :
fh = new FileHandler(table.getProperty("dbsLogFile"));
fh is defined as follow in the class:
private static FileHandler fh;
java.io.IOException: Couldn't get lock for "dbslogfile.txt"
java.io.IOException: Couldn't get lock for "dbslogfile.txt"
at java.util.logging.FileHandler.openFiles(FileHandler.java:361)
at java.util.logging.FileHandler.<init>(FileHandler.java:232)
at DBS.DBS.<init>(DBS.java:107)
at DBS.RunDBS.main(RunDBS.java:20)
thanks,
Frank
don't know why. Used the example from
http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/overview.html
complaing about this line :
fh = new FileHandler(table.getProperty("dbsLogFile"));
fh is defined as follow in the class:
private static FileHandler fh;
java.io.IOException: Couldn't get lock for "dbslogfile.txt"
java.io.IOException: Couldn't get lock for "dbslogfile.txt"
at java.util.logging.FileHandler.openFiles(FileHandler.java:361)
at java.util.logging.FileHandler.<init>(FileHandler.java:232)
at DBS.DBS.<init>(DBS.java:107)
at DBS.RunDBS.main(RunDBS.java:20)
thanks,
Frank