[jboss-user] issue with slow statup of Jboss
Muhammad Kashif
kashif.live at live.com
Fri Feb 6 00:01:22 EST 2009
Hi All,
Sorry to disturb every1 here but i am unable to get the fix
of my issue even i have posted my question on forum. but no answer yet. so i am
sending an email. hopefully you people wont mind it.
I
deploy my application in jboss 5.0 and it takes almost 4 and half minute to start up. i
dont know why is it taking so long to start. when i deploy same application in
tomcat then tomcat starts only in 20-25 seconds. though i know there is no
comparison of Jboss and Tomcat. but then 2 it shouldn't take so long.
also i can see that when jboss reaches to my application then it takes
almost same time to load my application as tomcat take (as i can in logs). means
both are taking same time but jboss is spending alot of time doing something
else prior to deploying my application... how can i fix it...
I ll be
very thankful to u if u can help me... here are the logs of
jboss...
Wt i see is that Jboss is
waiting for something at some point (highlighted below) from 19:04:17 to
19:06:00.
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: http://192.168.0.86:8083/
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://192.168.0.86/jndi/rmi://192.168.0.86:1090/jmxconnector
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-0.0.0.0-8080
19:06:12,861 INFO [AjpProtocol] Initializing Coyote
AJP/1.3 on ajp-127.0.0.1-8009
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
also how can i avoid from
deployment of unnecessary things like JBoss Web Services,Quartz Scheduler and
jbossws-management.war like components. i just want my application to be
deployed. i dont have any interest in other services. hope you understand my
problem.
Thanks in anticipation.
Thanks &
Regards,
Muhammad
Kashif
_________________________________________________________________
Windows Live™: E-mail. Chat. Share. Get more ways to connect.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_022009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20090206/5bdee260/attachment.html
More information about the jboss-user
mailing list