[ 
https://issues.apache.org/jira/browse/SLIDER-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15074535#comment-15074535
 ] 

Josh Elser edited comment on SLIDER-809 at 12/30/15 1:44 AM:
-------------------------------------------------------------

Picked this up again. I implemented a new property in the app configuration 
file which contains a list of HDFS URIs which will get set as localized 
resources in the container request. After this point, the python scripts in the 
app package can do whatever it chooses -- for Tomcat, we can copy all of these 
files which end in {{.war}} into the webapps directory so that they are 
automatically deployed.

I also implemented a single tomcat-users.xml mapping so that a user can specify 
a username/password and use the built-in Tomcat manager via the browser.

With the change over in SLIDER-1012, I have also been able to access the URL 
via the AM's REST service, but it's not displayed on the UI which is 
frustrating. The information is contained in the exports call. I think this can 
be a general improvement to the webui in that we can render all 
exports/quicklinks in the UI and prevent the need for the user to make 
additional calls.

Still need to make some tests...


was (Author: elserj):
Picked this up again. I implemented a new property in the app configuration 
file which contains a list of HDFS URIs which will get set as localized 
resources in the container request. After this point, the python scripts in the 
app package can do whatever it chooses -- for Tomcat, we can copy all of these 
files which end in {{.war}} into the webapps directory so that they are 
automatically deployed.

I also implemented a single tomcat-users.xml mapping so that a user can specify 
a username/password and use the built-in Tomcat manager via the browser.

With the change over in SLIDER-1012, I have also been able to access the URL 
via the AM's REST service, but it's not displayed on the UI which is 
frustrating. The information is contained in the exports call. I think this can 
be a general improvement to the webui in that we can render all 
exports/quicklinks in the UI and prevent the need for the user to make 
additional calls.

> Apache Tomcat App-Package
> -------------------------
>
>                 Key: SLIDER-809
>                 URL: https://issues.apache.org/jira/browse/SLIDER-809
>             Project: Slider
>          Issue Type: New Feature
>          Components: app-package
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: Slider 2.0.0
>
>
> I started working on an app-package for Tomcat.
> https://github.com/apache/incubator-slider/tree/feature/SLIDER-809-tomcat-app-package/app-packages/tomcat
> Some things that need to happen for a generally usable app-package:
> * -Maven module in slider for the code-
> * -Template for server.xml -- notably the port to listen on and other options-
> * Reference external WAR file
> * Fix exports so allocated port for tomcat is advertised (e.g. can view on 
> appmaster status page)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to