zoukankan      html  css  js  c++  java
  • 关于部署问题

    在NC UI端出现此种错误 关于JNDI是与部署有关

    Component: nc.itf.hrwb.psnmng.IPsnmngManageService,Detail Message: The tx component: nc.itf.hrwb.psnmng.IPsnmngManageService is not found in jndi  please deploy it!} jndiName: nc.itf.hrwb.psnmng.IPsnmngManageService meta: null

    IPsnmngManageService是接口;在META-INF下缺少对应的upm文件  所以碰到此种问题应该配置文件;

    配置文件如下:

    <?xml version="1.0" encoding="UTF-8"?>
    <module name="nc.itf.hi.hrwb.HRTrnProfEJB">
     <public>
      <component priority="0" singleton="true" remote="true" tx="CMT" supportAlias="true">
       <interface>nc.itf.hrwb.psnmng.IPsnmngManageService</interface>
       <implementation>nc.impl.hrwb.psnmng.PsnmngManageServiceImpl</implementation>
      </component>
      <component priority="0" singleton="true" remote="true" tx="CMT" supportAlias="true">
       <interface>nc.itf.hrwb.psnmng.IPsnmngQueryService</interface>
       <implementation>nc.impl.hrwb.psnmng.PsnmngManageServiceImpl</implementation>
      </component>
     </public>
    </module>

    在此如果还报错的话  需注意<?xml version="1.0" encoding="UTF-8"?>此中用的UTF-8;如果不是UTF-8,也会出错;

  • 相关阅读:
    杂项
    导出查询数据(大数据量)
    设置现有字段自增
    C++ 矩形交集和并集的面积-离散化
    Python使用flask架构、跨域
    匈牙利命名法
    C++ main函数
    windows编译boost
    mfc HackerTools监控键盘按键
    mfc HackerTools远程线程注入
  • 原文地址:https://www.cnblogs.com/jianyeLee/p/4701370.html
Copyright © 2011-2022 走看看