Adding Efflare’s 64bit Java ImageCR3 CFX to Lucee - solved

As much a this community has a disdain for CFX add ins :slight_smile: I am attempting to add a java CFX to lucee without much success.

I have the Java version of Efflare’s ImageCR3 that I have successfully added to ACF version 11 and am now trying to add it to a Lucee installation.

The Instructions for ACF are:

  • Register a Java CFX tag with the tag name “cfx_imagecr3”, and class name “ImageCR3”.
  • Add the absolute path to imagecr3.jar, in the installation directory, to your “ColdFusion Class Path” path in the CF Administrator. You will find this under “Server Settings”, then “Java and JVM”
  • Restart Coldfusion as directed.
  • Start the “Efflare ImageCR 3 Service”.

Adding CFX tags to Lucee is apparently different and I am confused. How would I add the absolute Class Path so that Lucee can find the imagecr3.jar?

As I said, and I have seen others post, I needed to use Efflare’s 64bit Java version of the ImageCR3 CFX with my configuration. (I know there is an image tag, but it would require rewriting 90+ apps we have developed)

I am not “Java guy” and have a passing familiarity with Tomcat but after much googling and reading I found that all I needed to do to get Tomcat to see the class path was to install the ImageCR3 as specified in it’s installer and then add the following line to the setenv.sh file in the tomcat \bin folder.

CLASSPATH="C:\Program Files (x86)\Efflare\ImageCR3Service\imagecr3.jar"

Once I restated Tomcat/Lucee I could add the CFX name and class to the Lucee server and it works like a charm!

I will leave this here just in case others are looking to do the same.

3 Likes

I’m new to Lucee (Lucee 5.3.8.201) and I’m also trying to install ImageCR3. I tried adding the classpath to the file suggested, and I even tried adding the path to the Tomcat Service controller under the Java tab. After each attempt, I restarted Lucee and tried to add the CFX tag and each time I did that I received this as an error “com/allaire/cfx/CustomTag” with no additional explanation. Can anyone explain what this error message is supposed to tell you?

Lucee CFX Settings