2 Replies Latest reply on Dec 20, 2006 2:19 PM by binouch

    Integrating Coldfusion (in J2EE configuration mode) with JBo

    zara

      hi,
      i m trying to deploy CF7 as a war in JBoss4.0.3 SP1 on Fedora Core 4.
      But the commons-logging.jar and log4j.jar in both JBoss and CF seem to break the flow.

      During JBoss startup, a message that might need attention is :
      /*
      14:16:42,842 INFO [TomcatDeployer] deploy, ctxPath=/cfusion, warUrl=.../deploy/cfusion.war/
      14:16:48,420 INFO [STDOUT] log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
      14:16:48,423 INFO [STDOUT] log4j:ERROR Could not instantiate appender named "FILE".
      */

      After the startup, on accessing any cfm the error I get is :
      /*
      14:19:12,166 ERROR [[CfmServlet]] Servlet.service() for servlet CfmServlet threw exception
      java.lang.ExceptionInInitializerError
      ......
      ......
      Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
      .......
      */

      I have tried some of these but with no success:
      1. removing the commons-logging.jar and log4j.jar from cfusion.war.
      2. upgrading the above jars in cfusion.war with the ones in JBoss.

      Any help would be appreciated.

      Regards,
      Zara