Subject Re: java.io.FileNotFoundException: log/test.log (The system cannot find the path spe
Author armenakgrigoryan
I have found best way. Just to change the value of the
log4j.appender.Default.File key Instead
log4j.appender.Default.File=log\test.log
I put
log4j.appender.Default.File=test.log

Without log\. It is deinitely not perfect solution, it works.

--- In Firebird-Java@y..., "Ken Richard" <kenr@a...> wrote:
> The easiest way to fix the problem is to remove the log4j.properties
> from the JAR file.
>
> Can the JAR file in CVS be updated to fix this problem before the
> official release?
>
> -----Original Message-----
> From: armenakgrigoryan [mailto:agrigoryan@c...]
> Sent: Monday, September 09, 2002 2:17 PM
> To: Firebird-Java@y...
> Subject: [Firebird-Java] java.io.FileNotFoundException: log/test.log
> (The system cannot find the path spe
>
> Hello !
>
> I'm constantly receiving following error message :
>
> og4j:ERROR setFile(null,true) call failed.
>
> java.io.FileNotFoundException: log/test.log (The system cannot find
> the path specified)
> at java.io.FileOutputStream.openAppend(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:100)
> at java.io.FileWriter.<init>(FileWriter.java:52)
> 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 org.firebirdsql.logging.Logger.<init>(Logger.java:53)
> at org.firebirdsql.logging.Logger.getLogger(Logger.java:74)
> at org.firebirdsql.jca.FBManagedConnectionFactory.<init>
> (FBManagedConnectionFactory.java:85)
> at org.firebirdsql.jdbc.FBWrappingDataSource.<init>
> (FBWrappingDataSource.java:85)
>
> Could anyone please advise me what is it.
>
> A.G.
>
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@y...
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/