[
https://issues.apache.org/jira/browse/TUSCANY-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ilya Kanonirov updated TUSCANY-2320:
------------------------------------
Issue Type: Bug (was: Improvement)
> The contextPath init parameter for TuscanyServletFilter.
> --------------------------------------------------------
>
> Key: TUSCANY-2320
> URL: https://issues.apache.org/jira/browse/TUSCANY-2320
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Web App Integration
> Affects Versions: Java-SCA-1.2
> Reporter: Ilya Kanonirov
> Assignee: ant elder
> Attachments: tuscany-host-webapp-1.2-TUSCANY-2320.jar
>
>
> Current version of the component requires the contextPath initialization
> parameter to be specified in the Servlet Context, i.e. we need the following
> context-param in web.xml:
> <web-app
> ...
> <context-param>
> <param-name>contextPath</param-name>
> <param-value>/ctx</param-value>
> </context-param>
> ...
> </webapp>
> while the previous Java SCA 1.1 required that parameter at the filter
> description level:
> <web-app
> ...
> <filter>
> <filter-name>tuscany</filter-name>
>
> <filter-class>org.apache.tuscany.sca.host.webapp.TuscanyServletFilter</filter-class>
> <init-param>
> <param-name>contextPath</param-name>
> <param-value>/ctx</param-value>
> </init-param>
> </filter>
> ...
> </webapp>
> Is that parameter supposed to be there, defined at the Servlet Context level?
> If yes, I would suggest renaming the parameter to avoid confusing. For
> example, adding a package prefix might be enough.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.