You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using sbt/ Play Framework
Running a heartbeat function as its own thread works when the code is compiled into .class files.
When packaged for distribution, the jzmq.dll file fails on the launch of the heartbeat thread.
Using the -Xcheck:jni option on Java, the error is this:
FATAL ERROR in native method: Static field ID passed to JNI
at org.zeromq.ZMQ$Socket.construct(Native Method)
at org.zeromq.ZMQ$Socket.(ZMQ.java:1359)
at org.zeromq.ZMQ$Context.socket(ZMQ.java:363)
at org.zeromq.ZContext.createSocket(ZContext.java:90)
at module.JzmqHeartbeat.monitorHeartbeat(JzmqHeartbeat.java:59)
at module.JzmqHeartbeat.run(JzmqHeartbeat.java:82)
at java.lang.Thread.run(Thread.java:748)
I can provide core dump or log files as needed and would be happy to work on a solution. This is halting progress on a necessary project for me.
The text was updated successfully, but these errors were encountered:
Additional information:
Running on Windows Server 2012 this problem happened when the JZMQ Visual Studio project was built for an earlier version of the Visual C++ Redistributable Library -- updating to the version requiring The C++ 2015 redistributable made it go away.
Running on Windows Server 2016 on Amazon AWS with the newer version results in this issue.
Using sbt/ Play Framework
Running a heartbeat function as its own thread works when the code is compiled into .class files.
When packaged for distribution, the jzmq.dll file fails on the launch of the heartbeat thread.
Using the -Xcheck:jni option on Java, the error is this:
FATAL ERROR in native method: Static field ID passed to JNI
at org.zeromq.ZMQ$Socket.construct(Native Method)
at org.zeromq.ZMQ$Socket.(ZMQ.java:1359)
at org.zeromq.ZMQ$Context.socket(ZMQ.java:363)
at org.zeromq.ZContext.createSocket(ZContext.java:90)
at module.JzmqHeartbeat.monitorHeartbeat(JzmqHeartbeat.java:59)
at module.JzmqHeartbeat.run(JzmqHeartbeat.java:82)
at java.lang.Thread.run(Thread.java:748)
I can provide core dump or log files as needed and would be happy to work on a solution. This is halting progress on a necessary project for me.
The text was updated successfully, but these errors were encountered: