JBoss startup process

xiaoxiao2021-03-06  44

JBoss startup process When JBoss starts, the first thing to do is to create an MBean service instance (Javax.Management.mbeanserver). JMX MBean serves a role in the role in the JBOSS architecture. All other manageable MBEAN components need to be registered on the MBean service. This seems that this kernel is just a framework and does not provide specific functions. The specific function is provided by other MBeans, in fact, all JBoss components are manageable MBeans, which are associated with MBean services. Startup Process 1.Run script call org.jboss.main.main (String []) to initialize the startup order. 2. Main.main method Create a thread group called JBoss and starts a thread from it. This thread calls the main.boot method. 3. Main.boot method handles main.main's parameters and then creates an org.jboss.system.server.jboss.System.Server.jboss.System.Server.jboss.System.Server.jboss.System.Server.jboss.System.Server.jboss.System.Server.jboss.System.Server.jboss.System.Server.jboss.System.Server.jboss.System.Server.jboss.System.Server.Jboss.System.Server.jboss.System.Server.ServerLoader is created according to the additional attribute specified by the system properties. 4.xml Analytical Library, JBoss-JMx.jar, Concurrent.jar and other libraries and classpath are provided to ServerLoader registration as parameters. 5. Jboss server instance is created by the ServerLoader.Load (ClassLoader) method. The returned server instance is an implementation to the org.jboss.system.Server.Server interface. 6. The server instance is initialized via Server.init (Properties). 7. The server instance is started via the server.start () method.

转载请注明原文地址:https://www.9cbs.com/read-53463.html

New Post(0)