lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3309) Slow WAR startups due to annotation scaning (affects Jetty 8)
Date Mon, 21 May 2012 21:45:40 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280530#comment-13280530
] 

Hoss Man commented on SOLR-3309:
--------------------------------

James: Unless I'm missing something, the specifics of whether it's "j2ee" or "javaee" shouldn't
matter to XML parser (or the servlet container).  All that should matter is that each of the
schemaLocation keys listed correspond to an xml namespace being used. (ie: you changed http://java.sun.com/xml/ns/j2ee
-> http://java.sun.com/xml/ns/javaee in two places, but as long as those two places are
the same it shouldn't matter what we use ... i think it could be "http://giberish-foo/uwesays"
and it should still work).  

So it seems like maybe your jboss configuration has something wonky going on?

I'm inclined to think we should be consistent with the examples in the 2.5 spec...

http://download.oracle.com/otn-pub/jcp/servlet-2.5-mrel2-eval-oth-JSpec/servlet-2_5-mrel2-spec.pdf

...(see pages 153 & 154) which use j2ee -- but oddly enough the example snippets embedded
in the 2.5 XSD (using xsd:documentation tags) use "javaee"...

http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd

...so apparently the spec and the xsd shipped with the spec are inconsistent?  which i guess
means feel free to change it to follow the examples in the XSD?


                
> 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: Hoss Man
>             Fix For: 4.0
>
>         Attachments: 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message