Hi folks. I'm trying to run the 5.2 release on two fresh Oracle Linux 8 machines. Tha dabatase is MariaDb. Here's what I've got:
Exception in thread "main" java.lang.RuntimeException: io.netty.channel.StacklessClosedChannelException
	at org.traccar.Main.run(Main.java:148)
	at org.traccar.Main.main(Main.java:112)
Caused by: io.netty.channel.StacklessClosedChannelException
	at io.netty.channel.AbstractChannel$AbstractUnsafe.ensureOpen(ChannelPromise)(Unknown Source)
My config:
    <entry key='database.driver'>com.mysql.cj.jdbc.Driver</entry>
    <entry key='database.url'>jdbc:mysql://XXX/traccar?serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false&allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</entry>
    <entry key='database.user'>traccar</entry>
    <entry key='database.password'>XXX</entry>
Any ideas?
There's no line 148 in Main.java. Are you sure you're using an official release?
Also check logs.
Sorry, looked at the old version. There's line 148, but you need to check logs for a more relevant error.
My bad! It was just a connection issue, wrong network security groups. God save the logs!
Thanks Anton!
Hi folks. I'm trying to run the 5.2 release on two fresh Oracle Linux 8 machines. Tha dabatase is MariaDb. Here's what I've got:
My config:
<entry key='database.driver'>com.mysql.cj.jdbc.Driver</entry> <entry key='database.url'>jdbc:mysql://XXX/traccar?serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false&allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</entry> <entry key='database.user'>traccar</entry> <entry key='database.password'>XXX</entry>Any ideas?