Hi there

I am currently migrating from CFMX 6.1 to CFMX 7 and I am having an issue with
accessing external java files from within coldfusion even though I believe they
are in the classpath and the jar file has been copied over to the
CFusionMX7/lib directory.

The error is: Object Instantiation Exception

The call in question from the code is :

OJB = CreateObject("Java", "org.apache.ojb.odmg.OJB");

I have the following jar file in the CFusionMX7/lib directory:
C:\CFusionMX7\lib\db-ojb-1.0.rc6.jar and it contains the class
org.apache.ojb.odmg.OJB.class.

This worked fine in CFMX 6.1 so can anyone tell me what am I missing?

Cheers,
Ciaran

PS Already tried restart of service :)