码迷,mamicode.com
首页 > 其他好文 > 详细

关于部署问题

时间:2015-08-04 12:43:54      阅读:363      评论:0      收藏:0      [点我收藏+]

标签:

在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,也会出错;

关于部署问题

标签:

原文地址:http://www.cnblogs.com/jianyeLee/p/4701370.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!