1. view,controller in CF and model in Java. All java classes are being called from CFCs.
2. For development I am using CF with inbuilt server on local machine.
3. The production environment is CFMX deployed on Websphere running on UNIX.
On my local machine(we have not deployed any code to the UNIX machine yet) I am not able to set my cf server to recognize class changes without restarting the server.
I did my <reload>TRUE</reload> According to this document.
http://www.macromedia.com/support/coldfusion/ts/documents/tn18228.htm
currently my jrun-web.xml looks liks this
<jrun-web-app>
<reload>TRUE</reload>
<virtual-mapping>
<resource-path>/WEB-INF</resource-path>
<system-path>C:/CFusionMX/wwwroot/WEB-INF</system-path>
</virtual-mapping>
</jrun-web-app>
Whenenver i copy a new jar file into the WEB-INF/lib folder i get a
method not found exception(The selected method XXXXX was not found). When I restart the CF server it works fine.
On searching more on MM I found this.
http://www.macromedia.com/support/jrun/ts/documents/cfmx_helper_reload.htm
>From this document it seems like that only Servlet and JSP helper classes can be reloaded automatically with the above setting.
So that means in my case I have to restart my CF server everytime i change a class file? Correct me if I am wrong.
>From your post I thought you were able to get automatic class reloading to work for Java classes being called from CFM files.
Can you please explain how you got reloading to work in your case.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

