[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Stat duration of web application inb Tomcat  XML
Forum Index -> Deployment
Author Message
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

...the startup performance of Tomcat 7 can be nicely influenced by setting paramter "metadata-comolet="true"" in the web.xml:

Code:
 <web-app xmlnssi="http://www.w3.org/2001/XMLSchema-instance" 
          xmlns="http://java.sun.com/xml/ns/javaee" 
          xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" 
          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee <a href="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" target="_blank" rel="nofollow">http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd</a>" 
          id="WebApp_ID" 
          version="3.0"
         metadata-complete="true">
 


Tomcat docu says: Setting metadata-complete="true" disables scanning your web application and its libraries for classes that use annotations to define components of a web application (Servlets etc.). (from: http://wiki.apache.org/tomcat/HowTo/FasterStartUp)

Inside CaptainCasa there is no usage of annotations - everything is "directly" declared in web.xml and faces-config.xml.

Regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Deployment
Go to:   
Powered by JForum 2.1.6 © JForum Team