aliaksandr-s/prototyping-with-clojure

Chapter 3 lein run cannot connect to database

Opened this issue ยท 5 comments

In the middle of Chapter 3, after adding in the changes and right before the section titled Tryin REPL, I could not get lein run to work. I checked out the chapter3/end code, and it does not work there either. The log is below.

I have datomic transactor running in a separate terminal, whose output is:

Launching with Java options -server -Xms1g -Xmx1g -XX:+UseG1GC -XX:MaxGCPauseMillis=50
Starting datomic:free://localhost:4334/<DB-NAME>, storing data in: data ...
System started datomic:free://localhost:4334/<DB-NAME>, storing data in: data

The error message is:

 "Syntax error (ActiveMQNotConnectedException) compiling at (/tmp/form-init16490615075521236541.clj:1:74).\nAMQ119007: Cannot connect to server(s). Tried with all available servers.\n",
 :clojure.main/triage
 {:clojure.error/phase :compile-syntax-check,
  :clojure.error/line 1,
  :clojure.error/column 74,
  :clojure.error/source "form-init16490615075521236541.clj",
  :clojure.error/path "/tmp/form-init16490615075521236541.clj",
  :clojure.error/class
  org.apache.activemq.artemis.api.core.ActiveMQNotConnectedException,
  :clojure.error/cause
  "AMQ119007: Cannot connect to server(s). Tried with all available servers."},
 :clojure.main/trace
 {:via
  [{:type clojure.lang.Compiler$CompilerException,
    :message
    "Syntax error compiling at (/tmp/form-init16490615075521236541.clj:1:74).",
    :data
    {:clojure.error/phase :compile-syntax-check,
     :clojure.error/line 1,
     :clojure.error/column 74,
     :clojure.error/source "/tmp/form-init16490615075521236541.clj"},
    :at [clojure.lang.Compiler load "Compiler.java" 7648]}
   {:type java.lang.RuntimeException,
    :message "could not start [#'visitera.db.core/conn] due to",
    :at [mount.core$up$fn__424 invoke "core.cljc" 80]}
   {:type clojure.lang.ExceptionInfo,
    :message "Error communicating with HOST localhost on PORT 4334",
    :data
    {:alt-host nil,
     :peer-version 2,
     :password "RkjTX3aftEO8RFl+gCYLHBIzj8cIwPUHsARXZSPpFjA=",
     :username "al0LpvhA5hEIUtEiLKHXEf6roRFIwZf2CAruh8t0P3Q=",
     :port 4334,
     :host "localhost",
     :version "0.9.5703.21",
     :timestamp 1572305481502,
     :encrypt-channel true},
    :at
    [datomic.connector$endpoint_error invokeStatic "connector.clj" 53]}
   {:type
    org.apache.activemq.artemis.api.core.ActiveMQNotConnectedException,
    :message
    "AMQ119007: Cannot connect to server(s). Tried with all available servers.",
    :at
    [org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl
     createSessionFactory
     "ServerLocatorImpl.java"
     799]}],
  :trace
  [[org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl
    createSessionFactory
    "ServerLocatorImpl.java"
    799]
   [datomic.artemis_client$create_session_factory
    invokeStatic
    "artemis_client.clj"
    114]
   [datomic.artemis_client$create_session_factory
    invoke
    "artemis_client.clj"
    104]
   [datomic.connector$try_hornet_connect
    invokeStatic
    "connector.clj"
    110]
   [datomic.connector$try_hornet_connect invoke "connector.clj" 95]
   [datomic.connector$create_hornet_factory
    invokeStatic
    "connector.clj"
    142]
   [datomic.connector$create_hornet_factory invoke "connector.clj" 132]
   [datomic.connector$create_transactor_hornet_connector
    invokeStatic
    "connector.clj"
    322]
   [datomic.connector$create_transactor_hornet_connector
    invoke
    "connector.clj"
    317]
   [datomic.connector$create_transactor_hornet_connector
    invokeStatic
    "connector.clj"
    320]
   [datomic.connector$create_transactor_hornet_connector
    invoke
    "connector.clj"
    317]
   [datomic.peer$send_admin_request$fn__8430 invoke "peer.clj" 760]
   [datomic.peer$send_admin_request invokeStatic "peer.clj" 752]
   [datomic.peer$send_admin_request invoke "peer.clj" 750]
   [datomic.peer$create_database invokeStatic "peer.clj" 772]
   [datomic.peer$create_database invoke "peer.clj" 762]
   [datomic.peer$create_database invokeStatic "peer.clj" 764]
   [datomic.peer$create_database invoke "peer.clj" 762]
   [clojure.lang.Var invoke "Var.java" 384]
   [datomic.Peer createDatabase "Peer.java" 117]
   [datomic.api$create_database invokeStatic "api.clj" 19]
   [datomic.api$create_database invoke "api.clj" 17]
   [visitera.db.core$eval31672$fn__31673 invoke "core.clj" 9]
   [mount.core$record_BANG_ invokeStatic "core.cljc" 74]
   [mount.core$record_BANG_ invoke "core.cljc" 73]
   [mount.core$up$fn__424 invoke "core.cljc" 81]
   [mount.core$up invokeStatic "core.cljc" 80]
   [mount.core$up invoke "core.cljc" 78]
   [mount.core$bring invokeStatic "core.cljc" 247]
   [mount.core$bring invoke "core.cljc" 239]
   [mount.core$start invokeStatic "core.cljc" 289]
   [mount.core$start doInvoke "core.cljc" 281]
   [clojure.lang.RestFn invoke "RestFn.java" 397]
   [mount.core$start_with_args invokeStatic "core.cljc" 389]
   [mount.core$start_with_args doInvoke "core.cljc" 385]
   [clojure.lang.RestFn invoke "RestFn.java" 410]
   [visitera.core$start_app invokeStatic "core.clj" 43]
   [visitera.core$start_app invoke "core.clj" 42]
   [visitera.core$_main invokeStatic "core.clj" 52]
   [visitera.core$_main doInvoke "core.clj" 51]
   [clojure.lang.RestFn invoke "RestFn.java" 397]
   [clojure.lang.Var invoke "Var.java" 380]
   [user$eval35026 invokeStatic "form-init16490615075521236541.clj" 1]
   [user$eval35026 invoke "form-init16490615075521236541.clj" 1]
   [clojure.lang.Compiler eval "Compiler.java" 7177]
   [clojure.lang.Compiler eval "Compiler.java" 7167]
   [clojure.lang.Compiler load "Compiler.java" 7636]
   [clojure.lang.Compiler loadFile "Compiler.java" 7574]
   [clojure.main$load_script invokeStatic "main.clj" 475]
   [clojure.main$init_opt invokeStatic "main.clj" 477]
   [clojure.main$init_opt invoke "main.clj" 477]
   [clojure.main$initialize invokeStatic "main.clj" 508]
   [clojure.main$null_opt invokeStatic "main.clj" 542]
   [clojure.main$null_opt invoke "main.clj" 539]
   [clojure.main$main invokeStatic "main.clj" 664]
   [clojure.main$main doInvoke "main.clj" 616]
   [clojure.lang.RestFn applyTo "RestFn.java" 137]
   [clojure.lang.Var applyTo "Var.java" 705]
   [clojure.main main "main.java" 40]],
  :cause
  "AMQ119007: Cannot connect to server(s). Tried with all available servers.",
  :phase :compile-syntax-check}}

