Hi, we are having some trouble with the transactor using sqlserver as backend.
Datomic transactor reports:
2017-11-28 08:09:08.726 INFO default datomic.process-monitor - {:tid 13, :MemoryIndexMB {:lo 0, :hi 0, :sum 0, :count 1}, :AvailableMB 3960.0, :RemotePeers {:lo 1, :hi 1, :sum 1, :count 1}, :HeartbeatMsec {:lo 5000, :hi 5001, :sum 35002, :count 7}, :StorageGetMsec {:lo
77300, :hi 77300, :sum 77300, :count 1}, :pid 27303, :event :metrics, :SelfDestruct {:lo 1, :hi 1, :sum 1, :count 1}, :MetricsReport {:lo 1, :hi 1, :sum 1, :count 1}, :StorageGetBackoffMsec {:lo 100, :hi 100, :sum 100, :count 1}}
2017-11-28 08:09:08.737 ERROR default datomic.process - {:message "Critical failure, cannot continue: Start database failed", :pid 27303, :tid 63}
java.util.concurrent.ExecutionException: com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset
at java.util.concurrent.FutureTask.report(FutureTask.java:122) [na:1.8.0_151]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) [na:1.8.0_151]
at clojure.core$deref_future.invokeStatic(core.clj:2208) ~[clojure-1.8.0.jar:na]
at clojure.core$future_call$reify__6962.deref(core.clj:6688) ~[clojure-1.8.0.jar:na]
at clojure.core$deref.invokeStatic(core.clj:2228) ~[clojure-1.8.0.jar:na]
Meanwhile in our application:
2017-11-28 08:09:08,777 WARN org.hornetq.core.client: HQ212037: Connection failure has been detected: HQ119015: The connection was disconnected because of server shutdown [code=DISCONNECTED]
Exception in thread "main" java.util.concurrent.ExecutionException: com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at clojure.core$deref_future.invokeStatic(core.clj:2208)
at clojure.core$future_call$reify__6962.deref(core.clj:6688)
at clojure.core$deref.invokeStatic(core.clj:2228)
at clojure.core$deref.invoke(core.clj:2214)
at datomic.cluster$uncached_val_lookup$reify__2694.valAt(cluster.clj:192)
at clojure.lang.RT.get(RT.java:762)
at datomic.cache$double_lookup$reify__2463.valAt(cache.clj:355)
at clojure.lang.RT.get(RT.java:762)
at datomic.cache$lookup_transformer$reify__2454.valAt(cache.clj:242)
at clojure.lang.RT.get(RT.java:762)
at datomic.cache$lookup_cache$reify__2457.valAt(cache.clj:287)
at clojure.lang.RT.get(RT.java:762)
at datomic.common$getx.invokeStatic(common.clj:188)
at datomic.common$getx.invoke(common.clj:184)
It seems that we are unable to connect to sqlserver, but we can establish a jdbc connection with no trouble, and we were able to read/write in the database, so it’s not a connectivity problem or even a security configuration problem in sqlserver. Furthermore, we create another “datomic” database within the same server and we were able to use it with no errors. We also restore a backup of that database in another server and we connected with no issues.
Have you guys any ideas?
We can provide to you a backup of the database ~42 MB
Thanks a lot