eigengo / activator-akka-spray Goto Github PK
View Code? Open in Web Editor NEWBasic Akka / Spray template showing REST API built around Akka actors.
License: Apache License 2.0
Basic Akka / Spray template showing REST API built around Akka actors.
License: Apache License 2.0
It would be great to get this template upgrade to Spray 1.2.0. Thanks!
Steps to reproduce:
The log shows:
Build succeeded, running...
Set current project to mySprayApp (in build file:/Users/cesar/mySprayApp/)
Reapplying settings...
Set current project to mySprayApp (in build file:/Users/cesar/mySprayApp/)
Running task... Cancelable: false, check cycles: false
Initial source changes: removed:Set() added: Set() modified: Set() Removed products: Set() Modified external sources: Set() Modified binary dependencies: Set() Initial directly invalidated sources: Set() Sources indirectly invalidated by: product: Set() binary dep: Set() external source: Set()
All initially invalidated sources: Set()
Copy resource mappings: (/Users/cesar/mySprayApp/src/main/resources/application.conf,/Users/cesar/mySprayApp/target/scala-2.10/classes/application.conf)
Running Cli
Starting sandboxed run...
Waiting for threads to exit or System.exit to be called.
Classpath: /Users/cesar/mySprayApp/target/scala-2.10/classes /Users/cesar/.sbt/boot/scala-2.10.2/lib/scala-library.jar /Users/cesar/.ivy2/cache/com.typesafe.akka/akka-actor_2.10/jars/akka-actor_2.10-2.2.0.jar /Users/cesar/.ivy2/cache/com.typesafe/config/bundles/config-1.0.2.jar /Users/cesar/.ivy2/cache/com.typesafe.akka/akka-slf4j_2.10/bundles/akka-slf4j_2.10-2.2.0.jar /Users/cesar/.ivy2/cache/ch.qos.logback/logback-classic/jars/logback-classic-1.0.13.jar /Users/cesar/.ivy2/cache/ch.qos.logback/logback-core/jars/logback-core-1.0.13.jar /Users/cesar/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.5.jar /Users/cesar/.ivy2/cache/io.spray/spray-can/jars/spray-can-1.2-20130712.jar /Users/cesar/.ivy2/cache/io.spray/spray-io/jars/spray-io-1.2-20130712.jar /Users/cesar/.ivy2/cache/io.spray/spray-util/jars/spray-util-1.2-20130712.jar /Users/cesar/.ivy2/cache/io.spray/spray-http/jars/spray-http-1.2-20130712.jar /Users/cesar/.ivy2/cache/org.parboiled/parboiled-scala_2.10/bundles/parboiled-scala_2.10-1.1.5.jar /Users/cesar/.ivy2/cache/org.parboiled/parboiled-core/bundles/parboiled-core-1.1.5.jar /Users/cesar/.ivy2/cache/io.spray/spray-routing/jars/spray-routing-1.2-20130712.jar /Users/cesar/.ivy2/cache/io.spray/spray-httpx/jars/spray-httpx-1.2-20130712.jar /Users/cesar/.ivy2/cache/org.jvnet.mimepull/mimepull/jars/mimepull-1.9.2.jar /Users/cesar/.ivy2/cache/com.chuusai/shapeless_2.10/jars/shapeless_2.10-1.2.4.jar /Users/cesar/.ivy2/cache/io.spray/spray-json_2.10/jars/spray-json_2.10-1.2.3.jar
Waiting for thread run-main to exit
(run-main) java.lang.UnsupportedClassVersionError: Cli : Unsupported major.minor version 51.0
Cli : Unsupported major.minor version 51.0
Thread run-main exited.
Interrupting remaining threads (should be all daemons).
Sandboxed run complete..
Nonzero exit code: 1
(compile:run-main) Nonzero exit code: 1
Total time: 0 s, completed Sep 2, 2013 1:54:20 PM
Failed: error: exception during sbt task: run-main: Incomplete: null
I'm having some bad time trying to figure out how to work on this template.
I'm on win 7 64 bits, Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) Client VM (build 25.11-b03, mixed mode)
When I run this with command activator run it gave me some error messages like actors cannot be reach.
Multiple main classes detected, select one to run:
[1] Rest
[2] Cli
Enter number: 1
[info] Running Rest
[INFO] [05/25/2015 14:59:15.707] [akka-spray-akka.actor.default-dispatcher-5] [a
kka://akka-spray/user/IO-HTTP/listener-0] Bound to /0.0.0.0:8080
[INFO] [05/25/2015 14:59:15.717] [akka-spray-akka.actor.default-dispatcher-2] [a
kka://akka-spray/deadLetters] Message [akka.io.Tcp$Bound] from Actor[akka://akka
-spray/user/IO-HTTP/listener-0#1713606639] to Actor[akka://akka-spray/deadLetter
s] was not delivered. [1] dead letters encountered. This logging can be turned o
ff or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log
-dead-letters-during-shutdown'.
[INFO] [05/25/2015 14:59:41.812] [akka-spray-akka.actor.default-dispatcher-12] [
akka://akka-spray/user/IO-HTTP/listener-0/1] Message [akka.dispatch.sysmsg.Death
WatchNotification] from Actor[akka://akka-spray/user/IO-HTTP/listener-0/1#-98368
1524] to Actor[akka://akka-spray/user/IO-HTTP/listener-0/1#-983681524] was not d
elivered. [2] dead letters encountered. This logging can be turned off or adjust
ed with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letter
s-during-shutdown'.
[INFO] [05/25/2015 14:59:51.776] [akka-spray-akka.actor.default-dispatcher-9] [a
kka://akka-spray/user/IO-HTTP/listener-0/2] Message [akka.actor.Terminated] from
Actor[akka://akka-spray/system/IO-TCP/selectors/$a/3#-1629642159] to Actor[akka
://akka-spray/user/IO-HTTP/listener-0/2#720449243] was not delivered. [3] dead l
etters encountered. This logging can be turned off or adjusted with configuratio
n settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [05/25/2015 14:59:51.776] [akka-spray-akka.actor.default-dispatcher-9] [a
kka://akka-spray/user/IO-HTTP/listener-0/3] Message [akka.actor.Terminated] from
Actor[akka://akka-spray/system/IO-TCP/selectors/$a/4#-569971964] to Actor[akka:
//akka-spray/user/IO-HTTP/listener-0/3#1593499559] was not delivered. [4] dead l
etters encountered. This logging can be turned off or adjusted with configuratio
n settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [05/25/2015 15:00:21.793] [akka-spray-akka.actor.default-dispatcher-2] [a
kka://akka-spray/user/IO-HTTP/listener-0/5] Message [akka.actor.Terminated] from
Actor[akka://akka-spray/system/IO-TCP/selectors/$a/6#-2035204398] to Actor[akka
://akka-spray/user/IO-HTTP/listener-0/5#1203401510] was not delivered. [5] dead
letters encountered. This logging can be turned off or adjusted with configurati
on settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [05/25/2015 15:00:21.794] [akka-spray-akka.actor.default-dispatcher-2] [a
kka://akka-spray/user/IO-HTTP/listener-0/4] Message [akka.actor.Terminated] from
Actor[akka://akka-spray/system/IO-TCP/selectors/$a/5#-1626746014] to Actor[akka
://akka-spray/user/IO-HTTP/listener-0/4#-1611663874] was not delivered. [6] dead
letters encountered. This logging can be turned off or adjusted with configurat
ion settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'
.
[INFO] [05/25/2015 15:01:09.946] [akka-spray-akka.actor.default-dispatcher-11] [
akka://akka-spray/user/IO-HTTP/listener-0/0] Message [akka.actor.Terminated] fro
m Actor[akka://akka-spray/system/IO-TCP/selectors/$a/1#1915508181] to Actor[akka
://akka-spray/user/IO-HTTP/listener-0/0#-1711493448] was not delivered. [7] dead
letters encountered. This logging can be turned off or adjusted with configurat
ion settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'
.
[INFO] [05/25/2015 15:13:22.504] [akka-spray-akka.actor.default-dispatcher-14] [
akka://akka-spray/user/IO-HTTP/listener-0/6] Message [akka.actor.Terminated] fro
m Actor[akka://akka-spray/system/IO-TCP/selectors/$a/7#1420505647] to Actor[akka
://akka-spray/user/IO-HTTP/listener-0/6#530047588] was not delivered. [8] dead l
etters encountered. This logging can be turned off or adjusted with configuratio
n settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
Please update Readme providing more information in how to use it and how to test it, specially about Angular pages, I don't know how to test it, when I try going to localhost:8080 it gives me a error message:
The requested resource could not be found.
Show example of how to do file uploads using Spray. See if you can include responsive UI with progress bar.
Activator shut itself down while creating a new application.
I have play-2.1.3 installed on my system. I downloaded activator-1.0.0, unzipped, and then ran "activator ui" from the command line in the activator folder.
The browser launched, and I attempted to create a new application from the activator-akka-spray template. While waiting for it to download the various artifacts, I proceeded with other work for 5 minutes. When I went back to the browser window I was informed activator had shutdown due to inactivity.
Browser: Chromium Version 28.0.1500.71 Ubuntu 13.04
Here's the logs:
matt@desktop:~/activator$ ./activator ui
Getting com.typesafe.activator activator-ui 1.0.0 ...
downloading file:/home/matt/activator/./repository/com.typesafe.activator/activator-ui/1.0.0/jars/activator-ui.jar ...
[SUCCESSFUL ] com.typesafe.activator#activator-ui;1.0.0!activator-ui.jar (88ms)
downloading file:/home/matt/activator/./repository/com.typesafe.play/play_2.10/2.2.0/jars/play_2.10.jar ...
[SUCCESSFUL ] com.typesafe.play#play_2.10;2.2.0!play_2.10.jar (206ms)
downloading file:/home/matt/activator/./repository/org.webjars/webjars-play_2.10/2.2.0/jars/webjars-play_2.10.jar ...
[SUCCESSFUL ] org.webjars#webjars-play_2.10;2.2.0!webjars-play_2.10.jar (7ms)
downloading file:/home/matt/activator/./repository/org.webjars/requirejs/2.1.8/jars/requirejs.jar ...
[SUCCESSFUL ] org.webjars#requirejs;2.1.8!requirejs.jar (7ms)
downloading file:/home/matt/activator/./repository/org.webjars/jquery/2.0.3/jars/jquery.jar ...
[SUCCESSFUL ] org.webjars#jquery;2.0.3!jquery.jar (13ms)
downloading file:/home/matt/activator/./repository/org.webjars/knockout/2.2.1/jars/knockout.jar ...
[SUCCESSFUL ] org.webjars#knockout;2.2.1!knockout.jar (12ms)
downloading file:/home/matt/activator/./repository/org.webjars/ace/04.09.2013/jars/ace.jar ...
[SUCCESSFUL ] org.webjars#ace;04.09.2013!ace.jar (181ms)
downloading file:/home/matt/activator/./repository/org.webjars/require-css/0.0.7-3/jars/require-css.jar ...
[SUCCESSFUL ] org.webjars#require-css;0.0.7-3!require-css.jar (4ms)
downloading file:/home/matt/activator/./repository/org.webjars/requirejs-text/2.0.10/jars/requirejs-text.jar ...
[SUCCESSFUL ] org.webjars#requirejs-text;2.0.10!requirejs-text.jar (4ms)
downloading file:/home/matt/activator/./repository/org.webjars/keymage/1.0.1/jars/keymage.jar ...
[SUCCESSFUL ] org.webjars#keymage;1.0.1!keymage.jar (4ms)
downloading file:/home/matt/activator/./repository/commons-io/commons-io/2.0.1/jars/commons-io.jar ...
[SUCCESSFUL ] commons-io#commons-io;2.0.1!commons-io.jar (8ms)
downloading file:/home/matt/activator/./repository/eu.medsea.mimeutil/mime-util/2.1.1/bundles/mime-util.jar ...
[SUCCESSFUL ] eu.medsea.mimeutil#mime-util;2.1.1!mime-util.jar(bundle) (7ms)
downloading file:/home/matt/activator/./repository/org.slf4j/slf4j-log4j12/1.6.6/jars/slf4j-log4j12.jar ...
[SUCCESSFUL ] org.slf4j#slf4j-log4j12;1.6.6!slf4j-log4j12.jar (4ms)
downloading file:/home/matt/activator/./repository/com.typesafe.sbtrc/sbt-rc-remote-controller/1.0-28edcfb4984c8be5e556bad192b62551504aa23d/jars/sbt-rc-remote-controller-test.jar ...
[SUCCESSFUL ] com.typesafe.sbtrc#sbt-rc-remote-controller;1.0-28edcfb4984c8be5e556bad192b62551504aa23d!sbt-rc-remote-controller.jar (5ms)
downloading file:/home/matt/activator/./repository/com.typesafe.sbtrc/sbt-rc-remote-controller/1.0-28edcfb4984c8be5e556bad192b62551504aa23d/jars/sbt-rc-remote-controller.jar ...
[SUCCESSFUL ] com.typesafe.sbtrc#sbt-rc-remote-controller;1.0-28edcfb4984c8be5e556bad192b62551504aa23d!sbt-rc-remote-controller.jar (12ms)
downloading file:/home/matt/activator/./repository/com.typesafe.play/sbt-link/2.2.0/jars/sbt-link.jar ...
[SUCCESSFUL ] com.typesafe.play#sbt-link;2.2.0!sbt-link.jar (5ms)
downloading file:/home/matt/activator/./repository/com.typesafe.play/play-exceptions/2.2.0/jars/play-exceptions.jar ...
[SUCCESSFUL ] com.typesafe.play#play-exceptions;2.2.0!play-exceptions.jar (4ms)
downloading file:/home/matt/activator/./repository/com.typesafe.play/templates_2.10/2.2.0/jars/templates_2.10.jar ...
[SUCCESSFUL ] com.typesafe.play#templates_2.10;2.2.0!templates_2.10.jar (5ms)
downloading file:/home/matt/activator/./repository/com.typesafe.play/play-iteratees_2.10/2.2.0/jars/play-iteratees_2.10.jar ...
[SUCCESSFUL ] com.typesafe.play#play-iteratees_2.10;2.2.0!play-iteratees_2.10.jar (23ms)
downloading file:/home/matt/activator/./repository/com.typesafe.play/play-json_2.10/2.2.0/jars/play-json_2.10.jar ...
[SUCCESSFUL ] com.typesafe.play#play-json_2.10;2.2.0!play-json_2.10.jar (21ms)
downloading file:/home/matt/activator/./repository/io.netty/netty/3.7.0.Final/bundles/netty.jar ...
[SUCCESSFUL ] io.netty#netty;3.7.0.Final!netty.jar(bundle) (24ms)
downloading file:/home/matt/activator/./repository/com.typesafe.netty/netty-http-pipelining/1.1.2/jars/netty-http-pipelining.jar ...
[SUCCESSFUL ] com.typesafe.netty#netty-http-pipelining;1.1.2!netty-http-pipelining.jar (2ms)
downloading file:/home/matt/activator/./repository/org.slf4j/slf4j-api/1.7.5/jars/slf4j-api.jar ...
[SUCCESSFUL ] org.slf4j#slf4j-api;1.7.5!slf4j-api.jar (4ms)
downloading file:/home/matt/activator/./repository/org.slf4j/jul-to-slf4j/1.7.5/jars/jul-to-slf4j.jar ...
[SUCCESSFUL ] org.slf4j#jul-to-slf4j;1.7.5!jul-to-slf4j.jar (3ms)
downloading file:/home/matt/activator/./repository/org.slf4j/jcl-over-slf4j/1.7.5/jars/jcl-over-slf4j.jar ...
[SUCCESSFUL ] org.slf4j#jcl-over-slf4j;1.7.5!jcl-over-slf4j.jar (4ms)
downloading file:/home/matt/activator/./repository/ch.qos.logback/logback-core/1.0.13/jars/logback-core.jar ...
[SUCCESSFUL ] ch.qos.logback#logback-core;1.0.13!logback-core.jar (9ms)
downloading file:/home/matt/activator/./repository/ch.qos.logback/logback-classic/1.0.13/jars/logback-classic.jar ...
[SUCCESSFUL ] ch.qos.logback#logback-classic;1.0.13!logback-classic.jar (7ms)
downloading file:/home/matt/activator/./repository/com.github.scala-incubator.io/scala-io-file_2.10/0.4.2/jars/scala-io-file_2.10.jar ...
[SUCCESSFUL ] com.github.scala-incubator.io#scala-io-file_2.10;0.4.2!scala-io-file_2.10.jar (15ms)
downloading file:/home/matt/activator/./repository/com.typesafe.akka/akka-slf4j_2.10/2.2.0/bundles/akka-slf4j_2.10.jar ...
[SUCCESSFUL ] com.typesafe.akka#akka-slf4j_2.10;2.2.0!akka-slf4j_2.10.jar(bundle) (4ms)
downloading file:/home/matt/activator/./repository/org.scala-stm/scala-stm_2.10/0.7/jars/scala-stm_2.10.jar ...
[SUCCESSFUL ] org.scala-stm#scala-stm_2.10;0.7!scala-stm_2.10.jar (22ms)
downloading file:/home/matt/activator/./repository/joda-time/joda-time/2.2/jars/joda-time.jar ...
[SUCCESSFUL ] joda-time#joda-time;2.2!joda-time.jar (16ms)
downloading file:/home/matt/activator/./repository/org.joda/joda-convert/1.3.1/jars/joda-convert.jar ...
[SUCCESSFUL ] org.joda#joda-convert;1.3.1!joda-convert.jar (6ms)
downloading file:/home/matt/activator/./repository/org.apache.commons/commons-lang3/3.1/jars/commons-lang3.jar ...
[SUCCESSFUL ] org.apache.commons#commons-lang3;3.1!commons-lang3.jar (10ms)
downloading file:/home/matt/activator/./repository/com.ning/async-http-client/1.7.18/jars/async-http-client.jar ...
[SUCCESSFUL ] com.ning#async-http-client;1.7.18!async-http-client.jar (20ms)
downloading file:/home/matt/activator/./repository/oauth.signpost/signpost-core/1.2.1.2/jars/signpost-core.jar ...
[SUCCESSFUL ] oauth.signpost#signpost-core;1.2.1.2!signpost-core.jar (6ms)
downloading file:/home/matt/activator/./repository/oauth.signpost/signpost-commonshttp4/1.2.1.2/jars/signpost-commonshttp4.jar ...
[SUCCESSFUL ] oauth.signpost#signpost-commonshttp4;1.2.1.2!signpost-commonshttp4.jar (4ms)
downloading file:/home/matt/activator/./repository/com.fasterxml.jackson.core/jackson-core/2.2.2/jars/jackson-core.jar ...
[SUCCESSFUL ] com.fasterxml.jackson.core#jackson-core;2.2.2!jackson-core.jar (10ms)
downloading file:/home/matt/activator/./repository/com.fasterxml.jackson.core/jackson-annotations/2.2.2/jars/jackson-annotations.jar ...
[SUCCESSFUL ] com.fasterxml.jackson.core#jackson-annotations;2.2.2!jackson-annotations.jar (6ms)
downloading file:/home/matt/activator/./repository/com.fasterxml.jackson.core/jackson-databind/2.2.2/jars/jackson-databind.jar ...
[SUCCESSFUL ] com.fasterxml.jackson.core#jackson-databind;2.2.2!jackson-databind.jar (29ms)
downloading file:/home/matt/activator/./repository/xerces/xercesImpl/2.11.0/jars/xercesImpl.jar ...
[SUCCESSFUL ] xerces#xercesImpl;2.11.0!xercesImpl.jar (37ms)
downloading file:/home/matt/activator/./repository/javax.transaction/jta/1.1/jars/jta.jar ...
[SUCCESSFUL ] javax.transaction#jta;1.1!jta.jar (4ms)
downloading file:/home/matt/activator/./repository/org.javassist/javassist/3.18.0-GA/bundles/javassist.jar ...
[SUCCESSFUL ] org.javassist#javassist;3.18.0-GA!javassist.jar(bundle) (14ms)
downloading file:/home/matt/activator/./repository/com.github.scala-incubator.io/scala-io-core_2.10/0.4.2/jars/scala-io-core_2.10.jar ...
[SUCCESSFUL ] com.github.scala-incubator.io#scala-io-core_2.10;0.4.2!scala-io-core_2.10.jar (36ms)
downloading file:/home/matt/activator/./repository/com.jsuereth/scala-arm_2.10/1.3/poms/scala-arm_2.10.pom ...
[SUCCESSFUL ] com.jsuereth#scala-arm_2.10;1.3!scala-arm_2.10.pom (4ms)
downloading file:/home/matt/activator/./repository/com.jsuereth/scala-arm_2.10/1.3/docs/scala-arm_2.10-javadoc.jar ...
[SUCCESSFUL ] com.jsuereth#scala-arm_2.10;1.3!scala-arm_2.10.jar(doc) (16ms)
downloading file:/home/matt/activator/./repository/com.jsuereth/scala-arm_2.10/1.3/jars/scala-arm_2.10.jar ...
[SUCCESSFUL ] com.jsuereth#scala-arm_2.10;1.3!scala-arm_2.10.jar (6ms)
downloading file:/home/matt/activator/./repository/com.jsuereth/scala-arm_2.10/1.3/srcs/scala-arm_2.10-sources.jar ...
[SUCCESSFUL ] com.jsuereth#scala-arm_2.10;1.3!scala-arm_2.10.jar(src) (4ms)
downloading file:/home/matt/activator/./repository/com.novocode/junit-interface/0.7/jars/junit-interface.jar ...
[SUCCESSFUL ] com.novocode#junit-interface;0.7!junit-interface.jar (4ms)
downloading file:/home/matt/activator/./repository/org.apache.derby/derby/10.5.3.0_1/jars/derby.jar ...
[SUCCESSFUL ] org.apache.derby#derby;10.5.3.0_1!derby.jar (42ms)
downloading file:/home/matt/activator/./repository/junit/junit/4.8.2/jars/junit.jar ...
[SUCCESSFUL ] junit#junit;4.8.2!junit.jar (9ms)
downloading file:/home/matt/activator/./repository/org.scala-tools.testing/test-interface/0.5/jars/test-interface.jar ...
[SUCCESSFUL ] org.scala-tools.testing#test-interface;0.5!test-interface.jar (3ms)
downloading file:/home/matt/activator/./repository/com.typesafe.play/play-functional_2.10/2.2.0/jars/play-functional_2.10.jar ...
[SUCCESSFUL ] com.typesafe.play#play-functional_2.10;2.2.0!play-functional_2.10.jar (12ms)
downloading file:/home/matt/activator/./repository/com.typesafe.play/play-datacommons_2.10/2.2.0/jars/play-datacommons_2.10.jar ...
[SUCCESSFUL ] com.typesafe.play#play-datacommons_2.10;2.2.0!play-datacommons_2.10.jar (4ms)
downloading file:/home/matt/activator/./repository/xml-apis/xml-apis/1.4.01/jars/xml-apis.jar ...
[SUCCESSFUL ] xml-apis#xml-apis;1.4.01!xml-apis.jar (9ms)
downloading file:/home/matt/activator/./repository/org.webjars/webjars-locator/0.5/jars/webjars-locator.jar ...
[SUCCESSFUL ] org.webjars#webjars-locator;0.5!webjars-locator.jar (3ms)
downloading file:/home/matt/activator/./repository/log4j/log4j/1.2.17/bundles/log4j.jar ...
[SUCCESSFUL ] log4j#log4j;1.2.17!log4j.jar(bundle) (15ms)
downloading file:/home/matt/activator/./repository/com.typesafe.sbtrc/sbt-rc-props/1.0-28edcfb4984c8be5e556bad192b62551504aa23d/jars/sbt-rc-props.jar ...
[SUCCESSFUL ] com.typesafe.sbtrc#sbt-rc-props;1.0-28edcfb4984c8be5e556bad192b62551504aa23d!sbt-rc-props.jar (2ms)
downloading file:/home/matt/activator/./repository/org.scala-sbt/launcher-interface/0.13.0/jars/launcher-interface.jar ...
[SUCCESSFUL ] org.scala-sbt#launcher-interface;0.13.0!launcher-interface.jar (4ms)
:: retrieving :: org.scala-sbt#boot-app
confs: [default]
76 artifacts copied, 0 already retrieved (45696kB/500ms)
Play server process ID is 16476
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/matt/.sbt/boot/scala-2.10.2/com.typesafe.activator/activator-ui/1.0.0/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/matt/.sbt/boot/scala-2.10.2/com.typesafe.activator/activator-ui/1.0.0/logback-classic-1.0.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
log4j:WARN No appenders could be found for logger (play).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Created new window in existing browser session.
[INFO] [10/03/2013 09:26:39.638] [default-akka.actor.default-dispatcher-2] [akka://default/user/home-socket-1] Firing up web socket
Getting com.typesafe.sbtrc sbt-rc-probe-0-12 1.0-28edcfb4984c8be5e556bad192b62551504aa23d ...
downloading file:/home/matt/activator/./repository/com.typesafe.sbtrc/sbt-rc-probe-0-12/1.0-28edcfb4984c8be5e556bad192b62551504aa23d/jars/sbt-rc-probe-0-12.jar ...
[SUCCESSFUL ] com.typesafe.sbtrc#sbt-rc-probe-0-12;1.0-28edcfb4984c8be5e556bad192b62551504aa23d!sbt-rc-probe-0-12.jar (16ms)
:: retrieving :: org.scala-sbt#boot-app
confs: [default]
2 artifacts copied, 0 already retrieved (359kB/22ms)
Getting Scala 2.9.2 (for sbt-rc-probe-0-12)...
downloading file:/home/matt/activator/./repository/org.scala-lang/scala-compiler/2.9.2/jars/scala-compiler.jar ...
[SUCCESSFUL ] org.scala-lang#scala-compiler;2.9.2!scala-compiler.jar (530ms)
downloading file:/home/matt/activator/./repository/org.scala-lang/scala-library/2.9.2/jars/scala-library.jar ...
[SUCCESSFUL ] org.scala-lang#scala-library;2.9.2!scala-library.jar (267ms)
downloading file:/home/matt/activator/./repository/org.scala-lang/jline/2.9.2/jars/jline.jar ...
[SUCCESSFUL ] org.scala-lang#jline;2.9.2!jline.jar (16ms)
:: retrieving :: org.scala-sbt#boot-scala
confs: [default]
4 artifacts copied, 0 already retrieved (20090kB/392ms)
Getting com.typesafe.sbtrc sbt-rc-ui-interface-0-12 1.0-28edcfb4984c8be5e556bad192b62551504aa23d ...
downloading file:/home/matt/activator/./repository/com.typesafe.sbtrc/sbt-rc-ui-interface-0-12/1.0-28edcfb4984c8be5e556bad192b62551504aa23d/jars/sbt-rc-ui-interface-0-12.jar ...
[SUCCESSFUL ] com.typesafe.sbtrc#sbt-rc-ui-interface-0-12;1.0-28edcfb4984c8be5e556bad192b62551504aa23d!sbt-rc-ui-interface-0-12.jar (4ms)
:: retrieving :: org.scala-sbt#boot-app
confs: [default]
1 artifacts copied, 0 already retrieved (28kB/7ms)
[INFO] [10/03/2013 09:34:05.823] [default-akka.actor.default-dispatcher-14] [akka://default/user/sbt-process-1] Message [akka.actor.PoisonPill$] from Actor[akka://default/user/request-manager-1#-1127809817] to Actor[akka://default/user/sbt-process-1#1729518069] was not delivered. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [10/03/2013 09:34:05.824] [default-akka.actor.default-dispatcher-14] [akka://default/user/request-manager-1] Message [akka.actor.Terminated] from Actor[akka://default/user/sbt-process-1#1729518069] to Actor[akka://default/user/request-manager-1#-1127809817] was not delivered. [2] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [10/03/2013 09:34:05.833] [default-akka.actor.default-dispatcher-11] [akka://default/user/sbt-process-1] Message [akka.actor.PoisonPill$] from Actor[akka://default/deadLetters] to Actor[akka://default/user/sbt-process-1#1729518069] was not delivered. [3] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[WARN] [10/03/2013 09:34:25.870] [default-akka.actor.default-dispatcher-13] [akka://default/user/app-activator-akka-spray-1/socket] websocket actor not ready within its timeout, poisoning
[WARN] [10/03/2013 09:34:25.870] [default-akka.actor.default-dispatcher-12] [akka://default/user/app-activator-akka-spray-1/socket/producer] ProducerProxy not ready within initial timeout, poisoning
[INFO] [10/03/2013 09:34:25.882] [default-akka.actor.default-dispatcher-14] [akka://default/user/app-activator-akka-spray-1/socket/producer] Message [akka.dispatch.sysmsg.Terminate] from Actor[akka://default/user/app-activator-akka-spray-1/socket/producer#-566915464] to Actor[akka://default/user/app-activator-akka-spray-1/socket/producer#-566915464] was not delivered. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [10/03/2013 09:34:25.884] [default-akka.actor.default-dispatcher-12] [akka://default/user/app-activator-akka-spray-1] socket terminated, killing AppActor app-activator-akka-spray-1
[INFO] [10/03/2013 09:34:25.885] [default-akka.actor.default-dispatcher-13] [akka://default/user/app-activator-akka-spray-1/socket] Message [akka.dispatch.sysmsg.DeathWatchNotification] from Actor[akka://default/user/app-activator-akka-spray-1/socket#1144224514] to Actor[akka://default/user/app-activator-akka-spray-1/socket#1144224514] was not delivered. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [10/03/2013 09:34:25.940] [default-akka.actor.default-dispatcher-9] [akka://default/user/home-socket-1] Message [snap.WebSocketActor$TimeoutAfterHalfCompleted$] from Actor[akka://default/user/home-socket-1#-1819540261] to Actor[akka://default/user/home-socket-1#-1819540261] was not delivered. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [10/03/2013 09:34:25.950] [default-akka.actor.default-dispatcher-9] [akka://default/user/home-socket-1] Message [snap.WebSocketActor$TimeoutAfterHalfCompleted$] from Actor[akka://default/user/home-socket-1#-1819540261] to Actor[akka://default/user/home-socket-1#-1819540261] was not delivered. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [10/03/2013 09:34:26.240] [default-akka.actor.default-dispatcher-9] [akka://default/user/app-activator-akka-spray-1/projectWatcher/sbt-build-file-watcher] Message [snap.CheckTimeoutExpired$] from Actor[akka://default/user/app-activator-akka-spray-1/projectWatcher/sbt-build-file-watcher#-256573154] to Actor[akka://default/user/app-activator-akka-spray-1/projectWatcher/sbt-build-file-watcher#-256573154] was not delivered. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [10/03/2013 09:35:25.910] [default-akka.actor.default-dispatcher-12] [akka://default/user/keep-alive] Activator doesn't seem to be open in any browser tabs, so shutting down.
[INFO] [10/03/2013 09:35:25.910] [default-akka.actor.default-dispatcher-12] [akka://default/user/keep-alive] Exiting.
currently it is object Cli extends App with CoreActors with BootedCore
shouldn't it be object Cli extends App with BootedCore with CoreActors as the article says.
Hi, I was wondering if you have any pointers on integration of authentication with this template? I've taken a look at the cakesolutions/spray-auth-example, but it's not clear where to hook it into the activator template.
Any pointers much appreciated!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.