Ask questions on the official Q&A site at https://ask.datomic.com!
Petrus Theron 2020-10-25T09:28:40.167900Z

Hey guys, I’ve been blocked for two days trying to get Datomic to talk to any non-memory storage on my machine. Any leads on why Datomic works fine for in-memory DB, but can’t connect to my local dev transactor?

➜  datomic-debug clj
Clojure 1.10.1
user=> (require '[datomic.api :as d])
user=&gt; (d/create-database "datomic:<mem://|mem://">)
true ;; in-mem works
user=&gt; (d/create-database "datomic:<dev://|dev://">)
Oct 25, 2020 9:26:42 AM org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnector createConnection
ERROR: AMQ214016: Failed to create netty connection
javax.net.ssl.SSLException: handshake timed out
	at io.netty.handler.ssl.SslHandler.handshake(...)(Unknown Source)

Execution error (ActiveMQNotConnectedException) at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl/createSessionFactory (ServerLocatorImpl.java:787).
AMQ119007: Cannot connect to server(s). Tried with all available servers.
I suspect an incompatibility with my JDK and Datomic’s queuing dependency, but having tried different versions of Clojure, Datomic (Pro and Free), Netty, HornetMQ and different JDKs, I can’t figure out why I can’t connect to or create a DB with :dev storage. What am I doing wrong?

Petrus Theron 2020-10-26T08:55:42.170100Z

Happens when running Datomic Pro 1.0.6202


I recall this being fixed in recent versions of Datomic, i could be wrong