New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stack trace @installation #190
Comments
Currently, Collins supports play 2.0.8 only, and it looks like you may be running with play 2.9.1. Does that seem right? Just in case, here's a link to play 2.0.8 Let me know if that fixes your problem! |
,,, play! 2.0.8, http://www.playframework.org Also, the link on the collins page is dead so you have to go to the site to pull it |
Gah I'm sorry about my mistake and the broken link. The link should be better now. Can you try asking play to clean up after itself? This is sometimes caused by a messed up project directory.
|
Same thing. [collins] $ run [info] Updating {file:/home/ubuntu/src/collins/}collins... SLF4J: Class path contains multiple SLF4J bindings. (Server started, use Ctrl+D to stop and go back to the console...) [info] Compiling 323 Scala sources and 8 Java sources to /home/ubuntu/src/collins/target/scala-2.9.1/classes... Last Application Log Entry 2014-08-07 17:59:40,472 - [WARN] - from play in New I/O server worker #1-1 Applying evolution script for database 'collins': --- Rev:1,Ups - 2754d7bCREATE TABLE status ( CREATE TABLE asset_meta ( CREATE TABLE asset_meta_value ( -- NOTE Because format/source/message_type are not user manageable, we do not have another table CREATE TABLE ipmi_info ( --- Rev:2,Ups - 3425b37INSERT INTO status VALUES (1, 'New', 'Asset has been entered into the system'); INSERT INTO asset_type VALUES (1, 'Server Node'); INSERT INTO asset_meta VALUES (1, 'SERVICE_TAG', 1, 'Service Tag', 'Vendor supplied service tag'); INSERT INTO asset_meta VALUES (6, 'CPU_COUNT', -1, 'CPU Count', 'Number of physical CPUs in asset'); INSERT INTO asset_meta VALUES (11, 'MEMORY_SIZE_BYTES', -1, 'Memory', 'Size of Memory Stick'); INSERT INTO asset_meta VALUES (15, 'NIC_SPEED', 5, 'NIC Speed', 'Speed of nic, stored as bits per second'); INSERT INTO asset_meta VALUES (18, 'DISK_SIZE_BYTES', -1, 'Disk Size', 'Disk size in bytes'); INSERT INTO asset_meta VALUES (22, 'LLDP_INTERFACE_NAME', -1, 'LLDP Interface Name', 'Interface name reported by lldpctl'); INSERT INTO asset VALUES (1, 'tumblrtag1', 7, 1, CURRENT_TIMESTAMP, null, null); -- gateway 10.0.0.1, ip address 10.0.0.2, netmask /19 = 255.255.224.0 INSERT INTO asset_meta_value VALUES(1, 1, 0, 'dell service tag 123'); INSERT INTO asset_log SET asset_id=1, message_type=6, message='Automatically created by database migration'; --- Rev:3,Ups - eb35112INSERT INTO asset_type VALUES (9, 'Configuration'); --- Rev:4,Ups - edccf21INSERT INTO status VALUES (8, 'Provisioning', 'Asset is currently being provisioned'); --- Rev:5,Ups - ae4d06eCREATE TABLE ip_addresses ( --- Rev:6,Ups - 1e9f094ALTER TABLE ip_addresses ADD COLUMN pool CHAR(32) NOT NULL DEFAULT ''; --- Rev:7,Ups - fb952d8UPDATE asset_meta SET priority = -1 WHERE id=33; --- Rev:8,Ups - 7511724ALTER TABLE asset_meta ADD value_type INT(4) NOT NULL DEFAULT 1; --- Rev:9,Ups - 4c19e33CREATE TABLE state ( ALTER TABLE asset ADD COLUMN state INTEGER NOT NULL DEFAULT 0; INSERT INTO state VALUES(1, 0, 'NEW', 'New', 'A service in this state is inactive. It does minimal work and consumes minimal resources.'); --- Rev:10,Ups - 2aea1a8ALTER TABLE asset_type ADD COLUMN label VARCHAR(255) NOT NULL DEFAULT ''; --- Rev:11,Ups - 1a5a1aeINSERT INTO asset_meta (name, priority, label, description) VALUES ('BASE_PRODUCT', 1, 'Base Product', 'Formal product model designation'); 2014-08-07 17:59:41,861 - [INFO] - from play in play-akka.actor.default-dispatcher-2 database [collins] connected at jdbc:h2:mem:play ! @6j614b2i2 - Internal server error, for request [GET /] -> play.api.UnexpectedException: Unexpected exception [ObjectExistsException: Cache play already exists] |
any more suggestions? |
I'd like to see how you are starting play from the command line. |
ubuntu@ip-10-70-3-43:~/src/collins$ ~/src/play-2.0.8/play play! 2.0.8, http://www.playframework.org
[collins] $ run --- (Running the application from SBT, auto-reloading is enabled) --- SLF4J: Class path contains multiple SLF4J bindings. (Server started, use Ctrl+D to stop and go back to the console...) |
ping :) |
does that still happen when you run it without the play command? it looks edit: to be clear, i have never run collins with the play command in development or production and head of master runs without an issue for me via On Tue, Aug 12, 2014 at 1:56 PM, Jenn Basalone notifications@github.com
|
so I didnt know you could run it outside of the play framework. How do you execute it outside? /me is a little confused. |
@jbasalone You can take a look at https://github.com/tumblr/collins/blob/master/scripts/collins.sh for a sample (albeit old and in need of a rewrite) init script for how to run an artifact with java. Also, https://github.com/tumblr/collins/blob/master/scripts/package.sh will help you compile and spit out a zip you can then run with collins.sh. |
ah yea. the shell scripts needs help. lol ill take a look. Thanks! |
the standalone works. Im getting other errors when trying to populate it but ill deal with that seperately. at least its up. Thank you so much :) |
so I am struggling getting past this stack trace for a new installation from scratch .
root@ip-10-70-3-43:~# java -version
java version "1.6.0_31"
OpenJDK Runtime Environment (IcedTea6 1.13.3) (6b31-1.13.3-1ubuntu1)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
root@ip-10-70-3-43:~# uname -ar
Linux ip-10-70-3-43 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
! @6j5lii2kl - Internal server error, for request [GET /] ->
play.api.UnexpectedException: Unexpected exception [ObjectExistsException: Cache play already exists]
at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$3$$anonfun$1.apply(ApplicationProvider.scala:134) ~[play_2.9.1.jar:2.0.4]
at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$3$$anonfun$1.apply(ApplicationProvider.scala:112) ~[play_2.9.1.jar:2.0.4]
at scala.Option.map(Option.scala:133) ~[scala-library.jar:0.11.3]
at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$3.apply(ApplicationProvider.scala:112) ~[play_2.9.1.jar:2.0.4]
at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$3.apply(ApplicationProvider.scala:110) ~[play_2.9.1.jar:2.0.4]
at scala.Either$RightProjection.flatMap(Either.scala:277) ~[scala-library.jar:0.11.3]
at play.core.ReloadableApplication$$anonfun$get$1.apply(ApplicationProvider.scala:110) ~[play_2.9.1.jar:2.0.4]
at play.core.ReloadableApplication$$anonfun$get$1.apply(ApplicationProvider.scala:110) ~[play_2.9.1.jar:2.0.4]
at akka.dispatch.Future$$anon$3.liftedTree1$1(Future.scala:195) ~[akka-actor.jar:2.0.2]
at akka.dispatch.Future$$anon$3.run(Future.scala:194) ~[akka-actor.jar:2.0.2]
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:94) ~[akka-actor.jar:2.0.2]
at akka.jsr166y.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1381) ~[akka-actor.jar:2.0.2]
at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) ~[akka-actor.jar:2.0.2]
at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) ~[akka-actor.jar:2.0.2]
at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) ~[akka-actor.jar:2.0.2]
at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) ~[akka-actor.jar:2.0.2]
Caused by: net.sf.ehcache.ObjectExistsException: Cache play already exists
at net.sf.ehcache.CacheManager.addCache(CacheManager.java:990) ~[ehcache-core.jar:na]
at play.api.cache.EhCachePlugin.x$3(Cache.scala:111) ~[play_2.9.1.jar:2.0.4]
at play.api.cache.EhCachePlugin.cache(Cache.scala:109) ~[play_2.9.1.jar:2.0.4]
at play.api.cache.EhCachePlugin.onStart(Cache.scala:127) ~[play_2.9.1.jar:2.0.4]
at play.api.Play$$anonfun$start$1.apply(Play.scala:60) ~[play_2.9.1.jar:2.0.4]
at play.api.Play$$anonfun$start$1.apply(Play.scala:60) ~[play_2.9.1.jar:2.0.4]
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) ~[scala-library.jar:0.11.3]
at scala.collection.immutable.List.foreach(List.scala:45) ~[scala-library.jar:0.11.3]
at play.api.Play$.start(Play.scala:60) ~[play_2.9.1.jar:2.0.4]
at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$3$$anonfun$1.apply(ApplicationProvider.scala:125) ~[play_2.9.1.jar:2.0.4]
... 15 common frames omitted
The text was updated successfully, but these errors were encountered: