[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 414
  • Last Modified:

Cold Fusion JVM setup problem

Hi,

I have a CFX tag written in Java, and it seems to work with the test harnesses. However, when moving it to my CF box, i get the following error:

<ERROR_MESSAGE>
Error Diagnostic Information
The JVM library could not be found. Please check if the file specified in the ColdFusion Administrator actually exists.


The error occurred while processing an element with a general identifier of (CFX_DATABASE_LOGIN), occupying document position (1:1) to (1:73) in the template file /home/pms/public_html/cftagtest/UWA_Database_Setup.cfm.

</ERROR_MESSAGE>

In the administrator, the JVM is set to: /usr/java/jdk1.3.1_03/jre/lib/i386/classic/libjvm.so
This file does exist, no there are no typos (i coppied and pasted it from the console to the administrator to make sure i wasnt being dumb... :)

Previously, i tried using hte JVM in /opt/coldfusion/jre/... and got same error.

the machine is a Linux Box Kernel: 2.4.2-2
Cold Fusion Pro version: 4, 5, 1, 0

Any thoughts?

GR
0
googlyralph
Asked:
googlyralph
  • 2
1 Solution
 
jimmy282Commented:
instead of classis , is there any folder called hotspot under your i386 directory.

I dont know about Linux but in windows there are 2 JVm's which come with JDK.

HTH
Jimmy
0
 
googlyralphAuthor Commented:
Jimmy,

dont make a difference, still the same message what ever directory/libjvm.so i point to.

GR.
0
 
bink627Commented:
Make sure the ColdFusion Server "User" has execute rights for the libjvm.so file.
0
 
googlyralphAuthor Commented:
Again, sorry for the delay.

Gr.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now