Subject Re: [Firebird-Java] Re: Can't connect to DB
Author William L. Thomson Jr.
On Tue, 2002-07-16 at 16:03, Rick Fincher wrote:
> 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.

Actually I have some global JAVA_OPTS to limit memory and etc, so I will
add it to that.

> This would be great for debugging JDBC realm based security problems
> among other things.

I need as much info as I can get at the moment.

> I'm not sure where the test directory would go, though, in Tomcat.
> CATALINA_HOME, or CATALINA_HOME/logs maybe?

I will find it. :)

> 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
>
--
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios Inc.
439 Amber Way
Petaluma, Ca. 94952
Phone 707.766.9509
Fax 707.766.8989
http://www.obsidian-studios.com