Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default JAR File Reloading

    We're running CFMX 6.1 on top of JRun and making use of a lot of Java
    classes. The classes are packaged in JAR files in the /WEB-INF/lib
    directory.

    Dropping an updated jar file in the lib directory causes in memory
    instances of the classes in the jar file to not work. For instance, the
    Java class com.uhlig.Job is defined in uhlig.jar. An instance of Job is
    created and stored in the application scope. Then a new version of
    uhlig.jar is copied over the old in the lib directory. Now the instance
    of Job previously created will throw an exception trying to use it
    (usually a 'selected method was not found').

    Finally the question... Does anyone know how to get CFMX/JRun to ignore
    the new jar file? Setting <reload>false</reload> under the
    <jrun-web-app> in jrun-web.xml does not seem to be doing the trick.

    Thanks.

    bennycigs Guest

  2. Similar Questions and Discussions

    1. Reloading CS3
      Can anyone Help We had to buy a new computer today, we purchased CS3 online a while ago, I need to reinstall it. How do I re download it ...
    2. Java classpath not reloading new class file
      I set up a classpath in the Administration page to a directory that contains all my .class files. I can access the methods through Coldfusion...
    3. Reloading
      Hi everyone, I am making an application which loades a HTML page, does anybody have any idea how we can make sure in VB.NET that a HTML page is...
    4. How do I stop something reloading? - PLEASE HELP.
      I have got a huge problem with a Flash element that I've placed inside an HTML page. The problem that I'm having is that I've created a scroll pane...
    5. Send data to Flash from a page without reloading the flash file
      The title tells the most, I want to send like, "hello" to a flashfile from a html page(the flash file is on the site) without having to reload the...
  3. #2

    Default JAR File Reloading

    We're running CFMX 6.1 on top of JRun and making use of a lot of Java
    classes. The classes are packaged in JAR files in the /WEB-INF/lib
    directory.

    Dropping an updated jar file in the lib directory causes in memory
    instances of the classes in the jar file to not work. For instance, the
    Java class com.uhlig.Job is defined in uhlig.jar. An instance of Job is
    created and stored in the application scope. Then a new version of
    uhlig.jar is copied over the old in the lib directory. Now the instance
    of Job previously created will throw an exception trying to use it
    (usually a 'selected method was not found').

    Finally the question... Does anyone know how to get CFMX/JRun to ignore
    the new jar file? Setting <reload>false</reload> under the
    <jrun-web-app> in jrun-web.xml does not seem to be doing the trick.

    Thanks.

    bennycigs Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139