Sunday, April 4, 2010

JAVA Codebase - change default value in...

I have just upgraded our test environment from MX 6.1 to
ColdFusion 8. Environment = Windows 2003 R2 SP2, IIS 6.0, MS Access
DB (I know, I'm working on porting to MS SQL).



My site uses SSL, and it appears that anytime I open a page
that uses a JavaScript, I get the 'This page has secure and
nonsecure . . . ' Windows pop-up. I have checked every link in the
code and have found nothing in my CF code that would create this
message. Everything referred to is within the SSL covered
directories.



I compared the production MX 6.1 source code to the version 8
code, and have come up with the following:

version MX 6.1

%26lt;OBJECT

CLASSID=''clsid:8AD9C840-044E-11D1-B3E9-00805F499D93''

CODEBASE=''/CFIDE/classes/cf-j2re-win.cab'' . . .



version 8

%26lt;object

classid=''clsid:8AD9C840-044E-11D1-B3E9-00805F499D93''

codebase=''
http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0''
. . .



Version 8 has the codebase hardcoded to the sun website (not
a SSL site). This is throwing my error. I modified the
ne-runtime.xml in the \Coldfusion8\lib file, recycled the services
and voila, no more error.



My question is, was this the right thing to do?JAVA Codebase - change default value in...
Libby H wrote:

%26gt;

%26gt; My site uses SSL, and it appears that anytime I open a
page that uses a

%26gt; JavaScript, I get the 'This page has secure and
nonsecure . . . ' Windows

%26gt; pop-up.



%26gt; Version 8 has the codebase hardcoded to the sun website
(not a SSL site).

%26gt; This is throwing my error. I modified the ne-runtime.xml
in the

%26gt; \Coldfusion8\lib file, recycled the services and voila,
no more error.

%26gt;

%26gt; My question is, was this the right thing to do?



If it works it must be right :)



Please don't forget to submit this issue to Adobe so they can
fix it:


http://www.adobe.com/go/wish/



Jochem





--

Jochem van Dieten

Adobe Community Expert for ColdFusion

No comments:

Post a Comment