Dubbo:搭建管理控制台(dubbo-admin)

参考:https://blog.csdn.net/fly910905/article/details/86212400

1. 下载dubbo-admin

官网地址:https://github.com/apache/incubator-dubbo/tree/2.5.x

 

2. dubbo-admin配置

进入 dubbo-admin-2.5.10/WEB-INF目录修改dubbo.properties文件:

  1. 注册中心地址(这里用的是zookeeper)
  2. 用户密码(注意:root用户的密码是root,guest用户的密码是guest)

 

 

 

  1. dubbo.registry.address=zookeeper://127.0.0.1:2181
  2. dubbo.admin.root.password=root
  3. dubbo.admin.guest.password=guest

3. dubbo-admin启动

启动方式1:

  1. 在dubbo-2.5.x目录执行 mvn clean package -Dmaven.test.skip=true ;
  2. 在 apache-tomcat-7.0.10/bin 下执行 sh catalina.sh run 启动Tomcat。

启动方式2:

导入Eclipse或者idea启动

D:\Java\Tomcat\apache-tomcat-8.0.39-CapecYunPay\bin\catalina.bat run
[2019-01-09 11:00:21,405] Artifact dubbo-admin:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE:   "C:\Users\Administrator\.IntelliJIdea2018.1\system\tomcat\Unnamed_dubbo-parent"
Using CATALINA_HOME:   "D:\Java\Tomcat\apache-tomcat-8.0.39-CapecYunPay"
Using CATALINA_TMPDIR: "D:\Java\Tomcat\Idea\apache-tomcat-8.0.39\temp"
Using JRE_HOME:        "D:\Java\jdk\jdk1.8.0_111"
Using CLASSPATH:       "D:\Java\Tomcat\apache-tomcat-8.0.39-CapecYunPay\bin\bootstrap.jar;D:\Java\Tomcat\apache-tomcat-8.0.39-CapecYunPay\bin\tomcat-juli.jar"
09-Jan-2019 11:00:22.995 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.39
09-Jan-2019 11:00:23.000 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Nov 9 2016 08:48:39 UTC
09-Jan-2019 11:00:23.001 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.39.0
09-Jan-2019 11:00:23.001 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 7
09-Jan-2019 11:00:23.001 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            6.1
09-Jan-2019 11:00:23.001 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
09-Jan-2019 11:00:23.001 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             D:\Java\jdk\jdk1.8.0_111\jre
09-Jan-2019 11:00:23.001 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_111-b14
09-Jan-2019 11:00:23.001 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
09-Jan-2019 11:00:23.002 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Users\Administrator\.IntelliJIdea2018.1\system\tomcat\Unnamed_dubbo-parent
09-Jan-2019 11:00:23.002 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         D:\Java\Tomcat\apache-tomcat-8.0.39-CapecYunPay
09-Jan-2019 11:00:23.002 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dvisualvm.id=7924095844908
09-Jan-2019 11:00:23.003 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
09-Jan-2019 11:00:23.003 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
09-Jan-2019 11:00:23.006 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
09-Jan-2019 11:00:23.007 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
09-Jan-2019 11:00:23.007 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
09-Jan-2019 11:00:23.007 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
09-Jan-2019 11:00:23.007 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
09-Jan-2019 11:00:23.007 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\Administrator\.IntelliJIdea2018.1\system\tomcat\Unnamed_dubbo-parent\conf\logging.properties
09-Jan-2019 11:00:23.007 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
09-Jan-2019 11:00:23.008 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=D:\Java\Tomcat\apache-tomcat-8.0.39-CapecYunPay\endorsed
09-Jan-2019 11:00:23.008 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\Administrator\.IntelliJIdea2018.1\system\tomcat\Unnamed_dubbo-parent
09-Jan-2019 11:00:23.008 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\Java\Tomcat\apache-tomcat-8.0.39-CapecYunPay
09-Jan-2019 11:00:23.008 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\Java\Tomcat\Idea\apache-tomcat-8.0.39\temp
09-Jan-2019 11:00:23.008 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.10 using APR version 1.5.2.
09-Jan-2019 11:00:23.008 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
09-Jan-2019 11:00:24.115 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2j  26 Sep 2016)
09-Jan-2019 11:00:24.344 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-8082"]
09-Jan-2019 11:00:24.390 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-apr-8029"]
09-Jan-2019 11:00:24.402 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 2122 ms
09-Jan-2019 11:00:24.465 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
09-Jan-2019 11:00:24.466 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.39
09-Jan-2019 11:00:24.490 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-8082"]
09-Jan-2019 11:00:24.529 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-apr-8029"]
09-Jan-2019 11:00:24.542 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 139 ms
Connected to server
[2019-01-09 11:00:25,038] Artifact dubbo-admin:war exploded: Artifact is being deployed, please wait...
09-Jan-2019 11:00:37.448 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
INFO: configuring "log4j" using file:/D:/WorkSpace/demo/dubbo/incubator-dubbo-2.5.x/dubbo-admin/target/dubbo-admin-2.5.10/WEB-INF/log4j.xml
 - with property localAddress = 192.168.157.14
 - with property localHost = kf-PC
 - with property loggingCharset = UTF-8
 - with property loggingLevel = INFO
 - with property loggingRoot = C:\Users\Administrator\logs
 
 INFO context.ContextLoader - Root WebApplicationContext: initialization started
 INFO context.WebxComponentsContext - Refreshing Root WebApplicationContext: startup date [Wed Jan 09 11:00:38 CST 2019]; root of context hierarchy
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/webx.xml]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/common/webx-component-and-root.xml]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/common/pipeline-exception.xml]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/common/resources.xml]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/common/uris.xml]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/common/rewrite.xml]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [META-INF/spring/dubbo-admin.xml]
 INFO logger.LoggerFactory - using logger: com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter
 INFO config.PropertyPlaceholderConfigurer - Loading properties file from Resource[/WEB-INF/dubbo.properties, loaded by ResourceLoadingService]
 INFO config.PropertyPlaceholderConfigurer - Loading properties file from URL [file://C:/Users/Administrator/dubbo.properties]
 WARN config.PropertyPlaceholderConfigurer - Could not load properties from URL [file://C:/Users/Administrator/dubbo.properties]: C
 INFO config.WebxConfiguration - Application is running in Production Mode.
 INFO upload.UploadService - Upload Parameters: {
  Repository Path                  = D:\Java\Tomcat\Idea\apache-tomcat-8.0.39\temp
  Maximum Request Size             = 5M
  Maximum File Size                = n/a
  Threshold before Writing to File = 10K
  Keep Form Field in Memory        = false
  File Name Key                    = [
                                       [1/1] filename
                                     ]
}
 INFO context.WebxComponentsContext - Bean '(inner bean)#b86e708' of type [class com.alibaba.citrus.springext.util.SpringExtUtil$ConstructorArg] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.WebxComponentsContext - Bean 'dubbo-admin' of type [class com.alibaba.dubbo.config.ApplicationConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.WebxComponentsContext - Bean 'com.alibaba.dubbo.config.RegistryConfig' of type [class com.alibaba.dubbo.config.RegistryConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.WebxComponentsContext - Bean 'registryService' of type [class com.alibaba.dubbo.config.spring.ReferenceBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.WebxComponentsContext - Bean '(inner bean)#b86e708' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.InheritableListableBeanFactory - Pre-instantiating singletons in com.alibaba.citrus.springext.support.context.InheritableListableBeanFactory@24aaabee: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,com.alibaba.citrus.service.configuration.support.PropertyPlaceholderConfigurer#0,templateService,mappingRuleService,dataResolverService,exceptionPipeline,resourceLoadingService,messageSource,uriBrokerService,restfulRewrite,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dubbo-admin,com.alibaba.dubbo.config.RegistryConfig,registryService,configService,consumerService,overrideService,ownerService,providerService,routeService,userService,governanceCache,productionModeSensiblePostProcessor,webxConfiguration,requestContexts,com.alibaba.citrus.service.requestcontext.impl.RequestContextBeanFactoryPostProcessor#0,uploadService,pullService,formService,module.screen.Error404,module.screen.ErrorOther,moduleLoaderService,messageResourceService,com.alibaba.citrus.webx.context.WebxComponentsLoader$WebxComponentsCreator,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : initialization starting.
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : set path '/templates/common/'
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : initialization complete.
 INFO rule.ExtensionMappingRule - Initialized extension.input:ExtensionMappingRule with cache disabled
 INFO rule.ExtensionMappingRule - Initialized extension.output:ExtensionMappingRule with cache disabled
 INFO rule.DirectModuleMappingRule - Initialized action:DirectModuleMappingRule with cache disabled
 INFO rule.DirectModuleMappingRule - Initialized screen.notemplate:DirectModuleMappingRule with cache disabled
 INFO rule.FallbackModuleMappingRule - Initialized screen:FallbackModuleMappingRule with cache enabled
 INFO rule.DirectTemplateMappingRule - Initialized screen.template:DirectTemplateMappingRule with cache disabled
 INFO rule.FallbackTemplateMappingRule - Initialized layout.template:FallbackTemplateMappingRule with cache enabled
 INFO rule.DirectModuleMappingRule - Initialized control.notemplate:DirectModuleMappingRule with cache disabled
 INFO rule.FallbackModuleMappingRule - Initialized control:FallbackModuleMappingRule with cache enabled
 INFO rule.DirectTemplateMappingRule - Initialized control.template:DirectTemplateMappingRule with cache disabled
 INFO concurrent.ExecutionList -  [DUBBO] Executor for listenablefuture is null, will use default executor!, dubbo version: 2.0.1, current host: 192.168.157.14
 INFO zkclient.ZkEventThread - Starting ZkClient event thread.
 INFO zkclient.ZkClient - zookeeper state changed (SyncConnected)
 INFO config.AbstractConfig -  [DUBBO] Refer dubbo service com.alibaba.dubbo.registry.RegistryService from url zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?application=dubbo-admin&check=false&dubbo=2.0.1&file=false&pid=12672&refer=application%3Ddubbo-admin%26check%3Dfalse%26dubbo%3D2.0.1%26interface%3Dcom.alibaba.dubbo.registry.RegistryService%26methods%3Dlookup%2Cunsubscribe%2Csubscribe%2Cunregister%2Cregister%26pid%3D12672%26register.ip%3D192.168.157.14%26revision%3D2.0.1%26side%3Dconsumer%26timestamp%3D1547002860131&timestamp=1547002860192, dubbo version: 2.0.1, current host: 192.168.157.14
 INFO sync.RegistryServerSync -  [DUBBO] Init Dubbo Admin Sync Cache..., dubbo version: 2.0.1, current host: 192.168.157.14
 INFO zookeeper.ZookeeperRegistry -  [DUBBO] Subscribe: admin://192.168.157.14?category=providers,consumers,routers,configurators&check=false&classifier=*&enabled=*&group=*&interface=*&version=*, dubbo version: 2.0.1, current host: 192.168.157.14
 INFO zookeeper.ZookeeperRegistry -  [DUBBO] Subscribe: admin://192.168.157.14/org.apache.dubbo.demo.DemoService?category=providers,consumers,routers,configurators&check=false&classifier=*&enabled=*&group=*&interface=org.apache.dubbo.demo.DemoService&version=*, dubbo version: 2.0.1, current host: 192.168.157.14
 INFO zookeeper.ZookeeperRegistry -  [DUBBO] Notify urls for subscribe url admin://192.168.157.14/org.apache.dubbo.demo.DemoService?category=providers,consumers,routers,configurators&check=false&classifier=*&enabled=*&group=*&interface=org.apache.dubbo.demo.DemoService&version=*, urls: [empty://192.168.157.14/org.apache.dubbo.demo.DemoService?category=providers&check=false&classifier=*&enabled=*&group=*&interface=org.apache.dubbo.demo.DemoService&version=*, empty://192.168.157.14/org.apache.dubbo.demo.DemoService?category=consumers&check=false&classifier=*&enabled=*&group=*&interface=org.apache.dubbo.demo.DemoService&version=*, empty://192.168.157.14/org.apache.dubbo.demo.DemoService?category=routers&check=false&classifier=*&enabled=*&group=*&interface=org.apache.dubbo.demo.DemoService&version=*, empty://192.168.157.14/org.apache.dubbo.demo.DemoService?category=configurators&check=false&classifier=*&enabled=*&group=*&interface=org.apache.dubbo.demo.DemoService&version=*], dubbo version: 2.0.1, current host: 192.168.157.14
 INFO pull.PullService - Initialized pull service [key=PullService.pullService] with 16 pre-pulled tools, 10 pre-queued tools and 0 runtime tools
 INFO context.WebxComponentsLoader - Initializing Spring sub WebApplicationContext: sysmanage
 INFO context.WebxComponentContext - Refreshing WebApplicationContext for namespace 'sysmanage': startup date [Wed Jan 09 11:01:01 CST 2019]; parent: Root WebApplicationContext
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/webx-sysmanage.xml, loaded by ResourceLoadingService]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/common/webx-component-and-root.xml, loaded by ResourceLoadingService]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/common/webx-component.xml, loaded by ResourceLoadingService]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/common/pipeline.xml, loaded by ResourceLoadingService]
 INFO context.WebxComponentContext - Bean '(inner bean)#5b504185' of type [class com.alibaba.citrus.springext.util.SpringExtUtil$ConstructorArg] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.WebxComponentContext - Bean '(inner bean)#4521b50' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl$ComponentsConfigImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO config.WebxConfiguration - Application is running in Production Mode.
 INFO context.WebxComponentContext - Bean 'webxConfiguration' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.WebxComponentContext - Bean '(inner bean)#5b504185' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.InheritableListableBeanFactory - Pre-instantiating singletons in com.alibaba.citrus.springext.support.context.InheritableListableBeanFactory@5a643c25: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,com.alibaba.citrus.service.configuration.support.PropertyPlaceholderConfigurer#0,templateService,mappingRuleService,dataResolverService,productionModeSensiblePostProcessor,webxConfiguration,pullService,pipeline,module.screen.Configs,module.screen.Privileges,module.screen.Userown,moduleLoaderService,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; parent: com.alibaba.citrus.springext.support.context.InheritableListableBeanFactory@24aaabee
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : initialization starting.
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : set path '/templates/sysmanage/'
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : initialization complete.
 INFO rule.ExtensionMappingRule - Initialized extension.input:ExtensionMappingRule with cache disabled
 INFO rule.ExtensionMappingRule - Initialized extension.output:ExtensionMappingRule with cache disabled
 INFO rule.DirectModuleMappingRule - Initialized action:DirectModuleMappingRule with cache disabled
 INFO rule.DirectModuleMappingRule - Initialized screen.notemplate:DirectModuleMappingRule with cache disabled
 INFO rule.FallbackModuleMappingRule - Initialized screen:FallbackModuleMappingRule with cache enabled
 INFO rule.DirectTemplateMappingRule - Initialized screen.template:DirectTemplateMappingRule with cache disabled
 INFO rule.FallbackTemplateMappingRule - Initialized layout.template:FallbackTemplateMappingRule with cache enabled
 INFO rule.DirectModuleMappingRule - Initialized control.notemplate:DirectModuleMappingRule with cache disabled
 INFO rule.FallbackModuleMappingRule - Initialized control:FallbackModuleMappingRule with cache enabled
 INFO rule.DirectTemplateMappingRule - Initialized control.template:DirectTemplateMappingRule with cache disabled
 INFO pull.PullService - Initialized pull service [key=PullService.pullService.1] with 16 pre-pulled tools, 9 pre-queued tools and 0 runtime tools
 INFO context.WebxComponentsLoader - Initializing Spring sub WebApplicationContext: sysinfo
 INFO context.WebxComponentContext - Refreshing WebApplicationContext for namespace 'sysinfo': startup date [Wed Jan 09 11:01:03 CST 2019]; parent: Root WebApplicationContext
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/webx-sysinfo.xml, loaded by ResourceLoadingService]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/common/webx-component-and-root.xml, loaded by ResourceLoadingService]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/common/webx-component.xml, loaded by ResourceLoadingService]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/common/pipeline.xml, loaded by ResourceLoadingService]
 INFO context.WebxComponentContext - Bean '(inner bean)#4add3881' of type [class com.alibaba.citrus.springext.util.SpringExtUtil$ConstructorArg] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.WebxComponentContext - Bean '(inner bean)#7874251' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl$ComponentsConfigImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO config.WebxConfiguration - Application is running in Production Mode.
 INFO context.WebxComponentContext - Bean 'webxConfiguration' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.WebxComponentContext - Bean '(inner bean)#4add3881' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.InheritableListableBeanFactory - Pre-instantiating singletons in com.alibaba.citrus.springext.support.context.InheritableListableBeanFactory@4bd49c01: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,com.alibaba.citrus.service.configuration.support.PropertyPlaceholderConfigurer#0,templateService,mappingRuleService,dataResolverService,productionModeSensiblePostProcessor,webxConfiguration,pullService,pipeline,module.screen.Dump,module.screen.Dumps,module.screen.Envs,module.screen.Logs,module.screen.Statuses,module.screen.Versions,moduleLoaderService,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; parent: com.alibaba.citrus.springext.support.context.InheritableListableBeanFactory@24aaabee
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : initialization starting.
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : set path '/templates/sysinfo/'
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : initialization complete.
 INFO rule.ExtensionMappingRule - Initialized extension.input:ExtensionMappingRule with cache disabled
 INFO rule.ExtensionMappingRule - Initialized extension.output:ExtensionMappingRule with cache disabled
 INFO rule.DirectModuleMappingRule - Initialized action:DirectModuleMappingRule with cache disabled
 INFO rule.DirectModuleMappingRule - Initialized screen.notemplate:DirectModuleMappingRule with cache disabled
 INFO rule.FallbackModuleMappingRule - Initialized screen:FallbackModuleMappingRule with cache enabled
 INFO rule.DirectTemplateMappingRule - Initialized screen.template:DirectTemplateMappingRule with cache disabled
 INFO rule.FallbackTemplateMappingRule - Initialized layout.template:FallbackTemplateMappingRule with cache enabled
 INFO rule.DirectModuleMappingRule - Initialized control.notemplate:DirectModuleMappingRule with cache disabled
 INFO rule.FallbackModuleMappingRule - Initialized control:FallbackModuleMappingRule with cache enabled
 INFO rule.DirectTemplateMappingRule - Initialized control.template:DirectTemplateMappingRule with cache disabled
 INFO pull.PullService - Initialized pull service [key=PullService.pullService.2] with 16 pre-pulled tools, 9 pre-queued tools and 0 runtime tools
 INFO context.WebxComponentsLoader - Initializing Spring sub WebApplicationContext: personal
 INFO context.WebxComponentContext - Refreshing WebApplicationContext for namespace 'personal': startup date [Wed Jan 09 11:01:04 CST 2019]; parent: Root WebApplicationContext
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/webx-personal.xml, loaded by ResourceLoadingService]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/common/webx-component-and-root.xml, loaded by ResourceLoadingService]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/common/webx-component.xml, loaded by ResourceLoadingService]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/common/pipeline.xml, loaded by ResourceLoadingService]
 INFO context.WebxComponentContext - Bean '(inner bean)#d2c9bd' of type [class com.alibaba.citrus.springext.util.SpringExtUtil$ConstructorArg] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.WebxComponentContext - Bean '(inner bean)#228a56ca' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl$ComponentsConfigImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO config.WebxConfiguration - Application is running in Production Mode.
 INFO context.WebxComponentContext - Bean 'webxConfiguration' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.WebxComponentContext - Bean '(inner bean)#d2c9bd' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.InheritableListableBeanFactory - Pre-instantiating singletons in com.alibaba.citrus.springext.support.context.InheritableListableBeanFactory@2c20c83c: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,com.alibaba.citrus.service.configuration.support.PropertyPlaceholderConfigurer#0,templateService,mappingRuleService,dataResolverService,productionModeSensiblePostProcessor,webxConfiguration,pullService,pipeline,module.screen.Infos,module.screen.Passwds,moduleLoaderService,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; parent: com.alibaba.citrus.springext.support.context.InheritableListableBeanFactory@24aaabee
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : initialization starting.
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : set path '/templates/personal/'
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : initialization complete.
 INFO rule.ExtensionMappingRule - Initialized extension.input:ExtensionMappingRule with cache disabled
 INFO rule.ExtensionMappingRule - Initialized extension.output:ExtensionMappingRule with cache disabled
 INFO rule.DirectModuleMappingRule - Initialized action:DirectModuleMappingRule with cache disabled
 INFO rule.DirectModuleMappingRule - Initialized screen.notemplate:DirectModuleMappingRule with cache disabled
 INFO rule.FallbackModuleMappingRule - Initialized screen:FallbackModuleMappingRule with cache enabled
 INFO rule.DirectTemplateMappingRule - Initialized screen.template:DirectTemplateMappingRule with cache disabled
 INFO rule.FallbackTemplateMappingRule - Initialized layout.template:FallbackTemplateMappingRule with cache enabled
 INFO rule.DirectModuleMappingRule - Initialized control.notemplate:DirectModuleMappingRule with cache disabled
 INFO rule.FallbackModuleMappingRule - Initialized control:FallbackModuleMappingRule with cache enabled
 INFO rule.DirectTemplateMappingRule - Initialized control.template:DirectTemplateMappingRule with cache disabled
 INFO pull.PullService - Initialized pull service [key=PullService.pullService.3] with 16 pre-pulled tools, 9 pre-queued tools and 0 runtime tools
 INFO context.WebxComponentsLoader - Initializing Spring sub WebApplicationContext: governance
 INFO context.WebxComponentContext - Refreshing WebApplicationContext for namespace 'governance': startup date [Wed Jan 09 11:01:05 CST 2019]; parent: Root WebApplicationContext
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/webx-governance.xml, loaded by ResourceLoadingService]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/common/webx-component-and-root.xml, loaded by ResourceLoadingService]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/common/webx-component.xml, loaded by ResourceLoadingService]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/common/pipeline.xml, loaded by ResourceLoadingService]
 INFO context.WebxComponentContext - Bean '(inner bean)#255da510' of type [class com.alibaba.citrus.springext.util.SpringExtUtil$ConstructorArg] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.WebxComponentContext - Bean '(inner bean)#7c5f1555' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl$ComponentsConfigImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO config.WebxConfiguration - Application is running in Production Mode.
 INFO context.WebxComponentContext - Bean 'webxConfiguration' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.WebxComponentContext - Bean '(inner bean)#255da510' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.InheritableListableBeanFactory - Pre-instantiating singletons in com.alibaba.citrus.springext.support.context.InheritableListableBeanFactory@42cc483e: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,com.alibaba.citrus.service.configuration.support.PropertyPlaceholderConfigurer#0,pullService,templateService,mappingRuleService,dataResolverService,productionModeSensiblePostProcessor,webxConfiguration,pullService#0,pipeline,module.screen.Accesses,module.screen.Addresses,module.screen.Applications,module.screen.Consumers,module.screen.Loadbalances,module.screen.NoServicePrivilege,module.screen.Overrides,module.screen.Owners,module.screen.Providers,module.screen.Routes,module.screen.Services,module.screen.Weights,moduleLoaderService,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; parent: com.alibaba.citrus.springext.support.context.InheritableListableBeanFactory@24aaabee
 INFO pull.PullService - Initialized pull service [key=PullService.pullService.4] with 1 pre-pulled tools, 2 pre-queued tools and 0 runtime tools
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : initialization starting.
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : set path '/templates/governance/'
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : initialization complete.
 INFO rule.ExtensionMappingRule - Initialized extension.input:ExtensionMappingRule with cache disabled
 INFO rule.ExtensionMappingRule - Initialized extension.output:ExtensionMappingRule with cache disabled
 INFO rule.DirectModuleMappingRule - Initialized action:DirectModuleMappingRule with cache disabled
 INFO rule.DirectModuleMappingRule - Initialized screen.notemplate:DirectModuleMappingRule with cache disabled
 INFO rule.FallbackModuleMappingRule - Initialized screen:FallbackModuleMappingRule with cache enabled
 INFO rule.DirectTemplateMappingRule - Initialized screen.template:DirectTemplateMappingRule with cache disabled
 INFO rule.FallbackTemplateMappingRule - Initialized layout.template:FallbackTemplateMappingRule with cache enabled
 INFO rule.DirectModuleMappingRule - Initialized control.notemplate:DirectModuleMappingRule with cache disabled
 INFO rule.FallbackModuleMappingRule - Initialized control:FallbackModuleMappingRule with cache enabled
 INFO rule.DirectTemplateMappingRule - Initialized control.template:DirectTemplateMappingRule with cache disabled
 INFO pull.PullService - Initialized pull service [key=PullService.pullService#0.5] with 16 pre-pulled tools, 9 pre-queued tools and 0 runtime tools
 INFO context.WebxComponentsLoader - Initializing Spring sub WebApplicationContext: home
 INFO context.WebxComponentContext - Refreshing WebApplicationContext for namespace 'home': startup date [Wed Jan 09 11:01:06 CST 2019]; parent: Root WebApplicationContext
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/webx-home.xml, loaded by ResourceLoadingService]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/common/webx-component-and-root.xml, loaded by ResourceLoadingService]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/common/webx-component.xml, loaded by ResourceLoadingService]
 INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from Resource[WEB-INF/common/pipeline.xml, loaded by ResourceLoadingService]
 INFO context.WebxComponentContext - Bean '(inner bean)#19986adb' of type [class com.alibaba.citrus.springext.util.SpringExtUtil$ConstructorArg] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.WebxComponentContext - Bean '(inner bean)#46be3c50' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl$ComponentsConfigImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO config.WebxConfiguration - Application is running in Production Mode.
 INFO context.WebxComponentContext - Bean 'webxConfiguration' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.WebxComponentContext - Bean '(inner bean)#19986adb' of type [class com.alibaba.citrus.webx.config.impl.WebxConfigurationImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 INFO context.InheritableListableBeanFactory - Pre-instantiating singletons in com.alibaba.citrus.springext.support.context.InheritableListableBeanFactory@7fed087e: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,com.alibaba.citrus.service.configuration.support.PropertyPlaceholderConfigurer#0,templateService,mappingRuleService,dataResolverService,productionModeSensiblePostProcessor,webxConfiguration,pullService,pipeline,module.control.Menu,module.screen.Disable,module.screen.Index,module.screen.Lookup,module.screen.Reg,module.screen.Register,module.screen.Result,module.screen.Servicestatus,module.screen.Status,module.screen.Unreg,module.screen.Unregister,module.screen.Unregisterall,moduleLoaderService,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; parent: com.alibaba.citrus.springext.support.context.InheritableListableBeanFactory@24aaabee
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : initialization starting.
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : set path '/templates/home/'
 INFO velocity.VelocityEngine - SpringResourceLoaderAdapter : initialization complete.
 INFO rule.ExtensionMappingRule - Initialized extension.input:ExtensionMappingRule with cache disabled
 INFO rule.ExtensionMappingRule - Initialized extension.output:ExtensionMappingRule with cache disabled
 INFO rule.DirectModuleMappingRule - Initialized action:DirectModuleMappingRule with cache disabled
 INFO rule.DirectModuleMappingRule - Initialized screen.notemplate:DirectModuleMappingRule with cache disabled
 INFO rule.FallbackModuleMappingRule - Initialized screen:FallbackModuleMappingRule with cache enabled
 INFO rule.DirectTemplateMappingRule - Initialized screen.template:DirectTemplateMappingRule with cache disabled
 INFO rule.FallbackTemplateMappingRule - Initialized layout.template:FallbackTemplateMappingRule with cache enabled
 INFO rule.DirectModuleMappingRule - Initialized control.notemplate:DirectModuleMappingRule with cache disabled
 INFO rule.FallbackModuleMappingRule - Initialized control:FallbackModuleMappingRule with cache enabled
 INFO rule.DirectTemplateMappingRule - Initialized control.template:DirectTemplateMappingRule with cache disabled
 INFO pull.PullService - Initialized pull service [key=PullService.pullService.6] with 16 pre-pulled tools, 9 pre-queued tools and 0 runtime tools
 INFO context.WebxComponentsLoader - WebxComponents: initialization completed
 INFO context.ContextLoader - Root WebApplicationContext: initialization completed in 29713 ms
 INFO servlet.WebxFrameworkFilter - Initializing filter: webx
 INFO servlet.WebxFrameworkFilter - WebxFrameworkFilter - webx: initialization completed
 INFO servlet.SetLoggingContextFilter - Initializing filter: mdc
 INFO servlet.SetLoggingContextFilter - SetLoggingContextFilter - mdc: initialization completed
[2019-01-09 11:01:08,268] Artifact dubbo-admin:war exploded: Artifact is deployed successfully
[2019-01-09 11:01:08,268] Artifact dubbo-admin:war exploded: Deploy took 43,230 milliseconds
 INFO interceptor.AuthorizationValve -  [DUBBO] AuthorizationValve of uri: /, dubbo version: 2.0.1, current host: 192.168.157.14
 INFO interceptor.AuthorizationValve -  [DUBBO] AuthorizationValve of uri: /, dubbo version: 2.0.1, current host: 192.168.157.14
 INFO interceptor.AuthorizationValve -  [DUBBO] AuthorizationValve of uri: /, dubbo version: 2.0.1, current host: 192.168.157.14

启动后访问 http://127.0.0.1:8082(这里没有指定项目名) 会出现下面界面

 

 

4. dubbo-admin功能

开源的Dubbo的服务管理控制台是阿里巴巴内部裁剪版本,

开源部分主要包含:路由规则/动态配置/服务降级/访问控制/权重调整/负载均衡等管理功能。

服务治理

通过服务名、应用名和机器IP查看

 

 

系统管理

在系统管理里可以查看系统状态和系统日志

 

 

5. dubbo-admin后期走向

最新版的dubbo-admin模块分为了前后端,前端基于vuetify

具体可参考官网:https://github.com/apache/incubator-dubbo-ops

 

 

 

posted @ 2021-07-26 15:22  super超人  阅读(2379)  评论(0编辑  收藏  举报