Re: invalid console appender config...

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed May 21 2003 - 10:28:41 EDT

  • Next message: Brad Messerle: "Newbie Developemnt Setup Question."

    > Configuration.bootstrapSharedConfiguration(this.getClass());
    > Configuration c = Configuration.getSharedConfiguration();
    > DataContext dataContext = c.getDomain().createDataContext();

    Ok, so this configuration file is coming from cayenne.jar and container is
    unhappy about it. To suppress its loading, try adding one extra line to
    the code above:

     Configuration.bootstrapSharedConfiguration(this.getClass());

     // ADD THIS LINE
     Configuration.configureCommonLogging(null);

     Configuration c = Configuration.getSharedConfiguration();
     DataContext dataContext = c.getDomain().createDataContext();

    Andrus



    This archive was generated by hypermail 2.0.0 : Wed May 21 2003 - 10:28:43 EDT