hornetq-clj
hornetq-clj copied to clipboard
hornetq version conflicts with that required for datomic-pro
When using hornetq-clj for a project that also requires a recent datomic-pro I have an issue in which datomic operates incorrectly during initial database creation that cognitect claims is due to the conflict in version dependencies. I have been experimenting with manually adding "exclusions" to project.clj dependencies without success as yet. What are your thoughts regarding updating hornet-clj to the more recent hornetq dependency, 2.3.17.Final? Are there any significant issues of compatibility? Would you be willing to do so?
[hornetq-clj/client "0.2.1"] -> [org.hornetq/hornetq-core-client "2.2.18.Final"] overrides: [com.datomic/datomic-pro "0.9.4815.12"] -> [org.hornetq/hornetq-server "2.3.17.Final"] -> [org.hornetq/hornetq-core-client "2.3.17.Final"]
Just FYI, this is the error message and stack trace I receive from datomic:
clojure.lang.ExceptionInfo: Error communicating with HOST localhost on PORT 4334
data: {:timestamp 1404484420482,
:host "localhost",
:version "0.9.4815.12",
:port 4334,
:username "h4S9mVC9iv8Vka91QKqguigEllzrC6cYfb/X8YBl8wQ=",
:peer-version 2,
:alt-host nil,
:password "3q6BeBkwUdlV8VP+ZUX0fSPI73+JoeX06HN/+Ofs8Z4=",
:encrypt-channel true}
java.lang.IllegalStateException: The following keys are invalid for configuring
a connector: trust-store-path, trust-store-password
org.hornetq.core.client.impl.ClientSessionFactoryImpl.checkTransportKeys ClientSessionFactoryImpl.java: 1422
org.hornetq.core.client.impl.ClientSessionFactoryImpl.<init> ClientSessionFactoryImpl.java: 189
org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory ServerLocatorImpl.java: 737
datomic.hornet/create-session-factory hornet.clj: 220
...
clojure.core/apply core.clj: 619
datomic.connector/try-hornet-connect connector.clj: 86
datomic.connector/create-hornet-factory connector.clj: 119
datomic.connector/create-connector connector.clj: 303
datomic.peer/send-admin-request/fn peer.clj: 712
datomic.peer/send-admin-request peer.clj: 704
datomic.peer/create-database peer.clj: 724
datomic.peer/create-database peer.clj: 716
...
datomic.Peer.createDatabase Peer.java: 121
datomic.api/create-database api.clj: 19
crawfish.db/initialize-db form-init5259471091854217102.clj: 4
crawfish.db/eval10616 form-init5259471091854217102.clj: 1
...
clojure.core/eval core.clj: 2852
ok, I've resolved the issue. pull request will follow
@danlentz I am with exactly this error after Datomic update. What can I do to fix it? Thank you.
@danlentz I just updated the HornetQ and everything is OK now. Thank you.
You are most welcome, @felipelalli . @hugoduncan does not seem to be available and Datomic support was not especially familiar with this issue, so I'd recommend that Datomic users experiencing this who need hornetq-clj have a look at my fork of this repository http://github.com/danlentz/hornetq-clj which resolves the issue.
@danlentz I merged your pull request last week, but github didn't seem to pick it up. I should have a new version released soon, as soon as I have the server side updated and the tests pass again.
Thanks Hugo!
On Friday, July 18, 2014, Hugo Duncan [email protected] wrote:
@danlentz https://github.com/danlentz I merged your pull request last week, but github didn't seem to pick it up. I should have a new version released soon, as soon as I have the server side updated and the tests pass again.
— Reply to this email directly or view it on GitHub https://github.com/hugoduncan/hornetq-clj/issues/5#issuecomment-49436756 .