Subject Re: [Firebird-Java] Re: Can't connect to DB
Author Rick Fincher
Hi William,
 
The "-DFBLog4j=true" otion goes on the Java command line when starting the application.  So with Tomcat you can set JAVA_OPTS in the startup script to include it.
 
This would be great for debugging JDBC realm based security problems among other things.
 
I'm not sure where the test directory would go, though, in Tomcat.  CATALINA_HOME, or CATALINA_HOME/logs maybe?
 
Rick
----- Original Message -----

On Tue, 2002-07-16 at 14:55, rrokytskyy wrote:
> William,
>
> I have fixed bug in logging (see my post on this topic), so try our
> driver with logging enabled. You will get more output in
> ./log/test.log file. This might help you.

Will do. One question though. I already use log4j for some other apps
like JGenerator. Each of my sites has a log4j.properties file that I
place in each sites WEB-INF/classes folder.
Along with the main prop file that lives with JGenerator in it's install
dir.

I am not very familiar with log4j yet, so without holding my hand to
much. :)

How do I use/initialize it with the JDBC driver.

I have not seen any prop files so far, so I assume they are in the jar
or something?

> Best regards,
> Roman Rokytskyy