This file contains hidden or 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
SEVERE: Servlet threw load() exception | |
java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader) | |
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:342) | |
at java.security.AccessController.checkPermission(AccessController.java:553) | |
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) | |
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1311) | |
at clojure.lang.DynamicClassLoader.<init>(DynamicClassLoader.java:31) | |
at clojure.lang.RT.<clinit>(RT.java:243) | |
at clojure.lang.Namespace.<init>(Namespace.java:31) | |
at clojure.lang.Namespace.findOrCreate(Namespace.java:116) |
This file contains hidden or 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
(defmacro dohandlers | |
[handler-fns & handlers] | |
`(defservice "" | |
~@(map #((println "foo") | |
(%)) handler-fns) | |
~@handlers)) | |
(defn auth-handlers | |
[] | |
`((POST "/login" |
This file contains hidden or 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
#!/bin/sh | |
cd `dirname $0`/.. | |
for file in WEB-INF/lib/*.jar; do | |
jars=$jars:$file | |
done | |
for file in WEB-INF/lib/endorsed/*.jar; do | |
jars=$jars:$file |
This file contains hidden or 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
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
logallrefupdates = true | |
[remote "grepos"] | |
url = /home/duck/grepos2 | |
push = master:cis/cps272/Homework3/master | |
fetch = +refs/heads/cis/cps272/Homework3/*:refs/remotes/grepos/* | |
[gui] |
This file contains hidden or 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
(ns net.mycyclopedia.swank | |
(:use [clojure.main :only (with-bindings)] | |
[swank.swank :only (ignore-protocol-version | |
start-server)])) | |
(defonce *swank* (ref false)) | |
(defn init | |
[] | |
(when-not (or *compile-files* |
This file contains hidden or 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
(defn with-template | |
[handler] | |
(fn [request] | |
(if-let [response (handler request)] | |
(create-response | |
request | |
(template :html request response))))) | |
(defmethod template :html |
This file contains hidden or 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
;; src/main/clojure/net/mycyclopedia/view.clj | |
(ns net.mycyclopedia.view | |
(:use net.mycyclopedia.model | |
clojure.contrib.pprint | |
clojure.contrib.lazy-xml | |
(compojure.http helpers) | |
(compojure.html form-helpers | |
gen | |
[page-helpers :exclude (link-to)])) |
This file contains hidden or 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
(ns net.mycyclopedia.model.statement | |
(:use net.mycyclopedia.model | |
(clojure.contrib str-utils) | |
(net.mycyclopedia.model | |
[auth :only (current-user)]) | |
(compojure [html :exclude (link-to)] | |
http) | |
compojure.validation.predicates | |
[clojure.contrib.sql :only (with-query-results | |
transaction |
This file contains hidden or 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
Nov 6, 2009 1:02:39 AM org.waveprotocol.wave.examples.fedone.federation.xmpp.WaveXmppComponent processPacket | |
INFO: received XMPP packet: | |
<message id="6240-11" from="wave.wave24z.com" to="wave.mycyclopedia.net"> | |
<received xmlns="urn:xmpp:receipts"/> | |
</message> | |
Nov 6, 2009 1:03:01 AM org.waveprotocol.wave.examples.fedone.waveserver.WaveServerImpl isLocalWavelet | |
INFO: ### WS is local? [WaveId:mycyclopedia.net!w+mRDTtqdlprL8]/[WaveletId:mycyclopedia.net!conv+root] = true | |
Nov 6, 2009 1:03:01 AM org.waveprotocol.wave.examples.fedone.waveserver.WaveServerImpl submitDelta | |
INFO: ## WS: Got submit: [WaveId:mycyclopedia.net!w+mRDTtqdlprL8]/[WaveletId:mycyclopedia.net!conv+root] delta: ByteStringMessage: hashed_version { |
This file contains hidden or 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
=> Booting WEBrick | |
=> Rails 2.3.4 application starting on http://0.0.0.0:3000 | |
Initializing MasterView configuration (2009-12-14 11:22) | |
Program name = /Users/drenfer/projects/masterview/script/server | |
MasterView using REXML Sax2Parser version = 3.1.7.3 | |
Using default admin_auth mixin for MasterView admin (local requests only) | |
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:443:in `load_missing_constant': uninitialized constant Dependencies (NameError) | |
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in `const_missing' | |
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:92:in `const_missing' | |
from /opt/local/lib/ruby/gems/1.8/gems/masterview-0.3.4/lib/masterview/extras/init_mv_admin_pages.rb:90 |
OlderNewer