This content has been marked as final.
Show 2 replies
-
1. Re: 6.0 M2 startup time
jaikiran Feb 25, 2010 11:31 PM (in response to misqu23)Does your .ear file contain any .war files? If yes, does that .war have .jar files in the WEB-INF/lib folder? If it does (and if your application is not a Servlet 3.0 application) then add a file named jboss-scanning.xml to the .war/WEB-INF folder with the following contents:
<scanning xmlns="urn:jboss:scanning:1.0"> <!-- Purpose: Disable scanning for annotations in contained deployment. --> </scanning>
See if it makes a difference.
-
2. Re: 6.0 M2 startup time
misqu23 Feb 26, 2010 7:06 AM (in response to jaikiran)Thanks a lot
It really works. Now it's starts up in less 1 minut and 30 seconds. Wow, what a great improvement.
Right now I'm not using servlet 3.0 but in the future I'm going to migrate to servlet 3 and abandon google-guice, so I know how to control the process of scanning.
Once again, thanks a lot.