You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/12/30 02:44:49 UTC

[jira] [Commented] (SLIDER-809) Apache Tomcat App-Package

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

Josh Elser commented on SLIDER-809:
-----------------------------------

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)