• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Using JDBCAppender for older versions of JDK

Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear friends

Need help with logging logs into database using JDK 1.1.8. Please read through my .java and properties file attached below. Also please note this application works well with JDK 1.5.

I get runtime error while parsing the properties file (just before commencing parsing for database appender part), saying "Can't find class TestJDBCLogging"

I've also tried setting classpath to C:\log4j\HelloWorld inside System Environment Variables...but no luck. Moreover I've tried using various versions of log4j jars starting from ver. 1.2.1 to 1.2.7 but still same situation...however, using ver 1.2.7 onwards gives compile-time errors on JDK 1.1.8.

Directory structure ->

Location of .java, .class and properties file -

Location of library jar files (log4j-1.2.7 and jdbc driver etc) -

Looking forward to your replies...

Ravi Singh
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic