关于dubbo服务中心的安装
原因
由于本次系统模块较多,各自间调用复杂,故而想着整理一下模块间的调用逻辑,理清各个模块的在整个系统中充当的作用,从apache dubbo官网中的Dubbo管理控制台介绍,自行到github下载,自己打包一个管理台的web应用,然后发布到自己的web容器中。这里由于本人打包过程遇到问题:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project dubbo-admin: Compilation failure -> [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/MojoFailureException
因此保留此方法,待解决。
这里直接提供已经打好的war包:
https://pan.baidu.com/s/1HGPBvilX91j9SzJPrzDC4g
提取码:7snr
war包部署
删除tomcatwebapps下的其它应用,将war包放入,重启tomcat。
密码和zk地址的修改
可以在dubbo.properties中对用的key修改value值。
访问治理中心
http://10.20.21.123:8080/dubbo-admin-2.5.4-jdk1.8
默认用户名和密码:
root
root