I have a Spring java app with Paho MQTT v3 connecting ActiveMQ. The app is working well out of eclipse and started via java -jar and also