CF8/JRE/CFHTTP Question

View: New views
2 Messages — Rating Filter:   Alert me  

CF8/JRE/CFHTTP Question

by Robert Nurse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

I have a question on how ColdFusion 8 and the JRE interact.  I've been having trouble connecting to HTTPS sites via the CFHTTP tag.  In looking at the Unix server CF sits on, I noticed that there are two JRE's installed: one in the JRun directory and one that's in the system path. The results of "whereis java" always points to the version not in the JRun install directory.  Even if I go into /export/jrun4/jre/bin and try "whereis ./java", I don't get the version used by JRun.  So, my question is, does CF actually use the JRE path in the CF Administrator's JVM Details:Java Home or does it use the system path to reach the JRE?  If it uses the system path, it will never use the cacerts keystore containing the certs of the servers to be reached via CFHTTP.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: http://www.houseoffusion.com/groups/CF-Server/message.cfm/messageid:6679
Subscription: http://www.houseoffusion.com/groups/CF-Server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: CF8/JRE/CFHTTP Question

by James Holmes-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It uses the JRE that shows in the JVM details in the Admin.

On Mon, Aug 4, 2008 at 11:23 PM, Robert Nurse <rnurse@...> wrote:
> Hi All,
>
> I have a question on how ColdFusion 8 and the JRE interact.  I've been having trouble connecting to HTTPS sites via the CFHTTP tag.  In looking at the Unix server CF sits on, I noticed that there are two JRE's installed: one in the JRun directory and one that's in the system path. The results of "whereis java" always points to the version not in the JRun install directory.  Even if I go into /export/jrun4/jre/bin and try "whereis ./java", I don't get the version used by JRun.  So, my question is, does CF actually use the JRE path in the CF Administrator's JVM Details:Java Home or does it use the system path to reach the JRE?  If it uses the system path, it will never use the cacerts keystore containing the certs of the servers to be reached via CFHTTP.

--
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: http://www.houseoffusion.com/groups/CF-Server/message.cfm/messageid:6680
Subscription: http://www.houseoffusion.com/groups/CF-Server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10