So I was able to get some background on where this is all wired together.

<jeremyheiler> the ui is a clojure web application that uses a library
called compojure.
<jeremyheiler> this line is where it's done:
https://github.com/apache/storm/blob/master/storm-core/src/clj/backtype/storm/ui/core.clj#L894
<jeremyheiler> then if you look in the compojure library, you'll see that
it defaults to "public"
https://github.com/weavejester/compojure/blob/master/src/compojure/route.clj#L31

Once I bundled the /public resources directory within my jar - everything
worked.

Why are these resources stripped out of the storm jar?  The environment I'm
in, I have to run Storm from a standalone Java app and I hate having to
copy these over and include them in my own jar.

On Tue, Oct 14, 2014 at 10:50 AM, Shaun Thompson <[email protected]> wrote:

> I have a quick question that I would appreciate some help with.
>
> I'm launching Storm processes via a Java standalone app.
>
> Everything works but when I launch Storm UI
>
> backtype.storm.ui.core.main(new String[] {});
>
> I can view the topology metrics but any css/js contained with the page
> served at / is not found.
>
> When the process is started from the command line, how does the process
> know to point to /public within the distribution to serve css/js?
>
> Thanks
>

Reply via email to