Simplica

ProductsLearnPurchaseSupportDemoDownload
  [Search] Search   [Recent Topics] Recent Topics  
LogConfigurationException when ECruiser is added to my project.
Forum Index -> General
Author Message
tb01923


Joined: 08/09/2007 14:40:04
Messages: 3
Offline

My platform consists of:
  • JSF 1.2,
  • Facelets 1.12,
  • jboss a4j 1.1.0,
  • hibernate 3.2 (annotations and entity mgr)

    We are working at adding Simplica Ecruiser (1.1-beta.patch) I get the following exception. WHen I remove it, everythign works:


    org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.SimpleLog does not implement Log
    at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
    at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
    at org.apache.commons.digester.Digester.<init>(Digester.java:346)
    at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:131)
    at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:216)
    at org.ajax4jsf.framework.resource.ResourceBuilderImpl.<init>(ResourceBuilderImpl.java:120)
    at org.ajax4jsf.framework.resource.InternetResourceBuilder.getInstance(InternetResourceBuilder.java:156)
    at org.ajax4jsf.framework.renderer.RendererBase.getResourceBuilder(RendererBase.java:136)
    at org.ajax4jsf.framework.renderer.RendererBase.getResource(RendererBase.java:131)
    at org.ajax4jsf.renderkit.html.AjaxFormRenderer.<init>(AjaxFormRenderer.java:74)
  • tb01923


    Joined: 08/09/2007 14:40:04
    Messages: 3
    Offline

    For the record, Simplica does include the org.apache.commons.logging inside of the previously mentioned jar.

    tb01923


    Joined: 08/09/2007 14:40:04
    Messages: 3
    Offline

    Further, once removed (commons-logging files) from the JAR the application works fine.

    Please excuse my java ignorance (former MS junkie), but what is the intent of including these files here?

    adina_mihai
    Simplica Team

    Joined: 04/01/2007 00:00:00
    Messages: 189
    Offline

    Your problem seems to be a particular one. It might be caused by following situations:

    [list] Somewhere in the project is a different version of the commons-
    logging files and this mis-match is causing the problem;
    [/list]
    [list] Somewhere else in the project is the same version, but they are being
    loaded by different class loaders and this makes the Log class look like a
    different class to SimpleLog.
    [/list]
    The commons-logging files are used in our source code, so they must be in there in a way or another.
     
    Forum Index -> General
    Go to:   
    Powered by JForum 2.1.7 © JForum Team
    Home   |  News   |  Contact   |  About   |  License   |  Privacy   |  Documentation
    Copyright © 2009 Simplica Corporation. All rights reserved.