本文介绍了如何安装java类Coldfusion 10的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们刚刚在一些新的服务器上部署了CF 10。

We have just deployed CF 10 onto some new servers.

我试图,我们在CF8上没有任何问题。但我不知道CF10中的结构如何。

I'm trying to follow this process, which we had working without any issues on CF8. However I'm not sure how things are structured in CF10.

我们在CF 10中的目录路径显示为

Our directory path in CF 10 appears as

Coldfusion10\
   cfusion
   jre
   ininstall

所有额外的Java类都安装到jre中了?

Do all the additional java classes get installed into jre ?

推荐答案

CF10的唯一区别是是{install root}和{web root}之间的额外目录层。即

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

但是,它不会更改。 Jars可以放在任何地方,只要它们可以被CF服务访问,并且该目录在CF类路径或默认的jvm类路径中。

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.

缺省类路径中的几个目录,CF自动检查,例如 {cf_webroot} \web-inf\lib 。最简单的选择是将它们放在该目录中。然后CF会自动接收它们,不需要使用类路径设置。只要把你的jar放在那个文件夹,重新启动CF服务,你是好去。

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.

这篇关于如何安装java类Coldfusion 10的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 14:35
查看更多