You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (Created) (JIRA)" <ji...@apache.org> on 2012/02/27 01:29:03 UTC
[jira] [Created] (TOMEE-144) Eliminate servlet-specific double scan
Eliminate servlet-specific double scan
--------------------------------------
Key: TOMEE-144
URL: https://issues.apache.org/jira/browse/TOMEE-144
Project: TomEE
Issue Type: Improvement
Reporter: David Blevins
Assignee: David Blevins
Fix For: 1.0.0-beta-3
Lack of cooperation at a code level causes the classpath to be scanned extra time while processing @WebServlet, @WebFilter and similar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TOMEE-144) Eliminate servlet-specific double
scan
Posted by "David Blevins (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TOMEE-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222038#comment-13222038 ]
David Blevins commented on TOMEE-144:
-------------------------------------
ContextConfig line 1821
protected void processAnnotationsUrl(URL url, WebXml fragment) {
if (url == null) {
// Nothing to do.
return;
} else if ("jar".equals(url.getProtocol())) {
processAnnotationsJar(url, fragment);
} else if ("jndi".equals(url.getProtocol())) {
processAnnotationsJndi(url, fragment);
} else if ("file".equals(url.getProtocol())) {
try {
processAnnotationsFile(new File(url.toURI()), fragment);
} catch (URISyntaxException e) {
log.error(sm.getString("contextConfig.fileUrl", url), e);
}
} else {
log.error(sm.getString("contextConfig.unknownUrlProtocol",
url.getProtocol(), url));
}
}
First need a larger webapp to test with. Something with no descriptors, say 5 or more jars, some classes and roughly 10 or 20 MB in size. All the jars should have made-up names so as to not be excluded via the default excludes.
> Eliminate servlet-specific double scan
> --------------------------------------
>
> Key: TOMEE-144
> URL: https://issues.apache.org/jira/browse/TOMEE-144
> Project: TomEE
> Issue Type: Improvement
> Reporter: David Blevins
> Assignee: David Blevins
> Fix For: 1.0.0-beta-3
>
>
> Lack of cooperation at a code level causes the classpath to be scanned extra time while processing @WebServlet, @WebFilter and similar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TOMEE-144) Eliminate servlet-specific double
scan
Posted by "David Blevins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TOMEE-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264768#comment-13264768 ]
David Blevins commented on TOMEE-144:
-------------------------------------
2012-04-05 - http://svn.apache.org/viewvc?view=revision&revision=1310035 - dblevins
2012-04-07 - http://svn.apache.org/viewvc?view=revision&revision=1310947 - dblevins
> Eliminate servlet-specific double scan
> --------------------------------------
>
> Key: TOMEE-144
> URL: https://issues.apache.org/jira/browse/TOMEE-144
> Project: TomEE
> Issue Type: Improvement
> Reporter: David Blevins
> Assignee: David Blevins
> Fix For: 1.0.0
>
>
> Lack of cooperation at a code level causes the classpath to be scanned extra time while processing @WebServlet, @WebFilter and similar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (TOMEE-144) Eliminate servlet-specific double scan
Posted by "David Blevins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TOMEE-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Blevins closed TOMEE-144.
-------------------------------
Resolution: Fixed
> Eliminate servlet-specific double scan
> --------------------------------------
>
> Key: TOMEE-144
> URL: https://issues.apache.org/jira/browse/TOMEE-144
> Project: TomEE
> Issue Type: Improvement
> Reporter: David Blevins
> Assignee: David Blevins
> Fix For: 1.0.0
>
>
> Lack of cooperation at a code level causes the classpath to be scanned extra time while processing @WebServlet, @WebFilter and similar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira