Subject | Re: [ib-support] JCA-JDBC driver, FirebirdSS 1.0 (Interbase), Tomcat 4.0.4, Red Hat Linux 7.3 |
---|---|
Author | William L. Thomson Jr. |
Post date | 2002-07-26T05:59:49Z |
Go look through the archives if you would from the other list.
Firebird-Java.
In short I would recommend placing a log4j.properties file in each of
your web apps WEB-INF/classes folder.
What you need to put that has been posted by others and again by me.
Check out a post on
July 16th from Roman Rokytskyy or rrokytskyy
or my repost on
July 22nd.
They are both pretty much the same thing and will help you to get rid of
that error.
Well hell, here it is so you do not have to look for it, but if possible
always check the archives, you may be surprised what you find.
Here is what should be in it
log4j.category.org.firebirdsql=debug,fbsql
log4j.appender.fbsql=org.apache.log4j.FileAppender
log4j.appender.fbsql.File=/var/log/firebirdsql.log
log4j.appender.fbsql.layout=org.apache.log4j.PatternLayout
log4j.appender.fbsql.layout.ConversionPattern=[%c{1},%p] %m%n
log4j.appender.Dfbsql.Append=true
You may want to change the first line, debug to error or fatal.
Firebird-Java.
In short I would recommend placing a log4j.properties file in each of
your web apps WEB-INF/classes folder.
What you need to put that has been posted by others and again by me.
Check out a post on
July 16th from Roman Rokytskyy or rrokytskyy
or my repost on
July 22nd.
They are both pretty much the same thing and will help you to get rid of
that error.
Well hell, here it is so you do not have to look for it, but if possible
always check the archives, you may be surprised what you find.
Here is what should be in it
log4j.category.org.firebirdsql=debug,fbsql
log4j.appender.fbsql=org.apache.log4j.FileAppender
log4j.appender.fbsql.File=/var/log/firebirdsql.log
log4j.appender.fbsql.layout=org.apache.log4j.PatternLayout
log4j.appender.fbsql.layout.ConversionPattern=[%c{1},%p] %m%n
log4j.appender.Dfbsql.Append=true
You may want to change the first line, debug to error or fatal.
On Thu, 2002-07-25 at 21:11, benjohn villedo wrote:
> thanks for the inputs i'm on my way to the mailing
> list u suggested... anyhow i hope this wont be a
> bother to ask
>
> i placed the files
>
> firebirdsql.jar
> connector.jar
> log4j-core.jar
>
> in $CATALINA_HOME/common/lib
>
> the good news is the driver is now registered and the
> connection pools Initialized however the not so good
> news is i get an error from log4j:
>
> log4j:ERROR setFile(null,true) call failed
> java.io.FileNotFoundException: log\test.log (The
> system cannot find the path specified)
>
> how should i resolve this error?? would the
> performance of tomcat be affected by this error if i
> ignore it??
>
> thanks really... hope to hear from u again soon..
>
> pal,
> benjohn
>
>
> --- "William L. Thomson Jr."
> <support@...> wrote:
> > There is another mailing list that is better suited
> > for Java related
> > questions regarding the JCA-JDBC driver.
> >
> > It's the Firebird-Java mailing list.
> >
> > Anyway with Tomcat 4.x you need to either place the
> > jar file in side of
> > the Tomcat dir in either common/lib or just lib
> >
> > I tend to install the driver near bye in a separate
> > folder and then
> > place a sym link into the jakarta-tomcat/lib dir.
> >
> > Do that and you should be all set. You may also need
> > to sym link the
> > connector.jar, or at least I did. You may also need
> > to sym link the
> > log4j-core.jar unless you have one in Tomcat's
> > internal classpath
> > already.
> >
> > That should get you up and running. To sign up for
> > the other list go
> > here.
> > http://firebird.sourceforge.net/index.php?op=lists
> >
> >
> > On Wed, 2002-07-24 at 20:31, benjohn villedo wrote:
> > > hi there one and all,
> > >
> > > Good Day!!!
> > >
> > > i really don't know if this is the right place to
> > ask
> > > about my case anyhow allow me to rely on luck here
> > who
> > > knows someone out there might have encountered the
> > > same situation i am in right now....
> > >
> > > System Configuration:
> > > JCA-JDBC driver, FirebirdSS 1.0 (Interbase),
> > Tomcat
> > > 4.0.4, Red Hat Linux 7.3
> > >
> > > i just can't seem to make Tomcat recognize the
> > > JCA-JDBC driver
> > >
> > > with the settings
> > >
> > > db URL:
> > >
> >
> jdbc:firebirdsql:192.168.0.2/3050:/opt/interbase/examples/employee.gdb
> > > driver: org.firebirdsql.jdbc.FBDriver
> > >
> > > unfortunately it seems that tomcat couldn't find
> > the
> > > said driver...
> > >
> > > any advice would be appreciated.. thanks and more
> > > power to all!!
> > >
> > > pal,
> > > benjohn
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Health - Feel better, live better
> > > http://health.yahoo.com
> > >
> > >
> > > To unsubscribe from this group, send an email to:
> > > ib-support-unsubscribe@egroups.com
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> > >
> > >
> > --
> > 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
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
>
>
> To unsubscribe from this group, send an email to:
> ib-support-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
--
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