Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7907047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T11:14:45+00:00 2026-06-03T11:14:45+00:00

Similar to the question Jetty startup delay the startup time for a Jetty 8.1.2

  • 0

Similar to the question Jetty startup delay the startup time for a Jetty 8.1.2 raises with increasing amount of dependencies in the WEB-INF/lib directory. (20mb ~60 to 90 seconds)

With DEBUG enabled (-Dorg.eclipse.jetty.LEVEL=DEBUG, see also this Answer Enable Jetty DEBUG) the following line occurs massively in output:

2012-04-27 11:13:38.095:DBUG:oeju.Scanner:scanned [/home/.../workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmpX/webapps]: {}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T11:14:46+00:00Added an answer on June 3, 2026 at 11:14 am

    This is a normal process since Servlet-API 2.5 which is looking for Servlet related Annotations in all Classes and Jars. Normally this could be avoided with the “metadata-complete” option in the web.xml:

    <web-app metadata-complete="true" ...>
    

    In Jetty 8.1.2 this is recognized due startup by the AnntionConfiguration Class but the scanning process occurs anyway. This is an known ISSUE Jetty 8.1.2 scans all classes on classpath if there is >= 1xServletContainerInitializer with HandlesTypes on the classpath, regardless of metadata-complete=”true” for Jetty 8.1.2.

    A workaround is to use a pattern to limit the JAR files which will be included in the scanning process. E.g. in Eclipse you can append the following snippet to the “jetty-context.xml” in “/home/…/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmpX/contexts/appname.xml” file:

    <Call name="setAttribute">
        <Arg>org.eclipse.jetty.server.webapp.WebInfIncludeJarPattern</Arg>
        <Arg>.*/.*myPrefixedJarToScan1-[^/]\.jar$|.*/.*myPrefixedJarToScan2-[^/]\.jar$</Arg>
    </Call>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is philosophically similar to a question that's come up time and time
AS the question says Can jetty integrate with Apache similar to hot Tomcat does
A similar question was already asked ( Performing a Stress Test on Web Application?
Similar question: How to mimic UITableView's UITableViewStylePlain section header style No complete answers. BarrettJ's
Similar question , but for Oracle. Why would I not always want to choose
Similar question: Best Resources for Learning AS3 I am interested in learning AS3 and
A similar question was asked here: PHP variable like $myvar-test is not valid? And
A similar question Long in Float, why? here does not answer what I am
A similar question was asked here Serving images from outside of document root The
A similar question was asked here but without a satisfying answer. I'm trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.