Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-83

Log4j Error when installing features

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • fuse-esb-7.0.0
    • 7.0.0.fuse-037
    • None
    • None
    • % %

      The follow error is displayed to the karaf console upon installing/uninstalling a feature:

      log4j:ERROR A "org.apache.log4j.RollingFileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
      log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
      log4j:ERROR [org.apache.felix.framework.BundleWiringImpl@7efa302c] whereas object of type 
      log4j:ERROR "org.apache.log4j.RollingFileAppender" was loaded by [org.apache.felix.framework.BundleWiringImpl@e1bdb58].
      log4j:ERROR Could not instantiate appender named "out".
      log4j:ERROR A "org.apache.log4j.OsgiThrowableRenderer" object is not assignable to a "org.apache.log4j.spi.ThrowableRenderer" variable.
      log4j:ERROR The class "org.apache.log4j.spi.ThrowableRenderer" was loaded by 
      log4j:ERROR [org.apache.felix.framework.BundleWiringImpl@7efa302c] whereas object of type 
      log4j:ERROR "org.apache.log4j.OsgiThrowableRenderer" was loaded by [org.apache.felix.framework.BundleWiringImpl@e1bdb58].
      log4j:ERROR Could not instantiate throwableRenderer.
      FuseESB:karaf@root> 
      

      To recreate try installing and uninstalling the camel-jpa feature serveral times. This usually occurs on the third install.

      features:install camel-jpa
      
      features:uninstall camel-jpa
      

            Unassigned Unassigned
            rhn-support-jsherman Jason Sherman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: