[
https://issues.apache.org/jira/browse/SOLR-3309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Dyer updated SOLR-3309:
-----------------------------
Attachment: SOLR-3309.patch
The original commit for this issue followed a misprint in the 2.5 servlet spec
on the examples, pages 153-4
(http://download.oracle.com/otn-pub/jcp/servlet-2.5-mrel2-eval-oth-JSpec/servlet-2_5-mrel2-spec.pdf).
While this works on Tomcat7 & Jetty8, it does not work with Jboss5 (which
apparently is doing strict verification). This patch follows the information
on page 109ff of the same specification and also the xsd file at
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd (note: There is no xsd file
available at http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd). I have tested
this with JBoss5, Tomcat7 & the Jetty8-based solr example.
I will commit shortly unless anyone disagrees.
> Slow WAR startups due to annotation scaning (affects Jetty 8)
> -------------------------------------------------------------
>
> Key: SOLR-3309
> URL: https://issues.apache.org/jira/browse/SOLR-3309
> Project: Solr
> Issue Type: Bug
> Reporter: Bill Bell
> Assignee: James Dyer
> Fix For: 4.0
>
> Attachments: SOLR-3309.patch, SOLR-3309.patch
>
>
> Need to modify web.xml to increase the speed of container startup time. The
> header also appears to need to be modified...
> http://mostlywheat.wordpress.com/2012/03/10/speeding-up-slow-jetty-8-startups/
> http://www.javabeat.net/articles/print.php?article_id=100
> Adding 'metadata-complete="true"' to our web.xml's web-app restored our
> startup time to 8 seconds.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]