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

Admin interface is showing a blank page. #171

Closed
shadow-fox opened this Issue Oct 23, 2014 · 4 comments

Comments

3 participants
@shadow-fox

shadow-fox commented Oct 23, 2014

Hello,
I have installed finatra the latest 1.5.3 and with the command line I have created one application,
./finatra-1.5.3/finatra new com.acme.NewApp and running sbt run in the console it says

INF [20141023-11:29:34.748] finatra: finatra process 4823 started 
INF [20141023-11:29:34.750] finatra: http server started on port: :7070 
INF [20141023-11:29:36.310] finatra: admin http server started on port: :9990

For the http server it is successfully displaying the page but when I go to port 9990 it just gives me white screen nothing in it, not even in the source of the page.

Scala version system

$ scala -version
Scala code runner version 2.11.2 -- Copyright 2002-2013, LAMP/EPFL
@capotej

This comment has been minimized.

Contributor

capotej commented Oct 23, 2014

There's no "Admin page" just an admin server with some stats, try curling:

localhost:9990/admin/metrics.json

@shadow-fox

This comment has been minimized.

shadow-fox commented Oct 23, 2014

@capotej Where can I see the files for admin server to render ? And curling doesn't give anything.

curl http://localhost:9990/
@capotej

This comment has been minimized.

Contributor

capotej commented Oct 23, 2014

There are no files, it just an admin, JSON-only server, did you try
/admin/metrics.json?

On Wed, Oct 22, 2014 at 11:47 PM, Pranaya Behera notifications@github.com
wrote:

@capotej https://github.com/capotej Where can I see the files for admin
server to render ? And curling doesn't give anything.

curl http://localhost:9990/


Reply to this email directly or view it on GitHub
#171 (comment).

Julio Capote

@shadow-fox

This comment has been minimized.

shadow-fox commented Oct 24, 2014

@capotej Thanks. That did the trick. It shows a json object on the usage.
Is there any documentation on how to connect to a database ? If not, can you show me how to do that as well ?

@cacoco cacoco closed this Jun 3, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment