#352 Nhaystack on a 3.4 Niagara AX system

Balazs Horanyi Mon 14 Dec 2015

I am trying to install the 1.2.3 nhaystack module on a 3.4 Niagara AX system. I am going back that far because it does not require the concurrent.jar file, which does not seem to exist until 3.5. However it seems that even the oldest version of nhaystack requires version 3.5. Has anyone managed to install nhaystack on a 3.4 system?

Mike Jarmy Mon 14 Dec 2015

It is true that the standard release of NHaystack requires at least AX 3.5, primarily because of concurrent.jar (there may be other 3.5 specific requirements, but I can't remember any more what they might be).

3.4 is a pretty ancient version of AX at this point. By far the simplest route is to just upgrade. If you can't upgrade from 3.4, then your best bet is to do one of the following:

  • Modify the nhaystack source code so that it uses synchronized java.util.HashMaps, rather than instances of java.util.concurrent.ConcurrentHashMap
  • Figure out a way to incorporate backport-util-concurrent as an AX module in 3.4, that would take the place of concurrent.jar (which is in fact just a module created from Doug Lea's original concurrent backport)

Both of these potential fixes would require that you or someone in your group do some AX Java development.

Login or Signup to reply.