zoukankan      html  css  js  c++  java
  • owlsuddimatchmaker安装

    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  到此这个就介绍完了。注册服务器做好了 剩下的是写服务了  

  • 相关阅读:
    内存溢出
    接手新业务
    pjb fabu
    中文手册
    人背的时候,做啥都失败
    帮助开发人员学习
    python中的__dict__,__getattr__,__setattr__
    NetCore在Docker中发布及运行
    ELK基础配置
    IdentityServer4 手动验签及日志记录
  • 原文地址:https://www.cnblogs.com/zhxiaomiao/p/1420891.html
Copyright © 2011-2022 走看看