How to install custom Java class for ColdFusion 10

后端 未结 1 1491
既然无缘
既然无缘 2020-12-19 14:30

We have just deployed CF 10 onto some new servers.

I\'m trying to follow this process, which we had working without any issues on CF8. However I\'m not sure how thi

相关标签:
1条回答
  • 2020-12-19 15:20

    The only difference in CF10 is there is an extra directory layer between the {install root} and {web root}. ie

              coldfusion8\wwwroot
              coldfusion10\cfusion\wwwroot 
    

    However, it does not change the rules about class loading. Jars can be placed anywhere, as long as they are accessible to the CF service, and the directory is in CF class path, or the default jvm class path.

    There are several directories in the default class path that CF checks automatically, such as {cf_webroot}\web-inf\lib. The simplest option is to place them in that directory. Then CF will pick them up automatically, no need to muck with the class path settings. Just drop your jars in that folder, restart the CF service, and you are good to go.

    0 讨论(0)
提交回复
热议问题