You can configure exclusion jars so that Tomcat doesn't scan them.
See the system property
tomcat.util.scan.DefaultJarScanner.jarsToSkip
that can be set in catalina.properties
http://svn.apache.org/viewvc/tomcat/trunk/conf/catalina.properties?view=anno
tate
Filip
> -----Original Message-----
> From: Romain Manni-Bucau [mailto:[email protected]]
> Sent: Monday, March 19, 2012 11:59 AM
> To: [email protected]
> Subject: Re: tomee-loader project and Servlet 3.0 annotations
>
> Hi,
>
> Is the web.xml in v 3.0? IMHO we should stay in 2.5 to avoid tomcat
> scanning.
>
> - Romain
>
> Le 19 mars 2012 18:37, "Thiago Veronezi" <[email protected]> a écrit :
>
> > Hi guys,
> >
> > I finally got some time to get back to the UI task after great vacations
> > and a busy "end of sprint" week. I realized that the Servlet 3.0
annotation
> > to define servlets stop working for our application (tomee-loader ->
> > JndiServlet and TestSertlet), but it is still working fine for other
> > applications. It is not a blocker (I still can use the web.xml to define
> > the servlets), but I would like to use those new Servlet 3.0 features
;O)
> >
> > Can you guys give me a direction to where to look in order to fix it?
> >
> > []s,
> > Thiago.
> >