-
1. Re: Slow Boot Up - JBoss AS 5.1.0.GA
jaikiran May 4, 2010 6:04 AM (in response to arkmobile)Slow bootup time is a known issue in AS 5.1.0.
it seems to hang for about 25 seconds between the [LogNotificationListener] and the [Ejb3DependenciesDeployer]
Actually, it doesn't hang. It gives you an impression that it hangs because there's no INFO level logging at that time. What time does it take for your clean server to startup? And what OS do you have and what machine configurations?
-
2. Re: Slow Boot Up - JBoss AS 5.1.0.GA
arkmobile May 4, 2010 10:33 AM (in response to jaikiran)I am running JBoss AS on Windows 7, 64bit with 8GB ram.
10:26:09,872 INFO [ServerInfo] Java version: 1.5.0_22,Sun Microsystems Inc. 10:26:09,872 INFO [ServerInfo] Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03) 10:26:09,872 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 1.5.0_22-b03,Sun Microsystems Inc. 10:26:09,872 INFO [ServerInfo] OS-System: Windows 7 6.1,amd64
and these are my VM arguments-Dprogram.name="JBossTools: JBoss 5.1 Runtime" -Xms512m -Xmx1024m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs="C:\Development\JBoss\jboss-5.1.0.GA\lib\endorsed" -Djavax.net.ssl.trustStore="C:\Development\JBoss\jboss-5.1.0.GA\server\default\conf\dev.truststore" -Djavax.net.ssl.trustStorePassword=password
A clean boot time:"Started in 35s:631ms" but typically is see closer to 1 minute. Here is a snippit from the clean boot log:
10:26:19,314 INFO [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@626bd9e0[ defaultDomain='jboss' ] 10:26:30,380 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@1701597359{vfsfile:/C:/Development/JBoss/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/} 10:26:30,380 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@1701597359{vfsfile:/C:/Development/JBoss/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/} 10:26:30,380 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@1701597359{vfsfile:/C:/Development/JBoss/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/} 10:26:30,380 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@1701597359{vfsfile:/C:/Development/JBoss/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
-
3. Re: Slow Boot Up - JBoss AS 5.1.0.GA
peterj May 4, 2010 10:58 AM (in response to arkmobile)1 of 1 people found this helpfulYou didn't mention what processor you have, but I have the same configuration with a quad-core processor @2.4Ghz and my start times are also around 30-35 seconds. So the times you mention are not out of line with what others are experiencing. Of course, if I have apps deployed it takes longer - I was recently working with Riftsaw and the boot times were 90 seconds or longer.
Just for the record, a clean 4.2.3 starts in 10-15 seconds.
-
4. Re: Slow Boot Up - JBoss AS 5.1.0.GA
jaikiran May 4, 2010 11:00 AM (in response to arkmobile)Aaron Kirley wrote:
A clean boot time:"Started in 35s:631ms"
That's kind of "normal" for AS 5.1.0
Aaron Kirley wrote:
*Maybe* you are affected by these:
https://jira.jboss.org/jira/browse/JBCL-117
-
5. Re: Slow Boot Up - JBoss AS 5.1.0.GA
arkmobile May 4, 2010 2:41 PM (in response to jaikiran)Peter - I have a 3.1 GHz Dual Core processor so i guess my startup time is in line with what's "normal".
Jaikiran - I checked out the two jira's and i tried booting up with both of the patched jar files (jboss-classloader.jar and jboss-vfs.jar) but the boot time didn't improve. Unless there is more to installing the patch than swapping out the old jars with the new, then I guess we can assume this isn't a DNS issue.
I tried to tinker with the logging levels but I still can't see what is causing the delay between [LogNotificationListener] and [Ejb3DependenciesDeployer].
-
6. Re: Slow Boot Up - JBoss AS 5.1.0.GA
saltnlight5 May 10, 2010 5:21 PM (in response to arkmobile)If you are not using EJB, then why not try the "web" server configuration? It starts 3-4 times faster than the "default". If you are using even less than those services provided, try the "minimal", it's pretty bare and quick.
/Z
-
7. Re: Slow Boot Up - JBoss AS 5.1.0.GA
arkmobile May 11, 2010 2:08 PM (in response to saltnlight5)Thank you, that fixed the slow boot up issue for me.
-
8. Slow Boot Up - JBoss AS 5.1.0.GA
stauil Feb 17, 2011 6:22 AM (in response to arkmobile)Aaron and what about the patch? resolved or you just switch the server profile as workaround?