Skip to content

Instantly share code, notes, and snippets.

sudo /etc/init.d/immutant start
Starting JBoss AS 7 (Immutant)...
JBoss Script: /home/dark4eg/.immutant/current/jboss/bin/standalone.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/dark4eg/.immutant/current/jboss
JAVA: java
AS7_OPTS="$AS7_OPTS -Dorg.apache.tomcat.util.http.ServerCookie.ALLOW_HTTP_SEPARATORS_IN_V0=true" ## See AS7-1625
AS7_OPTS="$AS7_OPTS -Djboss.bind.address.management=0.0.0.0"
AS7_OPTS="$AS7_OPTS -Djboss.bind.address=0.0.0.0"
AS7_OPTS="$AS7_OPTS -Djgroups.bind_addr=`hostname -I`"
16:07:33,571 WARN [org.jboss.as.server] (Controller Boot Thread) JBAS015883: No security realm defined for native management service; all access will be unrestricted.
16:07:33,586 WARN [org.jboss.as.server] (Controller Boot Thread) JBAS015884: No security realm defined for http management service; all access will be unrestricted.
16:07:34,818 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "counter.clj" (runtime-name: "counter.clj")
16:07:49,252 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
16:07:49,255 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.0)
16:07:52,459 ERROR [immutant.runtime] (pool-4-thread-1) Unexpected error occurred invoking init-fn counter.core/start: #<CompilerException java.lang.IllegalStateException, compiling:(db.clj:7:18)>
1
13:50:15,323 INFO [immutant.boot] (ServerService Thread Pool -- 9) Welcome to Immutant 1.1.3 (Already?), rev: cdda36fbfdf01e7408f897d47839758d085324ed, build: 81
13:50:15,844 WARN [org.jboss.as.server] (Controller Boot Thread) JBAS015883: No security realm defined for native management service; all access will be unrestricted.
13:50:15,856 WARN [org.jboss.as.server] (Controller Boot Thread) JBAS015884: No security realm defined for http management service; all access will be unrestricted.
13:50:15,893 WARN [org.jboss.as.controller] (MSC service thread 1-1) JBAS014622: Value '127.0.0.1' for interface selection criteria 'inet-address' is ambiguous, as more than one address or network interface available on the machine matches it. Because of this ambiguity, no address will be selected as a match. Matching addresses: [/127.0.0.1]. Matching network interfaces: [lo, venet0].
13:50:15,896 WARN [org.jboss.as.controller] (MSC service thread 1-13) JBAS014622: Value '127.0.0.1' for interface selection criteria 'in
Warning: The current app may not be deployed - deploy with 'lein immutant deploy'
Warning: You specified profiles, but they cannot be applied to deployed
applications from the run task. You will instead need to deploy
the application with those profiles set:
lein with-profile base,system,user,provided,dev immutant deploy
Starting Immutant: /home/clojure/.immutant/current/jboss/bin/standalone.sh -b 159.253.22.216
=========================================================================
JBoss Bootstrap Environment
@dark4eg
dark4eg / cljs
Last active August 29, 2015 14:07
(def ^:private page-chan (chan))
(def ^:private page-chan-mult (mult page-chan))
.....
(defn ^:private trade
[app owner]
(reify
...
om/IWillMount
(...
2014-12-22 07:35:00,841 ERROR [io.undertow.request] (default task-22) UT005023: Exception handling request to /counter: java.lang.IllegalStateException: The path to the driver executable must be set by the phantomjs.binary.path capability/system property/PATH variable; for more information, see https://github.com/ariya/phantomjs/wiki. The latest version can be downloaded from http://phantomjs.org/download.html
at com.google.common.base.Preconditions.checkState(Preconditions.java:176) [demo-standalone.jar:]
at org.openqa.selenium.phantomjs.PhantomJSDriverService.findPhantomJS(PhantomJSDriverService.java:206) [demo-standalone.jar:]
at org.openqa.selenium.phantomjs.PhantomJSDriverService.createDefaultService(PhantomJSDriverService.java:152) [demo-standalone.jar:]
at org.openqa.selenium.phantomjs.PhantomJSDriver.<init>(PhantomJSDriver.java:85) [demo-standalone.jar:]
at demo.web$counter.invoke(web.clj:27) [demo-standalone.jar:]
at compojure.response$fn__3077.invoke(r
(ns one.helpers.html
(:require [om-tools.dom :as d :include-macros true]))
(def tags
{:a d/a
:abbr d/abbr
:address d/address
:area d/area
:article d/article
:aside d/aside
[:nav {:class "navbar navbar-fixed-top"
:on-click #(println "click")}
[:div {:class "container-fluid"}
[:div {:class "navbar-header"}
[:a {:class "navbar-brand"
:href "#/"}
"Аудит фотографий"]
[:div {:class "version"}
"0.93"]]]]
<html>
<body>
<script src="js/polyfill.js" type="text/javascript"></script>
<script src="../../resources/public/js/app_test.js" type="text/javascript"></script>
</body>
</html>