Forum
Welcome to the MQTT.Cool general forum. Here you can discuss MQTT.Cool's architecture, installation, and configuration.
The MQTT.Cool website will go live soon!
Hi, I tried to install on both platforms, ubuntu and windows and had the same error. Thanks!
Microsoft Windows [Version 10.0.18363.1016]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Users\diego>cd ..
C:\Users>cd ..
C:\>cd mqtt.cool-2.0.0\mqtt.cool\bin\windows
C:\mqtt.cool-2.0.0\mqtt.cool\bin\windows>start.bat
C:\mqtt.cool-2.0.0\mqtt.cool\bin\windows>call mc.bat run
Java environment:
JAVA_HOME = C:\Program Files\Java\jdk-14.0.2\
JAVA_OPTS = -server -XX:MaxGCPauseMillis=1000 -Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize
MQTT.Cool Server directory:
MC_HOME = C:\mqtt.cool-2.0.0\mqtt.cool\bin\windows\..\..\
MQTT.Cool Server main configuration file:
MC_CONFIG = "C:\mqtt.cool-2.0.0\mqtt.cool\bin\windows\..\..\\conf\configuration.xml"
Starting MQTT.Cool Server...
Please check logs for detailed information.
14.Aug.20 09:35:13,816 < INFO> MQTT.Cool 2.0.0 build 541
14.Aug.20 09:35:13,821 < INFO> Server launched on Java Virtual Machine: Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM, 14.0.2+12-46, 14.0.2+12-46 on Windows 10
14.Aug.20 09:35:13,836 < INFO> License correctly bound with the following parameter(s):
14.Aug.20 09:35:13,837 < INFO> Product : LS-MQTT-EXTENDER
14.Aug.20 09:35:13,837 < INFO> Edition : COMMUNITY
14.Aug.20 09:35:13,837 < INFO> License Type : FREE
14.Aug.20 09:35:13,837 < INFO> Contract Id : -
14.Aug.20 09:35:14,148 < INFO> Number of detected cores: 4
14.Aug.20 09:35:14,149 < INFO> MQTT.Cool starting in COMMUNITY edition.
14.Aug.20 09:35:14,314 < INFO> Started RMI server for JMX on port 8990.
14.Aug.20 09:35:14,325 < INFO> Binding of RMI Connector for JMX on port 8990 (communication on port 8990) started...
14.Aug.20 09:35:14,430 < INFO> Binding of RMI Connector for JMX on port 8990 (communication on port 8990) successful.
14.Aug.20 09:35:14,434 < INFO> Test of reachability of the JMX Connector at localhost:8990 started...
14.Aug.20 09:35:14,477 < INFO> Test of reachability of the JMX Connector at localhost:8990 successful.
14.Aug.20 09:35:14,564 < INFO> Binding of RMI Connector for Platform mbeans on port 8990 (communication on port 8990) started...
14.Aug.20 09:35:14,569 < INFO> Binding of RMI Connector for Platform mbeans on port 8990 (communication on port 8990) successful.
14.Aug.20 09:35:14,584 < INFO> SERVER pool size set by default at 1000.
14.Aug.20 09:35:14,585 < INFO> ACCEPT pool size set by default at 4.
14.Aug.20 09:35:14,620 < INFO> Queue limit checks for SERVER pool added to checks for ACCEPT pool.
14.Aug.20 09:35:14,797 <ERROR> XML parsing fatal error: org.xml.sax.SAXParseException; lineNumber: 93; columnNumber: 10; The content of elements must consist of well-formed character data or markup..
14.Aug.20 09:35:14,801 <ERROR> XML parsing fatal error: org.xml.sax.SAXParseException; lineNumber: 93; columnNumber: 10; The content of elements must consist of well-formed character data or markup..
14.Aug.20 09:35:14,802 <ERROR> Unable to read configuration file.: org.xml.sax.SAXParseException; lineNumber: 93; columnNumber: 10; The content of elements must consist of well-formed character data or markup..
14.Aug.20 09:35:14,804 <ERROR> Error while loading the Adapters: ConfigurationException: The content of elements must consist of well-formed character data or markup..
14.Aug.20 09:35:14,806 <ERROR> Error while loading the Adapters: The content of elements must consist of well-formed character data or markup..
14.Aug.20 09:35:14,807 <FATAL> Adapters initialization failed.
Press any key to continue . . .
C:\mqtt.cool-2.0.0\mqtt.cool\bin\windows>
Hi dominous,
thank you very much for trying mqtt.cool!
I guess you modified the brokers_configuration.xml file, probably introducing a typo or something similar which makes the file no more XML compliant.
Could you please send us the file to verify if my hypothesis is correct?
Regards,
Gianluca
Hi dominous,
please check the following parameters:
<--
<param name="mosquitto.username">diex</param>
-->
<--
They are not well-formatted as commented blocs. Please update as follows:
<!--
<param name="mosquitto.username">diex</param>
-->
<param name="mosquitto.password">password$$</param>
Let us know.
Best,
Gianluca
Thanks, now is working. I will use my own mqtt server, so i thought my broker config has to be put in this side.
I will follow testing
Great !
Great @dominous,
please keep us up to date with your progress.
May I ask you to share with us a little description of your use case? It would be highly appreciated!
Best,
Gianluca
Yes, of course
My idea is to integrate a chat inside an open source software called home assistant https://www.home-assistant.io/
In place of use a standards chat like whatsapp or telegram, i,'ll use a private chat like mqtt cool.
This chat inclusive should work without internet, only on LAN and could be integrated directly in a chrome web browser
Is that possible?
Regards
Very interesting use case!
Here you can find a chat demo using mqtt.cool (probably you are already aware of it).
Consider that mqtt.cool has been designed exactly to act as a web gateway, either on the internet or in a private cloud, for any mqtt broker of your choice, therefore your idea fits perfectly.
Please let us know how we could help you with this scenario.
Gianluca