Hey Shaofeng,

You can try using this helper class if you want to deploy the helix-ui in a war:

https://github.com/apache/helix/blob/master/helix-ui/src/main/java/org/apache/helix/ui/util/DropWizardApplicationRunner.java

Since the helix-ui module is intended to be packaged and run as a shaded jar 
from command line, you might have to be a little careful of dependency versions 
if your tomcat server has a complicated classpath. 

Also here is a link to the latest drop wizard configuration docs 
https://dropwizard.github.io/dropwizard/0.7.1/docs/manual/configuration.html

-Greg

> On Jan 31, 2016, at 6:08 AM, ShaoFeng Shi <[email protected]> wrote:
> 
> Hello,
> 
> Just want to get some advice on how to run helix-ui in a Tomcat instance,
> is there any doc or guidance? Our app already runs in a tomcat, if helix-ui
> can be packaged as a standard war, that would be very easy for ship and
> deploy. I checked this page:
> https://github.com/apache/helix/tree/master/helix-ui , but the “Dropwizard
> Configuration Reference” link is reporting 404 error now.
> 
> Thanks for any suggestion!
> 
> -- 
> Best regards,
> 
> Shaofeng Shi

Reply via email to