MrSoloDolo
MrSoloDolo

Reputation: 406

Not able to start hivemq server on a remote server?

I have made two servers one is dummy test server and other is where my django project is running. I am able to run hivemq server on my dummy server but it is throwing a error while i try to run it on my project server.

    java.lang.ExceptionInInitializerError: null
at org.jgroups.logging.LogFactory.getLog(Unknown Source)
at org.jgroups.blocks.MessageDispatcher.<init>(Unknown Source)
at b.a.a(Unknown Source)
at com.hivemq.HiveMQEnterpriseServer.b(Unknown Source)
at com.hivemq.HiveMQEnterpriseServer.a(Unknown Source)
at com.hivemq.HiveMQEnterpriseServer.main(Unknown Source)
    Caused by: java.lang.NullPointerException: null
at java.base/java.util.Locale.<init>(Locale.java:713)
at java.base/java.util.Locale.<init>(Locale.java:742)
at org.jgroups.logging.Slf4jLogImpl.<clinit>(Unknown Source)
... 6 common frames omitted

Upvotes: 1

Views: 228

Answers (1)

A-Imal
A-Imal

Reputation: 71

This error is thrown by jGroups which expects from the system in which it is running that the environment variable LOCALE is set.

By adding LOCALE with the value "C.UTF-8" to the environment variables you can fix this easily.

Best regards,

Abdullah from The HiveMQ Team

Upvotes: 5

Related Questions