lucene-dev mailing list archives

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

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

James Dyer commented on SOLR-3309:
----------------------------------

Jboss 5.1.0 won't start with the new <web-app /> declaration.  This works, however:

{code:xml}
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
         version="2.5"
         metadata-complete="true"
>
{code:xml}

(changing "j2ee" to "javaee").  I do not know, however, if this is a problem with Jboss or
if what we have in Trunk currently is incorrect ?
                
> 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