Fork me on GitHub
#datomic
<
2016-10-01
>
arohner21:10:12

Is the hornet connection encrypted?

marshall21:10:14

@arohner yes by default it is. You can disable it via an option in the transactor properties file

arohner21:10:05

clojure.lang.ExceptionInfo: Error communicating with HOST 0.0.0.0 or ALT_HOST my.dns.name on PORT 4334
java.lang.NoClassDefFoundError: Could not initialize class org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl

arohner21:10:19

is that a ‘normal’ connection problem, or is that artemis weirdness?

arohner21:10:31

I can successfully telnet to my.dns.name 4334

marshall21:10:05

What storage?

arohner21:10:56

I moved the transactor & peer back to 5394, and everything works

marshall21:10:55

You only get that error when using both txor and peer at 5404?

marshall21:10:33

And you're seeing it on the peer?

marshall21:10:17

Are you sure the transactor is up and healthy? You can look at cloud watch for heartbeat msec

arohner21:10:15

reasonably sure. The transactor was running, and no suspicious messages in stdout

marshall21:10:36

Ok. Looking at the error again that looks like a class path issue

arohner21:10:56

I’m using boot, with datomic-pro 5404 in :dependencies

arohner21:10:16

and (require '[datomic.api :as d]) loaded just fine

marshall21:10:21

I have to admit a bit of ignorance of boot as of yet. I'm guessing it has some equivalent of lein deps?

marshall21:10:57

I suspect some other dep in your project may be pulling in an incompatible dep

arohner21:10:19

yeah, my suspicion as well

arohner21:10:25

but 5394 is working fine, so I probably won’t spend too much time chasing it down

marshall21:10:06

Fair enough. However, it looks like it may be Artemis related and releases of Datomic from now on will all be on Artemis

marshall21:10:27

You should be able to use a 5394 peer with a 5404 transactor

marshall21:10:46

Which would let you figure out the peer dep issue separately

arohner21:10:28

interesting