owls-uddi-matchmaker安装
OWL-S/UDDI Matchmaker Client Api:擴展了UDDI4j的對UDDI的查詢、注冊、調用服務功能,加入了語義的方法,結合Jana(OWL-S Api)在OWL-S/UDDI Matchmaker中進行服務的語義化操作;
OWL-S/UDDI Matchmaker+Juddi:語義化的UDDI,將傳統UDDI的tModel與OWL-S Profile建立了映射。
今天安裝了下這兩個測試成功:
最主要的步驟是:
1 下載owls-uddi-matchmaker-1.3-bin 看docs目錄下的inst-mm.htm(這個是權威的參考文檔了)
2 安裝jdk 我用的是1.6
3 安裝 ant 我用的是 1.7
設置 ANT_HOME=F:\UDDI\ant
path=.;C:\Java\jdk1.6.0\bin;%ANT_HOME%\bin
4 安裝tomcat5.5
5 安裝mysql5.0
owls-uddi-matchmaker-1.3-bin中自帶了juddi,按照步驟安裝后可在tomcat下生成juddi
6 修改config.properties 如我的:
# Please modify the following propertie to reflect the real state
# of your system
# set to point to the tomcat home directory
tomcat-home-directory??? =??? F:/UDDI/tomcat
#tomcat-home-directory??? =??? E:/tomcat
# enter the root password for mysql database
#mysql-root-password??? ??? = root
mysql-root-password??? ??? = 123
7 安裝matchmaker(mysql服務一直開著 會創建數據庫juddi)
具體是:cmd打開命令行窗口,運行到wls-uddi-matchmaker-1.3-bin目錄下
運行ant install-juddi-matchmaker
8 啟動tomcat服務
測試:
1 輸入 http://localhost:8080/juddi/happyjuddi.jsp
2 ant run-tests測試推理機的 正確會有success 提示
到此可以說這個owls-uddi-matchmaker-1.3-bin完成 了 接下來裝client來測試了
?? 1 同樣下載owl-s matchmaker client-1.3-bin看docs目錄下的inst-mm.htm
2 同上用ant安裝 ant jar
3 ant run-tests 這個是測試往owls-uddi-matchmaker注冊服務了,會出現一個tree的界面
注意此步驟做了后在eclipse中建java工程后 導入相應的包 運行test文件夾下的例子時會有報錯 指的是已經注冊過一次了,可以刪除再運行
?
OK? 到此這個就介紹完了。注冊服務器做好了 剩下的是寫服務了
轉載于:https://www.cnblogs.com/zhxiaomiao/archive/2009/03/24/1420891.html
總結
以上是生活随笔為你收集整理的owls-uddi-matchmaker安装的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 使用SDL打造游戏世界之入门篇 - 4
- 下一篇: 内存泄露检测