標籤:
在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,也會出錯;
關於部署問題