You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/07/16 23:31:09 UTC

[Bug 53553] New: [PATCH] Deploy uploaded WAR with context.xml from server

https://issues.apache.org/bugzilla/show_bug.cgi?id=53553

          Priority: P2
            Bug ID: 53553
          Assignee: dev@tomcat.apache.org
           Summary: [PATCH] Deploy uploaded WAR with context.xml from
                    server
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: carlantonlindstrom@gmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Manager
           Product: Tomcat 7

Created attachment 29068
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29068&action=edit
Feature: Deploy uploaded WAR with local context descriptor

With this patch it’s possible to specify a local context.xml when uploading a
WAR. 


Example:

Deploy application.war on /app using the context descriptor
/path/to/app-context.xml on the server:

$ curl --upload-file application.war
'http://localhost:8080/manager/text/deploy?path=/app&config=/path/to/app-context.xml'


Tomcat manager can already deploy a local WAR and a local context.xml, but we
needed to upload the WAR from our CI-server. This way we can separate
environment
specific / sensitive settings (database config etc.) from the build server.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org