apache / dubbo-admin Goto Github PK
View Code? Open in Web Editor NEWThe ops and reference implementation for Apache Dubbo
Home Page: https://dubbo.apache.org
License: Apache License 2.0
The ops and reference implementation for Apache Dubbo
Home Page: https://dubbo.apache.org
License: Apache License 2.0
启动报错error:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://dubbo.apache.org/schema/dubbo]
Offending resource: URL [file:/D:/idea_workspance/incubator-dubbo-ops/dubbo-admin/target/classes/dubbo-admin.xml]
解决办法:
dubbo-admin.xml的dubbo命令空间
http://dubbo.apache.org/schema/dubbo应该改为http://code.alibabatech.com/schema/dubbo
或者
com.alibaba
dubbo
2.6.2
version改为2.6.2以上
dubbo支持灰度发布吗,有没有项目或者demo之类的
源码编译成功,启动start.sh,报错如下:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0 Java HotSpot(TM) 64-Bit Server VM warning: UseCMSCompactAtFullCollection is deprecated and will likely be removed in a future release. INFO logger.LoggerFactory - using logger: com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter INFO container.Main - [DUBBO] Use container type([log4j, spring, registry, jetty]) to run dubbo serivce., dubbo version: 2.6.0, current host: 127.0.0.1 Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/FilterChain at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at com.alibaba.dubbo.container.jetty.JettyContainer.start(JettyContainer.java:56) at com.alibaba.dubbo.container.Main.main(Main.java:85) Caused by: java.lang.ClassNotFoundException: javax.servlet.FilterChain at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 14 more
run
mvn install
it happend:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] dubbo-admin [jar]
[INFO] dubbo-ops [pom]
[INFO] dubbo-monitor-simple [jar]
[INFO] dubbo-registry-simple [jar]
[INFO]
[INFO] ----------------------< com.alibaba:dubbo-admin >-----------------------
[INFO] Building dubbo-admin 0.0.1-SNAPSHOT [1/4]
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.alibaba.boot:velocity-spring-boot-starter:jar:1.0.3 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] dubbo-admin 0.0.1-SNAPSHOT ......................... FAILURE [ 0.437 s]
[INFO] dubbo-ops 2.0.0 .................................... SKIPPED
[INFO] dubbo-monitor-simple ............................... SKIPPED
[INFO] dubbo-registry-simple 2.0.0 ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.760 s
[INFO] Finished at: 2018-06-16T03:27:06+08:00
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "test" could not be activated because it does not exist.
[ERROR] Failed to execute goal on project dubbo-admin: Could not resolve dependencies for project com.alibaba:dubbo-admin:jar:0.0.1-SNAPSHOT: Failure to find com.alibaba.boot:velocity-spring-boot-starter:jar:1.0.3 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project dubbo-monitor-simple: Compilation failure: Compilation failure:
[ERROR] /Users/river/Study/incubator-dubbo-ops/dubbo-monitor-simple/src/main/java/com/alibaba/dubbo/monitor/simple/container/JettyContainer.java:[55,18] 无法访问org.mortbay.component.LifeCycle
[ERROR] 找不到org.mortbay.component.LifeCycle的类文件
[ERROR] /Users/river/Study/incubator-dubbo-ops/dubbo-monitor-simple/src/main/java/com/alibaba/dubbo/monitor/simple/container/JettyContainer.java:[60,50] 无法访问org.mortbay.component.AbstractLifeCycle
[ERROR] 找不到org.mortbay.component.AbstractLifeCycle的类文件
[ERROR] /Users/river/Study/incubator-dubbo-ops/dubbo-monitor-simple/src/main/java/com/alibaba/dubbo/monitor/simple/container/JettyContainer.java:[69,15] 无法访问org.mortbay.util.Attributes
[ERROR] 找不到org.mortbay.util.Attributes的类文件
[ERROR] /Users/river/Study/incubator-dubbo-ops/dubbo-monitor-simple/src/main/java/com/alibaba/dubbo/monitor/simple/container/JettyContainer.java:[72,19] 找不到符号
[ERROR] 符号: 方法 start()
[ERROR] 位置: 类型为org.mortbay.jetty.Server的变量 server
[ERROR] -> [Help 1]
mvn_version:3.5.3
jdk:1.8.0_151 64位
macos
当hook触发之后,可以调到内置action来发邮件、打日志甚至调整服务流量。
apache/dubbo#1212, we should track this issue here.
navigation: home > governance > applications > appname > services, when i change the tab, only
tab 'services' is normal and other two tabs return 404. You can check what's wrong with it. Thanks
您好,使用redis做为注册中心,但redis需要密码访问时dubbo.registry.address该如何配置?
when i open the detail page of the service , there is a error like below:
org.springframework.context.NoSuchMessageException: No message found under code 'revision' for locale 'zh_CN'.
maybe there is something wrong in the i18n file. Please check it, thanks
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: UseCMSCompactAtFullCollection is deprecated and will likely be removed in a future release.
INFO logger.LoggerFactory - using logger: com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter
INFO container.Main - [DUBBO] Use container type([log4j, spring, registry, jetty]) to run dubbo serivce., dubbo version: 2.6.0, current host: 127.0.0.1
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/FilterChain
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.alibaba.dubbo.container.jetty.JettyContainer.start(JettyContainer.java:56)
at com.alibaba.dubbo.container.Main.main(Main.java:85)
Caused by: java.lang.ClassNotFoundException: javax.servlet.FilterChain
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 14 more
地址:
http://localhost:7001/governance/providers/2
错误信息:
2018-07-01 00:32:08.882 ERROR 55723 --- [nio-7001-exec-3] org.apache.velocity : Exception in macro #springMessage called at governance/screen/providers/show.vm[line 81, column 17]
2018-07-01 00:32:08.892 ERROR 55723 --- [nio-7001-exec-3] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getMessage' in class org.springframework.web.servlet.support.RequestContext threw exception org.springframework.context.NoSuchMessageException: No message found under code 'revision' for locale 'zh_CN'. at org/springframework/web/servlet/view/velocity/spring.vm[line 27, column 57]] with root cause
org.springframework.context.NoSuchMessageException: No message found under code 'revision' for locale 'zh_CN'.
at 。。。。。。。。。。。。。
2018-07-01 00:32:08.902 ERROR 55723 --- [nio-7001-exec-3] org.apache.velocity : ResourceManager : unable to find resource 'error.vm' in any resource loader.
monitor 2.0 为啥没有 Charts 和Statistics 了
Upgrade default jdk5 to jdk6+
The dubbo-admin open issues:
https://github.com/alibaba/dubbo/issues?page=1&q=dubbo-admin+is%3Aopen
地址:
http://localhost:7001/governance/services/com.tz.user.dubbo.CallCenterFacadeAPI/providers/1
错误信息:
Invocation of method 'getMessage' in class org.springframework.web.servlet.support.RequestContext threw exception org.springframework.context.NoSuchMessageException: No message found under code 'default.service.filter' for locale 'zh_CN'. at org/springframework/web/servlet/view/velocity/spring.vm[line 27, column 57]
下载源码编译成功后,去到dubbo-monitor目录的bin目录,启动start.sh,报错如下:
com.alibaba.dubbo.remoting.RemotingException: Failed to send message Request [id=0, version=2.6.0, twoway=false, event=true, broken=false, data=R] to /10.0.1.9:35286, cause: null
at com.alibaba.dubbo.remoting.transport.netty.NettyChannel.send(NettyChannel.java:106)
at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeChannel.send(HeaderExchangeChannel.java:86)
at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeServer.sendChannelReadOnlyEvent(HeaderExchangeServer.java:135)
at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeServer.close(HeaderExchangeServer.java:105)
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.destroy(DubboProtocol.java:417)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.destroy(ProtocolFilterWrapper.java:104)
at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.destroy(ProtocolListenerWrapper.java:84)
at com.alibaba.dubbo.config.ProtocolConfig.destroyAll(ProtocolConfig.java:163)
at com.alibaba.dubbo.config.AbstractConfig$1.run(AbstractConfig.java:82)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.nio.channels.ClosedChannelException
at org.jboss.netty.channel.socket.nio.NioWorker.cleanUpWriteBuffer(NioWorker.java:643)
at org.jboss.netty.channel.socket.nio.NioWorker.writeFromUserCode(NioWorker.java:370)
at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:137)
at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:76)
at org.jboss.netty.channel.Channels.write(Channels.java:632)
at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:70)
at com.alibaba.dubbo.remoting.transport.netty.NettyHandler.writeRequested(NettyHandler.java:98)
at org.jboss.netty.channel.Channels.write(Channels.java:611)
at org.jboss.netty.channel.Channels.write(Channels.java:578)
at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:251)
at com.alibaba.dubbo.remoting.transport.netty.NettyChannel.send(NettyChannel.java:96)
javax.servlet.ServletException: Circular view path []: would dispatch back to the current handler URL [/governance/services/b/com.tenxcloud.example.dubbos.CityService/] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
after i config a route rule in governance-->routes, click the consumers menu, dubbo-admin reports an error:
Caused by: java.lang.IllegalStateException: Illegal query string "anyhost=true&application=caseProcess&buffer=4096&charset=UTF-8&client=netty&contextpath=&default.cluster=failfast&default.delay=-1&default.payload=5000000&default.threadpool=fixed&default.threads=1000&default.timeout=15000&default.token=false&delay=-1&dispatcher=message&dubbo=2.5.6-SNAPSHOT&generic=false&heartbeat=100000&interface=com.bocsoft.caseInterface.service.CaseService&loadbalance=random&logger=slf4j&methods=acceptOneCase,loadCaseInfoById,queryCaseDetail,queryCaseByDoubleId,queryCaseLogCountList,updateCaseTransInfo,updateCase,insertCaseLog,acceptCaseList,createCase,countCaseList,queryCaseLogList,getCurrentTime,allotCaseList,deleteCase,queryCaseList,allotSingleCase&optimizer=com.bocsoft.caseInterface.common.serial.SerializationOptimizerImpl&owner=hongxiaofeng&payload=5000000&pid=12809&revision=1.0.0&serialization=kryo&server=netty&side=provider&threadpool=fixed&threads=1000×tamp=1527579353945&validation=true&version=1.0", The error char '&' at index 88 before "default.cluster".
at com.alibaba.dubbo.registry.common.route.ParseUtils.parseQuery(ParseUtils.java:244)
at com.alibaba.dubbo.registry.common.route.RouteUtils.route(RouteUtils.java:142)
at com.alibaba.dubbo.registry.common.route.RouteUtils.route(RouteUtils.java:91)
at com.alibaba.dubbo.governance.web.governance.module.screen.Consumers.index(Consumers.java:100)
at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.alibaba.dubbo.governance.web.common.module.screen.Restful.execute(Restful.java:194)
at com.alibaba.dubbo.governance.web.governance.module.screen.Consumers$$FastClassByCGLIB$$1764a0c8.invoke()
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at com.alibaba.citrus.service.moduleloader.impl.adapter.MethodInvoker.invoke(MethodInvoker.java:70)
according to the stacktrace,i modified the class:com.alibaba.dubbo.registry.common.route.ParseUtils.parseQuery method:
changing the line 243 from
if (key != null)
to
if (key != null && !key.equals("contextpath"))
then problem solved!
my question is: is this problem a bug? is my modify right?
with
on url: http://127.0.0.1:8080/sysinfo/logs/change?level=WARN
一大堆依赖下载不来,我也是醉了
dubbo-admin版本2.0.0
02-Mar-2018 13:28:00.382 SEVERE [http-nio-8080-exec-24] org.apache.catalina.core.StandardContext.listenerStart Exception sending context│
initialized event to listener instance of class [com.alibaba.citrus.webx.context.WebxContextLoaderListener] │
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource │
[/WEB-INF/webx.xml]; nested exception is java.lang.IllegalArgumentException: Unknown flag 0x1000 │
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:413) │
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335) │
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303) │
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:│
174) │
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:│
209) │
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:│
180)
不好意思,对于一个初学者,看了你的readme, 还有有点懵,这个dubbo-admin可以直接部署到tomcate下面直接访问?请大声给与提点,谢谢
能否增加一定的trace支持,并且能根据trace解决一些问题。
比如说根据trace结果发现循环调用:ServiceA -> ServiceB -> ServiceA,
京东因为循环引用出过一次事情,很短时间内发生了几千万次RPC调用。
We should enable CI (e.g. travis ci) for dubbo-ops, and each pull request should pass CI check before getting merged.
缺少以下配置项
default.validation
accesslog
提供者详情页 报错
我启动的时候总是报失败,看了下日志,是因为注册中心一直找127.0.0.1:2181的,没有按照我配置的ip和端口找dubbo.registry.address=zookeeper://172.18.139.19:2181?backup=172.18.139.20:2181,172.18.139.21:2181
2018-04-13 12:12:40,323 [main] ERROR com.alibaba.dubbo.container.Main (Main.java:91) - [DUBBO] Failed to register dubbo://172.18.139.18:7070/com.alibaba.dubbo.monitor.MonitorService?anyhost=true&application=simple-monitor&delay=-1&dubbo=2.6.0&generic=false&interface=com.alibaba.dubbo.monitor.MonitorService&methods=lookup,collect&owner=dubbo&pid=8138&revision=2.6.0&side=provider×tamp=1523592715993 to registry 127.0.0.1:2181, cause: Failed to register dubbo://172.18.139.18:7070/com.alibaba.dubbo.monitor.MonitorService?anyhost=true&application=simple-monitor&delay=-1&dubbo=2.6.0&generic=false&interface=com.alibaba.dubbo.monitor.MonitorService&methods=lookup,collect&owner=dubbo&pid=8138&revision=2.6.0&side=provider×tamp=1523592715993 to zookeeper zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?application=simple-monitor&client=curator&dubbo=2.6.0&interface=com.alibaba.dubbo.registry.RegistryService&owner=dubbo&pid=8138×tamp=1523592715980, cause: KeeperErrorCode = ConnectionLoss, dubbo version: 2.6.0, current host: 127.0.0.1
java.lang.IllegalStateException: Failed to register dubbo://172.18.139.18:7070/com.alibaba.dubbo.monitor.MonitorService?anyhost=true&application=simple-monitor&delay=-1&dubbo=2.6.0&generic=false&interface=com.alibaba.dubbo.monitor.MonitorService&methods=lookup,collect&owner=dubbo&pid=8138&revision=2.6.0&side=provider×tamp=1523592715993 to registry 127.0.0.1:2181, cause: Failed to register dubbo://172.18.139.18:7070/com.alibaba.dubbo.monitor.MonitorService?anyhost=true&application=simple-monitor&delay=-1&dubbo=2.6.0&generic=false&interface=com.alibaba.dubbo.monitor.MonitorService&methods=lookup,collect&owner=dubbo&pid=8138&revision=2.6.0&side=provider×tamp=1523592715993 to zookeeper zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?application=simple-monitor&client=curator&dubbo=2.6.0&interface=com.alibaba.dubbo.registry.RegistryService&owner=dubbo&pid=8138×tamp=1523592715980, cause: KeeperErrorCode = ConnectionLoss
at com.alibaba.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:149)
at com.alibaba.dubbo.registry.integration.RegistryProtocol.register(RegistryProtocol.java:116)
at com.alibaba.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:135)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:91)
at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:66)
at com.alibaba.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java)
at com.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:505)
at com.alibaba.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:357)
at com.alibaba.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:316)
at com.alibaba.dubbo.config.ServiceConfig.export(ServiceConfig.java:215)
at com.alibaba.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:121)
at com.alibaba.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:50)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:167)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:93)
at com.alibaba.dubbo.container.spring.SpringContainer.start(SpringContainer.java:45)
at com.alibaba.dubbo.container.Main.main(Main.java:85)
启动后报错
tomcat版本8.5.16
jdk 1.8
ERROR context.ContextLoader - Context initialization failed java.lang.NoClassDefFoundError: org/objectweb/asm/Type at net.sf.cglib.core.TypeUtils.parseType(TypeUtils.java:184) at net.sf.cglib.core.KeyFactory.<clinit>(KeyFactory.java:66) at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69) at com.alibaba.citrus.springext.util.SpringExtUtil.createProxy(SpringExtUtil.java:473) at com.alibaba.citrus.service.requestcontext.impl.RequestContextBeanFactoryPostProcessor.postProcessBeanFactory(RequestContextBeanFactoryPostProcessor.java:62) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:699) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:689) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at com.alibaba.citrus.webx.context.WebxComponentsLoader.initWebApplicationContext(WebxComponentsLoader.java:117) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1739) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:482) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:431) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468) at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357) at sun.rmi.transport.Transport$1.run(Transport.java:200) at sun.rmi.transport.Transport$1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.Type at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1285) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119) ... 57 more
java.lang.ClassNotFoundException: org.apache.velocity.tools.view.ToolboxManager
We should add a graph to display the application call relationship .
From an application perspective,display the caller and the caller of the application.
e.g.
D------
|
↓
B---→A----→C
|
|
----→E
提供者 消费者页面 没有分页
java.lang.NullPointerException: null at com.alibaba.dubboadmin.registry.common.route.RouteUtils.route(RouteUtils.java:124) ~[classes/:na] at com.alibaba.dubboadmin.registry.common.route.RouteUtils.route(RouteUtils.java:91) ~[classes/:na] at com.alibaba.dubboadmin.web.mvc.governance.ConsumersController.index(ConsumersController.java:118) ~[classes/:na]
commit: 5a3112d
监控无法看到applications、services、hosts等入口。是用最新版编译出来的monitor,放在docker里面运行。
状态显示一切连接良好。这是什么原因?
After this refactoring,many pages error: 404 or 500
Shall we begin a diffy test? Use the access log of the old version to find bug。
Add a global diagram. Display the call relationship of all applications
JDK1.7
java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView
JDK8:
Invalid property 'URIType' of bean class [com.alibaba.citrus.service.uribroker.uri.GenericURIBroker]: Bean property 'URIType' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
现在 dubbo-admin的pom是这样的
com.alibaba
dubbo-admin
0.0.1-SNAPSHOT
jar
还是 http://dubbo.apache.org/books/dubbo-admin-book/install/admin-console.html
这个网址应该更新了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.