FarcrySolrPro & Lucee 5.3

#1

Hi,
Is anyone using this plugin (v1.5) with Lucee 5.3? (Linux, Java 1.8.0_92-b14,Lucee 5.3.2.77)
The error thrown is not overly informative. I’ve tried it with the lucee lecene plugin installed and not, in case it made a difference.

The error is thrown on this line of cfsolrlib.cfc,

THIS.solrUpdateServer = THIS.javaLoaderInstance.create("org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer").init(THIS.solrURL,THIS.queueSize,THIS.threadCount);

#2

We’re not using Lucee 5.3 in production yet so I haven’t run into this issue. It sounds like they might have upgraded a JAR file relating to Apache commons that the plugin needs but can’t find, or perhaps the JARs are totally missing for some other reason?

Also as an FYI, JavaLoader relies on CORBA which is deprecated in Java 9 and beyond. I’m not sure if farcrysolrpro will handle that or whether the plugin would need changes to load the JARs / create the Java objects differently.

In the p740 branch (upcoming FarCry Core 7.4) I’ve removed JavaLoader and made some changes to support a /jars folder inside each plugin/project so that FarCry Core will automatically configure the application to make those JARs available using createObject("java"...). This is still “beta” but it seems to work great in local testing.

1 Like
#3

Hi Justin,
Thanks for that. I just decided to test out 5.3 again today because a few bug had been ironed out at the lucee end (one is the tag mapping issue I’ve been getting with 5.2).

Also, I’ve found that the image form tool has a few issues with 5.3 as well.

So for now I’ll stick with 5.2 :slight_smile:

Cheers Phil

1 Like
#4

No worries :slight_smile:

Ahhh I haven’t seen the image formtool issues yet either, I’ll have to test…

#5

I haven’t tried it on Lucee 5.3 yet. If you find a solution please let us know so we can update the plugin accordingly (or at least not the incompatibility).