[
https://issues.apache.org/jira/browse/CXF-2209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Stanley updated CXF-2209:
------------------------------
Attachment: context_xml_patch.txt
Patch attached (cut @ /trunk/distribution/src/main/release/samples)
> Add support for tomcat's context.xml in cxf webapp samples
> ----------------------------------------------------------
>
> Key: CXF-2209
> URL: https://issues.apache.org/jira/browse/CXF-2209
> Project: CXF
> Issue Type: Improvement
> Components: Build system
> Affects Versions: 2.2.1
> Environment: All platforms, 2.2.x and earlier.
> Reporter: Dave Stanley
> Attachments: context_xml_patch.txt
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Sometimes a tomcat webapp will use a context.xml to define certain app
> behaviours, JNDI resources and other settings.
> This issue provides an enhancement to the java_first_spring_support demo (and
> other demos that use the cxfwar macro) to package a context.xml, such that
> anyone needing this functionality can leverage the existing cxf macro's if
> desired.
> Addtional Notes:
> The context.xml file is installed in the META-INF folder of the war, as
> META-INF/context.xml. The META-INF folder belongs at the same level as
> WEB-INF (vs inside it), for example.
> {code}
> index.jsp
> /WEB-INF
> web.xml
> /lib
> myjar.jar
> /classes
> myclass.class
> /META-INF
> context.xml
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.