You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Marek Schmidt (JIRA)" <ji...@apache.org> on 2016/08/18 11:08:20 UTC
[jira] [Commented] (DELTASPIKE-1195) Servlet module forces
application to use distributed sessions
[ https://issues.apache.org/jira/browse/DELTASPIKE-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15426272#comment-15426272 ]
Marek Schmidt commented on DELTASPIKE-1195:
-------------------------------------------
Per serlvet spec, "The web.xml resulting from the merge is considered <distributable>
only if all its web fragments are marked as <distributable> as well."
If you don't want your application to be distributable, you can just have any non-distributable web fragment in it.
> Servlet module forces application to use distributed sessions
> -------------------------------------------------------------
>
> Key: DELTASPIKE-1195
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1195
> Project: DeltaSpike
> Issue Type: Bug
> Components: Servlet-Module
> Affects Versions: 1.7.1
> Reporter: Klaasjan Brand
> Priority: Minor
>
> The deltaspike-servlet-module-impl jar contains a web-fragment.xml file containing a <distributable /> tag. This forces every web application including this jar file to support distributed sessions.
> I know it's possible to disable the parsing of fragments, but we use fragments for other libraries. Besides, I don't think it's the responsibility of deltaspike to decide if web application sessions are distributable.
> Could you consider removing this line?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)