View datomic-schema.clj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(in-ns test | |
(:require | |
[schema.macros :as macros] | |
[schema.utils :as sutils])) | |
;; Wrapper type needed because Entity values do not implement | |
;; IPersistentMap interface | |
(defrecord EntitySchema | |
[schema] | |
Schema |
View gist:0e1f7696de8b55a1f81c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22:34:03,045 WARN [org.hornetq.core.client] (MSC service thread 1-2) HQ212002: Timed out waiting for handler to complete processing | |
22:34:03,056 ERROR [stderr] (Thread-13638 (HornetQ-client-global-threads-396177756)) java.lang.NullPointerException | |
22:34:03,056 ERROR [stderr] (Thread-13638 (HornetQ-client-global-threads-396177756)) at org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke(ClojureRuntimeShimImpl.java:91) | |
22:34:03,057 ERROR [stderr] (Thread-13638 (HornetQ-client-global-threads-396177756)) at org.immutant.messaging.MessageProcessor.onMessage(MessageProcessor.java:51) | |
22:34:03,058 ERROR [stderr] (Thread-13638 (HornetQ-client-global-threads-396177756)) at org.projectodd.polyglot.messaging.BaseMessageProcessor.onMessage(BaseMessageProcessor.java:132) | |
22:34:03,058 ERROR [stderr] (Thread-13638 (HornetQ-client-global-threads-396177756)) at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:1085) | |
22:34:03,059 ERROR [stderr] (Thread-13638 (HornetQ-client-globa |
View project.clj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:profiles {;; PRODUCTION | |
:prod {:jvm-opts ["-Xms512M" "-Xmx2G" "-server" "-Djdk.xml.entityExpansionLimit=0" | |
"-XX:+UseConcMarkSweepGC" "-XX:+CMSIncrementalMode"]}} |
View out.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16:57:27.147 ERROR com.amazonaws.http.AmazonHttpClient - Unable to unmarshall response (ParseError at [row,col]:[1,1] | |
Message: JAXP00010001: The parser has encountered more than "64000" entity expansions in this document; this is the limit imposed by the JDK.) | |
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] | |
Message: JAXP00010001: The parser has encountered more than "64000" entity expansions in this document; this is the limit imposed by the JDK. | |
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.setInputSource(XMLStreamReaderImpl.java:219) ~[na:1.6.0_27] | |
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.<init>(XMLStreamReaderImpl.java:189) ~[na:1.6.0_27] | |
at com.sun.xml.internal.stream.XMLInputFactoryImpl.getXMLStreamReaderImpl(XMLInputFactoryImpl.java:277) ~[na:1.6.0_27] | |
at com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:129) ~[na:1.6.0_27] | |
at com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLEventReader(XM |
View gist:9760163
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
:node "ip-10-226-117-71", | |
:ns "switchboard.api.synchronize", | |
:thread-id 397, | |
:app 1 | |
:mtx 3292, | |
:atx 2154, | |
:dts 1395756593391, | |
:date #inst "2014-03-25T14:09:53.390-00:00", | |
:auth #uuid "532cb9c1-39cc-486e-9e34-62d154d0fb84", |
View gist:9758268
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(p/subscribe [:test] :printer) | |
(p/subscribe #{:test} :printer | |
(async/map> #(select-keys % [:ts :value]) (async/chan))) |
View gist:8447415
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
========================================================================= | |
JBoss Bootstrap Environment | |
JBOSS_HOME: /var/lib/immutant/current/jboss | |
JAVA: java | |
JAVA_OPTS: -server -XX:+UseCompressedOops -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs= | |
org.jboss.byteman -Djava.awt.headless=true |
View gist:8420061
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stopping JBoss | |
java.io.IOException: Premature EOF | |
at sun.net.www.http.ChunkedInputStream.readAheadBlocking(ChunkedInputStream.java:565) | |
at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:609) | |
at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:696) |
View gist:7087091
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject switchboard "0.8.0-SNAPSHOT" | |
:description "Real-Time Healthcare" | |
:url "http://swb.io" | |
:license {:name "To Be Determined"} | |
:min-lein-version "2.0.0" | |
:main ^{:skip-aot true} switchboard.server | |
:resource-paths ["config", "resources"] | |
:aliases {"cas-dev" ["trampoline" "run" "-m" "switchboard.db.cassandra-test/start-embedded-server"]} | |
:dependencies [[org.clojure/clojure "1.5.1"] | |
[org.clojure/core.async "0.1.242.0-44b1e3-alpha"] |
View gist:7086897
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bacon:switchboard eslick$ lein deps :tree | |
WARNING!!! possible confusing dependencies found: | |
[io.pedestal/pedestal.service "0.2.1"] -> [org.slf4j/slf4j-api "1.7.2"] | |
overrides | |
[com.datomic/datomic-pro "0.8.4143"] -> [org.slf4j/jul-to-slf4j "1.7.5"] -> [org.slf4j/slf4j-api "1.7.5"] | |
and | |
[com.datomic/datomic-pro "0.8.4143"] -> [org.slf4j/log4j-over-slf4j "1.7.5"] -> [org.slf4j/slf4j-api "1.7.5"] | |
and | |
[com.datomic/datomic-pro "0.8.4143"] -> [org.slf4j/jcl-over-slf4j "1.7.5"] -> [org.slf4j/slf4j-api "1.7.5"] |
NewerOlder