I also have a connection issue with the main db. But the connection works if I use the in memory database by uncommenting line 14 in dev-config.edn instead of line 11:

; alternatively, you can use the datomic mem db for development:
; :database-url "datomic:mem://visitera_datomic_dev"

I've had trouble getting the console to work as well (it's thowing a jetty 503 error), but I'm not sure whether the two issues are connected or if that's simply a meatware issue.

Using:
datomic-free-0.9.5703.21
openJDK jdk-13.0.1
Win10

@legendre6891 That's weird, it seems the app has some troubles communicating with datomic. I used version 0.9.5703 but I don't think the different version is the issue. Maybe try to test if you can connect to that port using telnet telnet localhost 4334.

@ciaranbradley The same issue with connection?

@aliaksandr-s Similar, I think.

To my (novice) eye, this looks like a datomic issue with the jdk. There are various references to a netty issue (using reflection).

If I swap out openJDK jdk-13.01 (the latest openjdk) for the Azul compiled zulu8.42.0.23-ca-jdk8.0.232-win_x64 (Java 8 (LTS)) as recommended on the luminus site here: http://www.luminusweb.net/docs allows the connection to work, although datomic complains on start up:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.PlatformDependent0 (file:/D:/Software/datomic-free-0.9.5703/datomic-free-0.9.5703/lib/netty-all-4.0.39.Final.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.PlatformDependent0
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

If I was guessing, reflection was deprecated in Java 8, and perhaps has been removed since. And either something in netty hasn't been updated (or datomic are shipping an older version of netty with their free distribution). Again, novice. So take my assessment with a pinch of salt.

