Please be advised that this website is now read-only and will be shut down soon.
      Please use, going forward.
More...If you are searching in Tracker for old issues created through bugbase, you can search by the <project_key>-<old bugbase number>.
<project_key> is mapped as:
ColdFusion         : CF     
ColdFusion Builder : CFB    
Framemaker         : FRMAKER
RoboHelp           : RH     
Adobe AIR          : AIR    
Adobe Flash Player : FP     

ColdFusion 10.0  -  Bug 3776450

Created on Monday, June 16, 2014

Login for more options


reloadOnChange causes issue with classPath


Given that you are using javaSettings to load in JARs, if you use reloadOnChange=true, CF will not correctly update the classpath and load all the JARs. Credit for this find goes to Sandeep Paliwal. To correct this you will need to restart CF. (And obviously set reloadOnChange to false.)

Test Configuration

My Hardware and Environment details:

App Language(s) English
OS Language(s) English
Platform(s) Platforms All

Notes (4)

  • Aaron Neff

    1:23:44 AM GMT+00:00 Nov 20, 2015

    Also, I noticed reloadOnChange treats newly-added .class and .jar files differently. When adding additional .class files, they are picked-up w/o restarting the server or application. When adding additional .jar files, they are not picked-up until the application or server has restarted.

    Is it possible for reloadOnChange to not require an application restart in the case of additional .jars?


  • Aaron Neff

    1:20:42 AM GMT+00:00 Nov 20, 2015

    Hi Sandeep and Ray,

    For me, CF11 Update 4 (build 11,0,04,293328) correctly reloads all the JARs after I update 1 or more of them. Example steps:

    1) THIS.javaSettings = {loadPaths=[expandPath("./mylib")], loadColdFusionClassPath=false, reloadOnChange=true, watchInterval=5}
    2) ./mylib contains HelloWorld.jar and WorldHello.jar. HelloWorld.jar contains hello() method that returns "Hello World". WorldHello.jar contains hello() method that returns "World Hello".
    3) calling both hello() methods returns the correct strings
    4) I update both hello() methods to return "Hello World 2" and "World Hello 2" respectively, then recompile both and place the updated .jar files in ./mylib
    5) calling both hello() methods returns the correct/updated strings

    From the ticket's description, I thought one of the JAR files would not get reloaded after step #4. Could I please get more details on how to reproduce the issue?


  • Peter Boughton

    4:17:50 AM GMT+00:00 Aug 30, 2015

    It seems likely that the changes made for this issue are what caused bug 3956389.

  • CFwatson User

    6:55:51 AM GMT+00:00 Feb 20, 2015

    The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5

Duplicate ID
Reported By Raymond Camden


State Closed
Status Fixed


Priority 1-Low
Frequency Some users will encounter
Failure Type Incorrectly Functioning
Product Area Java Integration


Found In Build Final
Fixed In Build CF11 Update5

Attachments (0)

No Files Attached

Votes (1)

  • Ryan Guill

    5:53:02 AM GMT+00:00 Jun 16, 2014

    reloadOnChange is major when developing java classes.

Your session has expired! Click to login
Current form data will be preserved