Author: chetanm Date: Mon Aug 10 11:49:06 2015 New Revision: 1695029 URL: http://svn.apache.org/r1695029 Log: OAK-3185 - Port and refactor jackrabbit-webapp module to Oak (WIP)
Disable Jetty auto scanning of classpath which slowsdown startup considerably as we are not using any such feature. This is based on http://stackoverflow.com/a/29475147/1035417 Modified: jackrabbit/oak/trunk/oak-examples/webapp/pom.xml Modified: jackrabbit/oak/trunk/oak-examples/webapp/pom.xml URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-examples/webapp/pom.xml?rev=1695029&r1=1695028&r2=1695029&view=diff ============================================================================== --- jackrabbit/oak/trunk/oak-examples/webapp/pom.xml (original) +++ jackrabbit/oak/trunk/oak-examples/webapp/pom.xml Mon Aug 10 11:49:06 2015 @@ -188,6 +188,12 @@ <maxIdleTime>60000</maxIdleTime> </connector> </connectors> + <webApp> + <!-- no need to scan anything as we're using servlet 2.5 and moreover, we're not using ServletContainerInitializer(s) --> + <!-- for more relevant information regarding scanning of classes refer to https://java.net/jira/browse/SERVLET_SPEC-36 --> + <webInfIncludeJarPattern>^$</webInfIncludeJarPattern> + <containerIncludeJarPattern>^$</containerIncludeJarPattern> + </webApp> </configuration> </plugin> <plugin>
