Subject | Jaybird Driver |
---|---|
Author | pcam_again |
Post date | 2003-07-17T01:52:43Z |
Hi,
I have just started using Jaybird. It worked first time on Linux but
I have found that it tries to create a log file but does not use the
correct file separator character for this OS.
Here is the Trace
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: log/test.log (No such file or
directory)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:174)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileWriter.<init>(FileWriter.java:61)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:316)
at org.apache.log4j.FileAppender.activateOptions
(FileAppender.java:182)
at org.apache.log4j.PropertyConfigurator.configureOptionHandler
(PropertyConfigurator.java:451)
at org.apache.log4j.PropertyConfigurator.parseAppender
(PropertyConfigurator.java:585)
at org.apache.log4j.PropertyConfigurator.parseCategory
(PropertyConfigurator.java:555)
at org.apache.log4j.PropertyConfigurator.configureRootCategory
(PropertyConfigurator.java:462)
at org.apache.log4j.PropertyConfigurator.doConfigure
(PropertyConfigurator.java:388)
at org.apache.log4j.PropertyConfigurator.doConfigure
(PropertyConfigurator.java:414)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure
(OptionConverter.java:345)
at org.apache.log4j.Category.<clinit>(Category.java:160)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.firebirdsql.logging.LoggerFactory.getLogger
(LoggerFactory.java:35)
at org.firebirdsql.logging.LoggerFactory.getLogger
(LoggerFactory.java:65)
at org.firebirdsql.jdbc.FBDriver.<clinit>(FBDriver.java:151)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
Keep up the great work !
From,
Phillip Cameron
I have just started using Jaybird. It worked first time on Linux but
I have found that it tries to create a log file but does not use the
correct file separator character for this OS.
Here is the Trace
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: log/test.log (No such file or
directory)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:174)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileWriter.<init>(FileWriter.java:61)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:316)
at org.apache.log4j.FileAppender.activateOptions
(FileAppender.java:182)
at org.apache.log4j.PropertyConfigurator.configureOptionHandler
(PropertyConfigurator.java:451)
at org.apache.log4j.PropertyConfigurator.parseAppender
(PropertyConfigurator.java:585)
at org.apache.log4j.PropertyConfigurator.parseCategory
(PropertyConfigurator.java:555)
at org.apache.log4j.PropertyConfigurator.configureRootCategory
(PropertyConfigurator.java:462)
at org.apache.log4j.PropertyConfigurator.doConfigure
(PropertyConfigurator.java:388)
at org.apache.log4j.PropertyConfigurator.doConfigure
(PropertyConfigurator.java:414)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure
(OptionConverter.java:345)
at org.apache.log4j.Category.<clinit>(Category.java:160)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.firebirdsql.logging.LoggerFactory.getLogger
(LoggerFactory.java:35)
at org.firebirdsql.logging.LoggerFactory.getLogger
(LoggerFactory.java:65)
at org.firebirdsql.jdbc.FBDriver.<clinit>(FBDriver.java:151)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
Keep up the great work !
From,
Phillip Cameron