-
1. How to remove the pause during JBoss 5.1.0 GA boot between ProfileServiceBootstrap and AnnotationCreator?
jaikiran Jan 15, 2011 8:49 AM (in response to rrc7cz)Robert, welcome to the forums!
1) That's actually not a pause. There's some deployment work going on during startup, it's just that it's not logged at INFO level. You might be able to find the details in server.log (if it is enabled for DEBUG level logging).
2) Is this a clean installation of JBoss AS 5.1.0? Or does it have any of your application(s) deployed?
3) How are you starting the server? From command prompt or from some IDE?
4) Which Operating system is this and which Java vendor and version?
5) Is JBoss AS 5.1.0 a absolute necessity or can you try JBoss AS 6.0.0.Final (which has shown better boot time)?
-
2. How to remove the pause during JBoss 5.1.0 GA boot between ProfileServiceBootstrap and AnnotationCreator?
rrc7cz Jan 17, 2011 5:59 AM (in response to jaikiran)Hi Jaikiran, thanks for the reply.
1. Yes, the boot.log shows much more information at the DEBUG level. Thanks.
2. I have some artifacts deployed: two datasources and two wars. I started with the web profile and removed things that weren't needed.
3. Both. Whether I start from the command line with "run -c myprofile" or from the IDE with myprofile, it's the same boot sequence.
4. Windows XP SP3 32 bit, Sun 1.6 JVM
5. I've tried JBoss 6 and it was actually much slower + failed. It failed because we are using one library in our WAR that uses Scala and the annotation scanning blows up when it encounters anonymous classes with $ in their name. I found a Jira issue logged for this. I tried to turn off annotation scanning, but no matter what I tried (including the whole jboss-scanning.xml thing) it never turned off. The only workaround was to move this library into the profile/lib folder where it wouldn't be scanned, but then booting was still slower.
-
3. How to remove the pause during JBoss 5.1.0 GA boot between ProfileServiceBootstrap and AnnotationCreator?
jaikiran Jan 17, 2011 6:23 AM (in response to rrc7cz)Robert Campbell wrote:
Okay, so the timings include your app deployment then.
Robert Campbell wrote:
The only workaround was to move this library into the profile/lib folder where it wouldn't be scanned, but then booting was still slower.If JBoss AS 6.0.0.Final is an option for you, then I would strongly recommend that you use it. As for the boot time, can you provide a bit more details including any relevant logs and the actual timings on AS 6.0.0.Final?