hornetq-clj icon indicating copy to clipboard operation
hornetq-clj copied to clipboard

hornetq version conflicts with that required for datomic-pro

Open danlentz opened this issue 10 years ago • 6 comments

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

danlentz avatar Jul 04 '14 15:07 danlentz