0 Replies Latest reply on Apr 16, 2008 10:57 AM by m.jain

    CFMX on JRun4 server - common-logging error

      Hi All,

      I have CFMX 7.0 installed on J2EE Application server. I am using JRun4 as my application server.

      I am trying to create a CFX tag which uses Logging using the commons-logging. When I deploy and register my class and run it. I get this message:

      04/16 13:21:24 error
      [1]org.apache.commons.logging.LogConfigurationException: java.lang.ClassCastException
      at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558)
      at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:345)
      at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
      at org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:76)
      at org.apache.axis.AxisFault.<clinit>(AxisFault.java:95)

      I know the problem is due to incompatible of jar file. I have only one copy of commons-logging.jar file. I have removed from cfforms/jars folder.

      I have tried getting different version of axis and commons-logging jar file; still out of luck. Can someone help me?


      Does any one know what is difference between CF classpath and Java classpath? I see webservices.jar file in JRun4\lib which has axis, logging related file within it. Does webservices create any problem for the logging file to load?