Empty Console using Example Project from Sbt-Atmos

100 views
Skip to first unread message

pa...@standardnine.com

unread,
Nov 12, 2013, 8:26:20 PM11/12/13
to typesafe...@googlegroups.com
Hi,

I am having trouble setting up Typesafe console for a play framework application and I would like to ask for the community's help.

I have tried to set up a vanilla project using 'play new' and adding the atmos plugin as outlined on the github page, but the console is always blank for both Akka and Play. I think it is expected that Akka stats to be zero but it is weird that Play status page isn't updating.

Thinking I may have done something wrong, I tried the the sample play project from atmos. Specifically, I checked out commit bf270e8a61f3c012835060ebfee57c4be583c10a of the project because I needed to setup console for Play 2.1.4 with sbt 0.12.4. 

I modified the project/plugins.sbt to use play 2.1.4 and sbt-atmos 0.3.2 like the Github page suggested and ran the project, again seeing blank Akka and Play stats page in the console. Searching on Google and reading the existing threads didn't point me to anything obvious, especially after I could not even get the sample project going. 

I have attached my Build.scala, plugins.scala I modified from the sample project with this thread. I am trying this on OS X Mavericks. 

Any help/suggestions would be greatly appreciated.
Paul
Build.scala
plugins.sbt

h3nk3

unread,
Nov 14, 2013, 3:41:09 AM11/14/13
to typesafe...@googlegroups.com
Hi Paul,
Since you can see the Console UI it means that it's up and running and this is a good thing.

Before any Akka or Play releated data is generated there must be some kind of activity in the application.
Therefore I wonder if you have browsed your traced Play application before checking the Console?
If not, I suggest that you make sure there is some kind of traffic in the traced application before going to the Console UI.

For example in the sample application you should first trigger some activity on localhost:9000 before going to localhost:9900 to see the stats.

Let me know if this solves your issue.
Thanks,
Henrik

pa...@standardnine.com

unread,
Nov 15, 2013, 7:01:26 PM11/15/13
to typesafe...@googlegroups.com
Hi Henrik,

Thank you for your speedy reply.

Your suggestion worked!

It seems I just didn't let the example run long enough. I tried hitting it multiple times and let it run a little bit and the console is finally updating.

Thanks for the help.
Paul

Henrik Engström

unread,
Nov 17, 2013, 7:35:34 AM11/17/13
to pa...@standardnine.com, typesafe...@googlegroups.com
Great to hear.
All the best,
Henrik


--
You received this message because you are subscribed to the Google Groups "Typesafe Console User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to typesafe-conso...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages