安裝 Dubbo 管理端

原文地址:http://blog.csdn.net/shawearn1027/article/details/55097368

一、下載

在寫這篇筆記的時候, http://code.alibabatech.com/ 已經停止維護,所以無法從官網下載 Dubbo 管理端,故提供此下載地址: 點擊下載


二、安裝

將 dubbo-admin.zip 安裝包解壓到 tomcat 服務器中並做相應配置即可。


三、配置

找到解壓後的 dubbo-admin 中找到 WEB-INF/dubbo.properties 文件並修改其中配置:

dubbo.registry.address=zookeeper://192.168.10.41:4183
dubbo.admin.root.password=root
dubbo.admin.guest.password=guest

說明:
dubbo.registry.address
       zookeeper 服務註冊中心的 IP 地址及端口

完成步驟一、二、三之後,啓動 zookeeper 服務後再啓動 tomcat 服務器,成功後便可在瀏覽器中訪問並看到如下界面,說明已經安裝成功。




【注意】

若 JDK 爲 1.8,啓動 dubbo-admin 時會報以下錯誤,然而在 1.7 下則不報此錯誤:

Caused by: org.springframework.beans.NotWritablePropertyException: 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?
	at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:801)
	at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:651)
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:78)
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:59)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1276)
	... 50 more


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章