Hi,
I am experiencing very long startup times on a clean installation of JBossESB 4.5. The culprit seems to be the "InventoryManager" component which takes ages to start. I am not knowledgeable in it, but it seems to be scanning the network for something and takes a long time to time out.
Here are characteristic fragments from the log:
2009-05-23 12:08:07,624 INFO [org.rhq.core.pc.inventory.AutoDiscoveryExecutor] Executing server discovery scan...
15 second pause here
...
...
2009-05-23 12:08:22,749 INFO [org.rhq.plugins.tomcat.TomcatDiscoveryComponent] Discovering Tomcat servers
2009-05-23 12:08:27,592 INFO [org.rhq.core.pc.inventory.AutoDiscoveryExecutor] Found 0 servers.
15 second pause here
2009-05-23 12:08:35,108 INFO [org.rhq.core.pc.inventory.InventoryManager] Detected new Server [Resource[id=-4, type=Embedded Tomcat Server, key=jboss-web.deployer, name=MYCOMPUTER Embedded JBossWeb Server 2.0.1.GA (127.0.0.1), version=2.0.1.GA]] - adding to local inventory...
20 second pause here
2009-05-23 12:09:55,092 INFO [org.jboss.on.embedded.BootstrapAction] Done bootstrapping Administration Console.
...
11:58:17,545 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 3m:31s:406ms
So, nearly one minute out of the start time is during this discovery process. Any suggestions on how to improve thing?
You may see more at DEBUG level, what does it say in the server.log?
Kev