You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Nicolas Jessus <ni...@philips.com> on 2000/05/11 18:00:47 UTC

other/6071: The use of a different ServletContext for each loaded servlet does not comply with ServletContext specs in the API 2.2 (possibly 2.0)

>Number:         6071
>Category:       other
>Synopsis:       The use of a different ServletContext for each loaded servlet does not comply with ServletContext specs in the API 2.2 (possibly 2.0)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Thu May 11 09:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     nicolas.jessus@philips.com
>Release:        1.3.11
>Organization:
apache
>Environment:
Solaris 7, JDK 1.2.2, Servlet API 2.2
>Description:
The API 2.2 ServletContext specifications state 'There is one context per "web application" per Java Virtual Machine', where web application can be understood as 'zone'.
However, as far as I understand the code of JServ's org.apache.jserv.JServServletManager, a different ServletContext is given to each loaded servlet. This is a major hindrance when trying to use shared memory without a dedicated servlet (which becomes a bottleneck).
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]