When I downloaded the Azul compiled jdk, and added it to my PATH (above the other open JDK so that it's selected first), opened "lein repl" and issued the (start) command, it appears to work. The data gets pushed to datomic. But the action is noisy, again with netty references in the debug output:

user=> (start)
2019-11-05 22:09:53,712 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG datomic.peer - {:event :peer/transactor-admin-request, :cluster {:protocol :free, :db-name "visitera_dev", :system-root "127.0.0.1:4334", :host "127.0.0.1", :port 4334}, :request :create-database, :arg {:db-name "visitera_dev"}, :phase :begin, :pid 32564, :tid 20}
2019-11-05 22:09:53,732 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG datomic.coordination - {:event :coord/lookup-transactor-endpoint, :phase :begin, :pid 32564, :tid 20}
2019-11-05 22:09:53,734 [clojure-agent-send-off-pool-3] DEBUG datomic.kv-cluster - {:event :kv-cluster/get-ref, :ref-key "pod-coord", :phase :begin, :pid 32564, :tid 18}
2019-11-05 22:09:53,819 [clojure-agent-send-off-pool-3] DEBUG datomic.kv-cluster - {:event :kv-cluster/get-ref, :ref-key "pod-coord", :msec 82.2, :phase :end, :pid 32564, :tid 18}
2019-11-05 22:09:53,820 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG datomic.coordination - {:event :coord/lookup-transactor-endpoint, :msec 87.1, :phase :end, :pid 32564, :tid 20}
2019-11-05 22:09:53,820 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG datomic.connector - {:event :peer/hornet-connect, :host "localhost", :pid 32564, :tid 20}
2019-11-05 22:09:54,129 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging.Slf4jLoggerProvider
2019-11-05 22:09:54,131 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG org.apache.activemq.artemis.logs - using hardware address 68:ffffffec:ffffffc5:ffffffdf:ffffff96:127
2019-11-05 22:09:54,166 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG o.a.a.a.c.c.i.ClientSessionFactoryImpl - Trying reconnection attempt 0/1
2019-11-05 22:09:54,168 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG o.a.a.a.c.c.i.ClientSessionFactoryImpl - Trying to connect with connector = org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnectorFactory@51848cf6, parameters = {"trustStorePath" "datomic/transactor-trust.jks", "trustStorePassword" "transactor", "port" 4334, "sslEnabled" true, "keyStorePath" "datomic/transactor-key.jks", "keyStorePassword" "transactor", "host" "localhost"} connector = null
2019-11-05 22:09:54,193 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.u.i.l.InternalLoggerFactory - Using SLF4J as the default logging framework
2019-11-05 22:09:54,197 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
2019-11-05 22:09:54,198 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
2019-11-05 22:09:54,198 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
2019-11-05 22:09:54,199 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: true
2019-11-05 22:09:54,199 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.PlatformDependent0 - java.nio.DirectByteBuffer.(long, int): available
2019-11-05 22:09:54,201 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG io.netty.util.internal.Cleaner0 - java.nio.ByteBuffer.cleaner(): available
2019-11-05 22:09:54,202 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.PlatformDependent - Platform: Windows
2019-11-05 22:09:54,203 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.PlatformDependent - Java version: 8
2019-11-05 22:09:54,203 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noUnsafe: false
2019-11-05 22:09:54,203 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.PlatformDependent - sun.misc.Unsafe: available
2019-11-05 22:09:54,203 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noJavassist: false
2019-11-05 22:09:54,285 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.PlatformDependent - Javassist: available
2019-11-05 22:09:54,286 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.tmpdir: C:\Users\Ciaran\AppData\Local\Temp (java.io.tmpdir)
2019-11-05 22:09:54,286 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model)
2019-11-05 22:09:54,286 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false
2019-11-05 22:09:54,286 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.PlatformDependent - io.netty.maxDirectMemory: 3801088000 bytes
2019-11-05 22:09:54,290 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple
2019-11-05 22:09:54,290 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.maxRecords: 4
2019-11-05 22:09:54,308 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.c.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 16
2019-11-05 22:09:54,333 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false
2019-11-05 22:09:54,333 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512
2019-11-05 22:09:54,382 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 16
2019-11-05 22:09:54,382 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 16
2019-11-05 22:09:54,382 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192
2019-11-05 22:09:54,382 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 11
2019-11-05 22:09:54,382 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 16777216
2019-11-05 22:09:54,382 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.tinyCacheSize: 512
2019-11-05 22:09:54,382 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256
2019-11-05 22:09:54,382 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64
2019-11-05 22:09:54,382 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768
2019-11-05 22:09:54,382 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192
2019-11-05 22:09:54,463 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG o.a.a.a.c.r.i.netty.NettyConnector - Started Netty Connector version 4.0.39.Final
2019-11-05 22:09:54,464 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG o.a.a.a.c.r.i.netty.NettyConnector - Remote destination: localhost/127.0.0.1:4334
2019-11-05 22:09:54,481 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG i.n.util.internal.ThreadLocalRandom - -Dio.netty.initialSeedUniquifier: 0x6ed649674e3ff6de (took 0 ms)
2019-11-05 22:09:54,515 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: unpooled
2019-11-05 22:09:54,515 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 65536
2019-11-05 22:09:54,515 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384
2019-11-05 22:09:54,588 [Thread-0 (ActiveMQ-client-netty-threads-1022537631)] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.bytebuf.checkAccessible: true
2019-11-05 22:09:54,591 [Thread-0 (ActiveMQ-client-netty-threads-1022537631)] DEBUG i.n.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@93f1c55
2019-11-05 22:09:54,603 [Thread-0 (ActiveMQ-client-netty-threads-1022537631)] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacity.default: 262144
2019-11-05 22:09:54,603 [Thread-0 (ActiveMQ-client-netty-threads-1022537631)] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxSharedCapacityFactor: 2
2019-11-05 22:09:54,603 [Thread-0 (ActiveMQ-client-netty-threads-1022537631)] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.linkCapacity: 16
2019-11-05 22:09:54,748 [Thread-0 (ActiveMQ-client-netty-threads-1022537631)] DEBUG io.netty.handler.ssl.SslHandler - [id: 0x3b55a9ca, L:/127.0.0.1:47728 - R:localhost/127.0.0.1:4334] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
2019-11-05 22:09:54,770 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG o.a.a.a.c.c.i.ClientSessionFactoryImpl - Reconnection successful
2019-11-05 22:09:54,926 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG o.a.a.a.c.c.i.ClientSessionFactoryImpl - ClientSessionFactoryImpl received backup update for live/backup pair = TransportConfiguration(name=febe49bf-0018-11ea-921a-68ecc5df967f, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?trustStorePath=datomic/transactor-trust-jks&trustStorePassword=&port=4334&sslEnabled=true&keyStorePath=datomic/transactor-key-jks&keyStorePassword=&host=localhost / null but it didn't belong to TransportConfiguration(name=febe49bf-0018-11ea-921a-68ecc5df967f, factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory) ?trustStorePath=datomic/transactor-trust-jks&trustStorePassword=&port=4334&sslEnabled=true&keyStorePath=datomic/transactor-key-jks&keyStorePassword=&host=localhost
2019-11-05 22:09:55,942 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG o.a.a.a.c.c.impl.ClientSessionImpl - Calling close on session ClientSessionImpl [name=ff3a5792-0018-11ea-921a-68ecc5df967f, username=iPyf7kc2rlBik6nHPj7msub724fhIX1WoXjIDlVrifk=, closed=false, factory = org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl@36b30e71, metaData=()]@468efaf6
2019-11-05 22:09:55,946 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG o.a.a.a.c.c.impl.ClientSessionImpl - calling cleanup on ClientSessionImpl [name=ff3a5792-0018-11ea-921a-68ecc5df967f, username=iPyf7kc2rlBik6nHPj7msub724fhIX1WoXjIDlVrifk=, closed=false, factory = org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl@36b30e71, metaData=()]@468efaf6
2019-11-05 22:09:55,970 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG datomic.connector - {:event :peer/admin-request, :request :create-database, :return {:created "visitera_dev", :db-id "visitera_dev-f5f1e0cf-5fa8-43b2-9b87-3ada0621bf0e"}, :pid 32564, :tid 20}
2019-11-05 22:09:55,970 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG datomic.peer - {:event :peer/transactor-admin-request, :cluster {:protocol :free, :db-name "visitera_dev", :system-root "127.0.0.1:4334", :host "127.0.0.1", :port 4334}, :request :create-database, :arg {:db-name "visitera_dev"}, :msec 2260.0, :phase :end, :pid 32564, :tid 20}
2019-11-05 22:09:55,970 [nRepl-session-865eb768-93e1-4ed9-b845-014bb935cf9e] DEBUG datomic.peer - {:event :peer/get-connection, :cluster-conf {:protocol :free, :db-name "visitera_dev", :system-root "127.0.0.1:4334", :host "127.0.0.1", :port 4334}, :phase :begin, :pid 32564, :tid 20}
2019-11-05 22:09:55,974 [clojure-agent-send-off-pool-3] INFO datomic.kv-cluster - {:event :kv-cluster/get-pod, :pod-key "pod-catalog", :phase :begin, :pid 32564, :tid 18}
2019-11-05 22:09:55,987 [clojure-agent-send-off-pool-3] DEBUG datomic.kv-cluster - {:event :kv-cluster/pod-size, :bytes 99, :chunks 1, :pid 32564, :tid 18}
2019-11-05 22:09:55,989 [clojure-agent-send-off-pool-3] INFO datomic.kv-cluster - {:event :kv-cluster/get-pod... (truncated for sanity)

What version of jdk are you using @aliaksandr-s?

@ciaranbradley I'm using OpenJDK version 8 as recommended by leiningen. So you are probably right with your guess. I also had issues with latest java and some packages.