Macromedia has created a hot fix to address a problem with ColdFusion MX 6.1 Updater in the server configuration (which uses an internal version of JRun 4) or the J2EE configuration running on JRun. If a request is sent to ColdFusion MX before the ColdFusion application is fully loaded and running, ColdFusion will not serve requests.

Users will get a 500 error in the browser, saying "there is no web application to serve your request". The ColdFusion log file will display the following error:

08/26 18:07:34 error java.lang.NoClassDefFoundError at coldfusion.CfmServlet.getFilterChain(CfmServlet.java:59) at coldfusion.CfmServlet.service(CfmServlet.java:101) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at jrun.servlet.http.WebService.invokeRunnable(WebService.java:168) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

The ColdFusion MX 6.1 Updater is built on top of JRun 4 Updater 3. This problem exists for JRun installations in the J2EE configuration using ColdFusion or on any JRun 4 installation built on the Updater 3 codebase.

This has been identified as issue 55681. A hot fix is provided in this TechNote to address the issue. This problem has also been fixed in JRun 4 Updater 4. If you have Updater 4 or higher applied, you do not need this hot fix.

Note: If this hot fix has been installed on a JRun installation, it should be removed before installing JRun 4 Updater 6.

Update: The hot fix in this TechNote has been updated as of 10/19/04. The original version of the hot fix (dated 9/2/04) would prevent JRun from deploying applications if the<reload> and <compile> options in the jrun-web.xml file were set to false. The deployment issue did not occur if the options were set to true.

ColdFusion MX 6.1 - Server Configuration ColdFusion MX 6.1 - J2EE Configuration with JRun

Follow the instructions below to install the hot fix for ColdFusion MX 6.1 in the server configuration, as well as for ColdFusion MX 6.1 J2EE configuration with JRun. This hot fix does not apply to J2EE servers other than JRun.

Windows

  1. Download the hot fix (16K).

  2. Stop ColdFusion.
  3. Server Configuration only: Create the directory cf_root\runtime\servers\lib if it does not exist. This step is not necessary for J2EE Configuration with JRun.
  4. Extract hf55681_611.jar from the downloaded ZIP file, into the following directory:

    Server Configuration:cf_root\runtime\servers\lib\

    J2EE Configuration with JRun:jrun_root\servers\lib
  5. Restart ColdFusion.
  6. Examine the ColdFusion MX Administrator System Information page and confirm that hf55681_611.jar shows in the Java Class Path list.

Unix

  1. Download the hot fix (16K).

  2. Stop ColdFusion.
  3. Server Configuration only: Create the directory cf_root/runtime/servers/lib if it does not exist. This step is not necessary for J2EE Configuration with JRun.
  4. Extract hf55681_611.jar from the downloaded ZIP file, into the following directory:

    Server Configuration:cf_root/runtime/servers/lib/

    J2EE Configuration with JRun:jrun_root/servers/lib
  5. Server Configuration only: Edit the filecf_root/runtime/bin/jvm.config:

    1. Locate the JVM classpath section.
    2. Add {application.home}/runtime/servers/lib as the first entry in the java.class.path list.



      For example:
      # JVM classpath java.class.path={application.home}/runtime/servers/lib, {application.home}/runtime/../../src, {application.home}/lib/cfusion.jar, {application.home}/runtime/lib/webservices.jar
      J2EE Configuration with JRun only: Verify that{application.home}/servers/lib is the first entry in the java.class.path list injrun_root/bin/jvm.config.
  6. Restart ColdFusion.
  7. Examine the ColdFusion MX Administrator System Information page and confirm that hf55681_611.jar shows in the Java Class Path list.

Additional Information

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy