I found the solution to this problem. The CF 9.0.2 install on this new server
failed to write the java.library.path correctly in the jvm.config. It was
written like this:
java.library.path={application.home}/../lib
I had to change that to this:
java.library.path={application.home}/../lib,{application.home}/../jintegra/bin,{application.home}/../jintegra/bin/international,{application.home}/../lib/oosdk/classes/win
I discovered that this was the problem when I looked in the exception log file,
which had this entry:
Error","jrpp-5","02/22/14","22:15:40","wizard","no ntvinv in java.library.path
Why CF 9.0.2 didn't write the java.library.path correct is beyond me; but
hopefully this will help someone else out it they encounter the same problem.
Thanks,
Michael
-----Original Message-----
From: Patti, Michael
Sent: Saturday, February 22, 2014 8:02 PM
To: cf-talk
Subject: COM object problem on fresh CF 9 server
Hi,
I've just set up a new server running CF 9.0.2 standard. I'm getting the
following error message when trying to instantiate a COM object:
-----
An exception occurred when instantiating a COM object.
The cause of this exception was that: java.lang.RuntimeException: Can not use
native code: Initialisation failed.
----
I've registered the DLLs Coldfusion is unable to access using regsvr32, and
Windows reported that it was able to register all these DLLs without problems.
When I googled that error message, I found this post:
http://forums.adobe.com/thread/1019324, but, my server is 32-bit Windows 2003
Server R2, with SP1. The JVM is 1.7.0.51, and Coldfusion is 9.02 Standard
edition. So, this isn't a 32-bit/64-bit incompatibility issue, which makes it
more of a mystery (for me, anyway).
I built this server according to the best practices outlined in the Coldfusion
9 Lockdown guide, and I'm wondering whether it's having trouble instantiating
the COM objects because the cfusion user doesn't have the proper permissions
needed to do so. The sites are being served up from a directory under a
secondary drive (f:), but I've tried moving one of the sites to
C:\InetPub\wwwroot to see if it would correct the problem, but it did not.
Any help on this would be appreciated.
Thanks,
Michael
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357730
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm