Git Product home page Git Product logo

dubbo-admin's Issues

启动admin报错

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?

启动报错:Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/FilterChain

源码编译成功,启动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

Add a graph to display the caller and the caller of one application

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

javax.servlet.api missing

qq 20180206113901
as the pic above,if it's not a bug,please note in the docs,because it just make some trouble in runing

启动dubbo monitor报错

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

No message found under code 'revision' for locale 'zh_CN'.

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

dubbo monitor build fails

[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

如何搭建dubbo-admin管理平台

不好意思,对于一个初学者,看了你的readme, 还有有点懵,这个dubbo-admin可以直接部署到tomcate下面直接访问?请大声给与提点,谢谢

dubbo-admin-2.0.0新增权重,页面报错

使用dubbo-admin-2.0.0新增一个权重的时候无法成功页面报错,可能是一个组件id设置有问题,下面是详细截图:

  1. 新增权重:
    image

  2. 点击保存报错
    image

  3. 查看报错的代码
    image

  4. 查看页面,应该时服务名对应的元素id设置有问题
    image

dubbo-admin.xml配置问题

启动报错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以上

启东时没有按照配置的zookeeper找注册中心

我启动的时候总是报失败,看了下日志,是因为注册中心一直找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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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)

File: RouteUtils.java Line: 124 Exception: NullPointerException

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]

Enable CI for dubbo-ops

We should enable CI (e.g. travis ci) for dubbo-ops, and each pull request should pass CI check before getting merged.

Failure to find com.alibaba.boot:velocity-spring-boot-starter:jar:1.0.3 in https://repo.maven.apache.org/maven2 ???

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


打包失败

命令行进入incubator-dubbo-ops-master目录,然后执行mvn package,结果显示打包失败:
20180407164745

加上-X选项后,出错信息如下:
20180407164840

请问一下,该怎么解决?

我的环境:
maven:3.5.0
jdk:1.8.0_162 64位,
win7

dubbo admin reports an error after config a route rule

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&timestamp=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?

建议dubbo-admin做前后台分离和框架改造

建议dubbo-admin做前后台分离和框架改造

1. 建议前端采用angularjs 或是 vue等现代化框架,并进行组件化拆分,使前端工程师更容易参与进来

2. 建议后端改成基于spring boot,并且后端接口遵循restful协议

3. 建议基于spring security实现登陆和权限控制

  • 可以轻松的接入公司内部的SSO体系

4. 建议将dubbo数据上报格式规范化,形成一套标准,类似spring boot actuator

5. 能否考虑对docker容器的支持,使dubbo-admin能够很easy地打成docker镜像,和配套服务一起部署进容器内

  • 配合其他特性,以实现自动化伸缩,是否有可能?

6. 基于第4点更进一步,能否提供自动化运维支持,通过暴露一套restful服务,该服务可以查询和操作到dubbo内部,类似elasticsearch的restful接口

  • dubbo内部是透明的,一切信息都能够通过api查出来

7. 能否提供一些hook,类似git的web hook机制,可以配置一些Lua、Groovy脚本作为是否触发hook的前置filter,在服务状态变化之后,自动推送

  • 可以提供一些内置的action

当hook触发之后,可以调到内置action来发邮件、打日志甚至调整服务流量。

8. 能否提供文档化支持

  • 像swagger那样,在dubbo-admin里集成一套文档系统,这套文档系统还能用于dubbo调试,类似postman

9.trace和智能网络节点质量分析

  • 像zipkin那样,具备链路跟踪能力,并且能够跟进一步,基于链路跟踪上报的数据,分析出整个服务网路中质量较差的节点,帮助开发发现系统瓶颈所在

启动不了dubbo monitor

下载源码编译成功后,去到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)

当 dubbo 服务进行分组时, 在服务列表界面点击会报错

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.)

查看提供者详细内容时报错

地址:
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.

dubbo-admin 启动报错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

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)

启动后报错

启动后报错
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

灰度发布

dubbo支持灰度发布吗,有没有项目或者demo之类的

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.