#306 Error updating nHaystack on Tridium 3.5

Jerry Weatherhogg Wed 22 Jul 2015

After replacing the nhaystack.jar file in the module folder of the Tridium machine, we receive this error upon starting up the Tridium machine:

MESSAGE [15:55:27 22-Jul-15 PDT][sys.registry] Up-to-date [47ms] MESSAGE [15:55:27 22-Jul-15 PDT][sys.registry] Loaded [188ms] MESSAGE [15:55:27 22-Jul-15 PDT][sys] Baja runtime booted ("e:\niagara\niagara-3.5.39") MESSAGE [15:55:27 22-Jul-15 PDT][sys] Loading "e:\niagara\niagara-3.5.39\stations\server\config.bog"... ERROR [15:55:28 22-Jul-15 PDT][sys] Cannot load station javax.baja.xml.XException: Cannot load module 'nh=nhaystack' [1541:78]

at javax.baja.io.BogDecoder.err(BogDecoder.java:555)
at javax.baja.io.BogDecoder$TypeResolver.loadModule(BogDecoder.java:631)
at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java:335)
at javax.baja.io.BogDecoder.parseSlots(BogDecoder.java:275)
at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java:451)
at javax.baja.io.BogDecoder.parseSlots(BogDecoder.java:275)
at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java:451)
at javax.baja.io.BogDecoder.decode(BogDecoder.java:203)
at javax.baja.io.BogDecoder.decodeDocument(BogDecoder.java:178)
at javax.baja.io.BogDecoder.decodeDocument(BogDecoder.java:152)
at com.tridium.sys.station.Station.loadStation(Station.java:102)
at com.tridium.sys.station.Station.bootStation(Station.java:71)
at com.tridium.sys.station.Station.main(Station.java:807)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.tridium.sys.Nre.runClass(Nre.java:201)
at com.tridium.sys.Nre.main(Nre.java:126)
javax.baja.sys.ModuleException: Cannot resolve dependency concurrent-Tridium-3.5 for nhaystack-Project Haystack-1.2.4
   at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java:277)
   at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java:121)
   at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java:402)
   at java.security.AccessController.doPrivileged(Native Method)
   at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java:390)
   at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java:104)
   at javax.baja.io.BogDecoder$TypeResolver.loadModule(BogDecoder.java:626)
   at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java:335)
   at javax.baja.io.BogDecoder.parseSlots(BogDecoder.java:275)
   at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java:451)
   at javax.baja.io.BogDecoder.parseSlots(BogDecoder.java:275)
   at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java:451)
   at javax.baja.io.BogDecoder.decode(BogDecoder.java:203)
   at javax.baja.io.BogDecoder.decodeDocument(BogDecoder.java:178)
   at javax.baja.io.BogDecoder.decodeDocument(BogDecoder.java:152)
   at com.tridium.sys.station.Station.loadStation(Station.java:102)
   at com.tridium.sys.station.Station.bootStation(Station.java:71)
   at com.tridium.sys.station.Station.main(Station.java:807)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  javax.baja.sys.ModuleNotFoundException: concurrent
     at com.tridium.sys.module.ModuleManager.find(ModuleManager.java:197)
     at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java:114)
     at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java:402)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java:390)
     at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java:104)
     at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java:271)
     at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java:121)
     at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java:402)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java:390)
     at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java:104)
     at javax.baja.io.BogDecoder$TypeResolver.loadModule(BogDecoder.java:626)
     at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java:335)
     at javax.baja.io.BogDecoder.parseSlots(BogDecoder.java:275)
     at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java:451)
     at javax.baja.io.BogDecoder.parseSlots(BogDecoder.java:275)
     at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java:451)
     at javax.baja.io.BogDecoder.decode(BogDecoder.java:203)

App Failed00

Are we missing any steps in the nHhaystack driver update process? Do we need to perform the Install Platform Daemon process to complete the driver upgrade?

Jerry

Mike Jarmy Thu 23 Jul 2015

There is a module called concurrent.jar that needs to be loaded onto the jace. NHaystack is dependent on that module, which is usually present, but occasionally is not.

You should be able to just install it from your workbench AX instance.

Jerry Weatherhogg Thu 23 Jul 2015

Thanks Mike. Do you know where I can get my hands on this concurrent.jar file?

Alper Üzmezler Thu 23 Jul 2015

3.8 has it. I did it the other day.

Mike Jarmy Thu 23 Jul 2015

I'm pretty sure 3.5 has it as well. Let me know if it doesn't! Obviously I'll have to rethink my use of it if you can't get this working in 3.5.

Jerry Weatherhogg Fri 24 Jul 2015

OK, I found and copied over the concurrent.jar file from AX 3.7 to 3.5, and both nHaystack and concurrent jar files seems to install and run fine. I was able to successfully rebuild the Haystack cache and see the Haystack points in SkySpark. However, I had to leave the customer site before the histories for all the SkySpark points were synced.

I'll let you know if any issues popped up with the hisSync, but all indications are this issue is resolved. Thanks for both of your help.

Jerry

vatsal verma Fri 11 Aug 2017

Hi Alper , jerry and mike

I would like to jump in this thread and ask for recommendations .

We are trying to deploy nhaystack on a jace running 3.5 version , and it dint have concurrent.jar file .

Do we need to commmission it in the jace before we deploy this ?

Login or Signup to reply.