How to set a custom Java class for ColdFusion 10

We just deployed CF 10 to some new servers.

I am trying to follow this process , which worked for us without any problems with CF8. However, I'm not sure how things are structured in CF10.

Our catalog path in CF 10 is displayed as:

Coldfusion10\ cfusion jre ininstall 

Are all additional Java classes installed in jre ?

+4
source share
1 answer

The only difference in CF10 is the extra directory level between {install root} and {web root}. i.e

  coldfusion8\wwwroot coldfusion10\cfusion\wwwroot 

However, it does not change the rules for loading classes . Boxes can be placed anywhere as long as they are available for the CF service and the directory is in the path of the CF class or the default for the jvm class.

There are several directories in the default class path that CF automatically checks, for example {cf_webroot}\web-inf\lib . The easiest option is to place them in this directory. Then CF will automatically pick them up, no need to guess with the class path settings. Just drop your banks in this folder, restart the CF service, and you will go well.

+5
source

Source: https://habr.com/ru/post/1499284/


All Articles