[jboss-user] [Installation, Configuration & DEPLOYMENT] - How to reduce Jboss Startup Time

kashif_jboss do-not-reply at jboss.com
Tue Feb 3 04:53:38 EST 2009

Hi All,

Sorry if i am posting this question again but i m unable to find its answer. 

i have just installed Latest Jboss 5.0. and have deployed my application successfully. but my problem is that Jboss is takeing 2 much time to start. in parallel i am using tomcat to deploy my application and it takes only 15-20 seconds to deploy my application. but Jboss takes almost 4 minutes to deploy it. 

Wt i see is that Jboss is waiting for something at some point. here is logs..

19:03:31,989 INFO  [ServerInfo] OS-System: Linux 2.6.18-92.el5xen,i386
19:03:32,108 INFO  [JMXKernel] Legacy JMX core initialized
19:03:42,900 INFO  [ProfileServiceImpl] Loading profile: default from: 

org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository at 6a150e(root=/u/bin/jboss-5.0.0.GA/server, 

key=org.jboss.profileservice.spi.ProfileKey at 143b82c3[domain=default,server=default,name=default])
19:03:42,906 INFO  [ProfileImpl] Using 

repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository at 6a150e(root=/u/bin/jboss-5.0.0.GA/server, 

key=org.jboss.profileservice.spi.ProfileKey at 143b82c3[domain=default,server=default,name=default])
19:03:42,907 INFO  [ProfileServiceImpl] Loaded profile: 

ProfileImpl at 659812{key=org.jboss.profileservice.spi.ProfileKey at 143b82c3[domain=default,server=default,name=default]}
19:03:51,292 INFO  [WebService] Using RMI server codebase:
19:04:17,531 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
19:04:17,532 INFO  [NativeServerConfig] 3.0.4.SP1
19:06:00,826 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://
19:06:01,764 INFO  [MailService] Mail Service bound to java:/Mail 19:06:08,937 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component 

which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging 

user guide for instructions on how to do this.
19:06:09,085 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
19:06:09,497 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
19:06:09,497 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
19:06:10,256 INFO  [TransactionManagerService] Initializing recovery manager
19:06:10,719 INFO  [TransactionManagerService] Recovery manager configured
19:06:10,719 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
19:06:10,810 INFO  [TransactionManagerService] Starting transaction recovery manager
19:06:12,858 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-
19:06:12,861 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-
19:06:12,862 INFO  [StandardService] Starting service jboss.web
19:06:12,870 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.GA
19:06:13,002 INFO  [Catalina] Server startup in 719 ms
19:06:13,090 INFO  [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
19:06:15,550 INFO  [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
19:06:16,868 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war

i can easily see that jboss is stuck at some point and waiting for some thing for almost 2 minutes(from 3.53 to 6.01 minutes)... dont know wt is this...and wt iit is doing there.....

also i know that it deploys alot of unnecessary things that are not required by me on default setting. 

so can anyone please tell me how can i reduce its startup time? 

Thanks in advance. 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206470#4206470

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206470

More information about the jboss-user mailing list