<settings xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<mirror>
<id>CN</id>
<name>OSChina Central</name>
<url>http://maven.oschina.net/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
❷ 如何在linux部署bbo-admin管理端
這個比較簡單,編譯打包成功後,將bbo-admin/target/bbo-admin-2.8.xxx.war 復制到jetty、tomcat下的webapps就算完成部署了(當然,也可以部署到其它兼容的servlet容器,比如jboss、weblogic)
然後瀏覽:http://localhost:8080/bbo-admin/ 會提示登陸用戶名、密碼,這是在配置文件里寫死的,配置文件的路徑為:
bbo-admin/src/main/webapp/WEB-INF/bbo.propertiesbbo.registry.address=zookeeper://127.0.0.1:2181?backup=127.0.0.1:2182,127.0.0.1:2183
bbo.admin.root.password=root
bbo.admin.guest.password=guest
即用戶名、密碼均為root,登錄成功後,刷新下頁面,如果提示404之類的,退回到http://localhost:8080/瀏覽(這個跟部署的contextPath有關,如果contextPath設置為/bbo-admin,刷新下就可以了,如果contextPath設置成/,則登錄後要退回/瀏覽)
❸ 搭建bbo+zookeeper+spring架構為什麼不要用jdk1.8
我了zookeeper-3.4.5.tar.gz版本的包。接下來把zookeeper-3.4.5.tar.gz解壓到文件夾D:\zookeeper-3.4.5\中,
然後將zoo_sample.cfg改名為zoo.cfg。然後將配置文件zoo.cfg改成如下:
[html] view plain
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
# do not use /tmp for storage, /tmp here is just
# example sakes.
dataDir=D:\\zookeeper-3.4.5\\data
dataLogDir=D:\\zookeeper-3.4.5\\log
# the port at which the clients will connect
clientPort=2181
然後就可以啟動了。
DUBBO的管理DUBBO-ADMIN的部署
bbo-admin.war可在網上網路去,但是我了好幾個war包,發布上去服務啟動都報錯,這個時候大概是我們系統的JDK和編譯
bbo-admin.war的JDK版本不同導致的了。所以我之後直接了bbo-master的源代碼,然後自己編譯了一個war包,這樣就不會存
在啟動報錯的問題了。
❹ 怎麼用myeclipse對bbo admin進行打包
說明:打開Cmd,然後進入解壓路徑 工程路徑:下載bo-masterbo-masterbo-admin,只需要編譯bbo-admin即可,有什麼依賴的,maven會自動拉取解決。
整個過程如下:
1,通過cmd進入目錄,輸入命令
❺ bbo privider與consumer同時配置retry以哪個為主
bbo配置優先順序:
方法級>介面級>全局級
消費方配置優先於提供方配置
所以,retry如果都配了,以消費方為主。
❻ 誰有阿里的hessian-lite.jar,bbo編譯的時候找不到
bbo支持多種遠程調用方式,例如bbo RPC(二進制序列化 + tcp協議)、http invoker(二進制序列化 + http協議,至少在開源版本沒發現對文本序列化的支持)、hessian(二進制序列化 + http協議)、WebServices (文本序列化 + http協議)等等...
❼ bbox 怎麼部署在tomcat
DUBBO的介紹部分我這里就不介紹了,大家可參考官方文檔。
DUBBO的注冊中心安裝
DUBBO的注冊中心支持好幾種,公司用到zookeeper注冊中心,所以我這邊只說明zookeeper注冊中心如何安裝。
安裝zookeeper注冊中心首先得下載zookeeper。大家可到zookeeper的官網http://zookeeper.apache.org/releases.html上去下載。
我下載了zookeeper-3.4.5.tar.gz版本的包。接下來把zookeeper-3.4.5.tar.gz解壓到文件夾D:\zookeeper-3.4.5\中,
然後將zoo_sample.cfg改名為zoo.cfg。然後將配置文件zoo.cfg改成如下:
[html] view plain
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
# do not use /tmp for storage, /tmp here is just
# example sakes.
dataDir=D:\\zookeeper-3.4.5\\data
dataLogDir=D:\\zookeeper-3.4.5\\log
# the port at which the clients will connect
clientPort=2181
然後就可以啟動了。
DUBBO的管理平台DUBBO-ADMIN的部署
bbo-admin.war可在網上網路去下載,但是我下載了好幾個war包,發布上去服務啟動都報錯,這個時候大概是我們系統的JDK和編譯
bbo-admin.war的JDK版本不同導致的了。所以我之後直接下載了bbo-master的源代碼,然後自己編譯了一個war包,這樣就不會存
在啟動報錯的問題了。