logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorbjørn Ravn Andersen <thunderax...@gmail.com>
Subject Re: Error while loading OracleDriver
Date Wed, 19 Nov 2008 13:47:06 GMT
manish_goyal skrev  den 19-11-2008 12:11:
> Hi,
> I am sending message to JMS queue using java application. From there i am
> using log4j.properties file for logging message to File and Database. I have
> added ojdbc.jar and JDBCAppender.jar file in dependency.
> I am able to log in to file, but for DataBase i am getting following error:-
> log4j:ERROR Failed to load driver
> java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Is the Oracle JDBC driver available in the classpath for the class 
trying to log using JDBCAppender?

  Thorbjørn Ravn Andersen  "...plus... Tubular Bells!"

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message