[Beginners Corner] - Re: Starting JBoss
by millerdl
Thanks. I was afraid of that. I am looking for more detailed start up information than what is provided by starting JBoss AS from Main.main(). Reading that documentation I was hoping that I could get that detail via the exceptions it was throwing because they sounded more like what I was hoping to see. Because of where it was located though, I assumed that start() was related to JMX although I could not find something explicit to that. I am just trying to detail more information on start up and shutdown scenarios for our automated activation of JBoss AS. Catching exception is pretty general, but maybe there are better ways to tell if the individual parts of the server have properly started. Thanks.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213840#4213840
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213840
13 years, 11 months
[Performance Tuning] - Improving Startup time - JARDeployer wasteful scanning?
by curious_george
Hi, I'm using JBoss 4.0.4 GA on a Red Hat Linux 4 box. Our app server previously took 10 minutes to startup, but we managed to cut it in half thanks to many of the suggestions here! (especially through editing the JARS Ignored For Scanning list in the EJB3 Deployer).
However, I'm still trying to improve the speed. In the server.log file, I see hundreds of messages like the following:
[org.jboss.deployment.JARDeployer] No xml files found
Turning up the TRACE settings, I see that the RepositoryClassLoader is having the JARDeployer scan hundreds of jar files to determine if a descriptor xml file exists in the META-INF directory.
After the JARDeployer determines that there are no relevant xml files in the JAR file, it passes it to a Unified Class Loader, as noted in the following line:
2009-02-26 18:35:29,833(GMT-7) DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/opt/jboss-4.0.4.GA/server/default/deploy/liferay-extranet.ear/lib/secure-filter.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3@7cd61b{ url=file:/opt/jboss-4.0.4.GA/server/default/deploy/liferay-extranet.ear/ ,addedOrder=53}
My questions is this: Is there any way to "speed up" this process? Scanning every file within the JAR seems wasteful and adds about minute to the startup time.
Ideally, I was hoping I could provide a list of jars so that they are not scanned to see if descriptor xml files exist in there - so far I can't find an Ignore list, like I found with the EJB3 deployer!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213832#4213832
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213832
13 years, 11 months