Lewis John McGibbney created HTRACE-247:
-------------------------------------------
Summary: Add instructions to htrace-webapp/README.md demonstrating
how to use the web application
Key: HTRACE-247
URL: https://issues.apache.org/jira/browse/HTRACE-247
Project: HTrace
Issue Type: Bug
Components: docs, ui
Affects Versions: 4.0
Reporter: Lewis John McGibbney
Priority: Critical
Fix For: 4.1
Attachments: Screen Shot 2015-09-14 at 10.05.02 PM.png
Right now I literally have no idea how to use the Web Application. This issue
became apparent to me whilst trying to build the docker container and running
into some Tomcat issues, then investigating the Web App locally only to find
out that I couldn't package it. I then logged HTRACE-246.
When I deployed the web app into Apache Tomcat and navigated to
http://localhost:8080/htrace-webapp-4.1.0-incubating-SNAPSHOT/#about I am
greeted with some concerning message the there is an error with regards to a
REST service not being found!
Please see the attached screenshot which shows you what I am seeing.
I have tried starting up the REST server as per
{code}
lmcgibbn@LMC-032857
/usr/local/incubator-htrace/htrace-htraced/go/build(HTRACE-241) $ ./htraced
2015-09-14T22:00:51-07:00 I: Created new LevelDB instance in /tmp/htrace1/db
2015-09-14T22:00:51-07:00 I: Created new LevelDB instance in /tmp/htrace2/db
2015-09-14T22:00:51-07:00 I: Serving static files from
/usr/local/incubator-htrace/htrace-htraced/go/web
.2015-09-14T22:00:51-07:00 I: Started REST server on [::]:9095...
2015-09-14T22:00:51-07:00 I: Started HRPC server on [::]:9075...
{code}
However this does not resolve the issue and I still cannot bind to any RESt
service at the /server/info endpoint.
Can anyone help me to understand this?
The issue describes the fact that we need to augment the documentation for the
Web Application. Whether or not that happens in the webapp README I don't care.
But the documentation should be easy to find.
Thanks folks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)