Results 1 to 3 of 3

Thread: Petclinic Frustration log4j Problems

  1. #1

    Default Petclinic Frustration log4j Problems

    Hey could someone please help me to run this,

    I followed the instructions for running pet clinic from this link

    http://code.google.com/p/impala/wiki/SamplesPetclinic

    I successfully populated the database but my problem is where I'm going wrong with the configurations.

    I checked out from the repository here:

    http://impala.googlecode.com/svn/tru...clinic-sample/

    Then I opened Eclipse and switched to the workspace where I downloaded
    the petclinic-sample.

    Next in Eclipse I chose File->New Project and chose create from existing and I browsed to the petclinic-sample.

    After creating the project there were no errors, then I tried to run the tests as it suggested on the web site:

    "To run the tests from Eclipse, simply run the main class AllTests as a JUnit test, which is in the project petclinic-tests. "

    But when I do this ALL tests fail and I get:

    log4j:WARN No appenders could be found for logger (org.impalaframework.facade.BootstrappingOperation Facade).
    log4j:WARN Please initialize the log4j system properly.

    I've tried to trace this problem and I've been googling but I still don't know how to fix this on my computer, it's been driving me nuts.

    If you follow the steps that I took then I'm sure you'll see the problem that I'm facing right now.

    I'm using Eclipse Galileo with jre6 and I have included log4j-1.2.16.jar on the
    build path too.

    I'd really like to get this working as soon as I can so I can commence my own project, Thanks heaps

  2. #2
    Join Date
    Mar 2010
    Location
    Boston, MA
    Posts
    316

    Default

    Is
    log4j:WARN No appenders could be found for logger (org.impalaframework.facade.BootstrappingOperation Facade).
    log4j:WARN Please initialize the log4j system properly.
    the only warnings you are getting?

    if yes, your log4j has not been initialized correctly. Check out
    http://stackoverflow.com/questions/1...log4j-properly.

    Also just an FYI..you should be able to run the application with that warning..but you wont be able to use log4j for logging.

  3. #3

    Default Thanks

    hey, thanks for that link. I've given up looking at that Impala Version of Pet Clinic because I can't find much Impala documentation. I'm just trying to get the Pet Clinic version from Spring Security working now, just having problems with the configuration as I've also posted to this forum.

    cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •