ADMA0002E:将企业Bean绑定到JNDI的任务中发生验证错误



安装当前软件包时,收到以下错误消息:

  1. WASX7017E:运行文件/opt/Install_SIPR/updateSiprEar.py时收到异常;异常信息:com.ibm.ws.scripting.ScriptingException:WASX7108E:为安装任务"BindJndiForEJBNonMessageBinding"指定的数据无效。错误为:
  2. ADMA0002E:将企业Bean绑定到JNDI名称的任务中发生验证错误。没有为模块GfmEjb中的企业bean DqEvalPersistService指定Java命名和目录接口(JNDI)名称
  3. ADMA0002E:将企业Bean绑定到JNDI名称的任务中发生验证错误。没有为模块GfmEjb中的企业bean JumService指定Java命名和目录接口(JNDI)名称。"

这些消息与以下语句相关联:

AdminApp.update(appName, 'app', '[ -operation update -contents ' + earFileName + ' -nopreCompileJSPs -installed.ear.destination $(APP_INSTALL_ROOT)/' + cell + ' -distributeApp -nouseMetaDataFromBinary -deployejb -createMBeansForResources -noreloadEnabled -nodeployws -validateinstall warn -noprocessEmbeddedConfig -filepermission .*.dll=755#.*.so=755#.*.a=755#.*.sl=755 -noallowDispatchRemoteInclude -noallowServiceRemoteInclude -asyncRequestDispatchType DISABLED -nouseAutoLink -MapResRefToEJB [[ GfmEjb EventHandlerMDB GfmEjb.jar,META-INF/ejb-jar.xml mail/DefaultMail javax.mail.Session mail/DefaultMail "" "" "" ][ GfmWebServices "" GfmWeb.war,WEB-INF/web.xml mail/DefaultMail javax.mail.Session mail/DefaultMail "" "" "" ][ GfmWebServices "" GfmWeb.war,WEB-INF/web.xml GfmOracle javax.sql.DataSource jdbc/GFMDS "" "" "" ][ GfmEjb EventHandlerMDB GfmEjb.jar,META-INF/ejb-jar.xml GfmOracle javax.sql.DataSource jdbc/GFMDS "" "" "" ]] -MapModulesToServers [[ GfmEjb GfmEjb.jar,META-INF/ejb-jar.xml ' + installString + ' ][ GfmWebServices GfmWeb.war,WEB-INF/web.xml ' + installString + ' ]]]' )

注意:installString包含cell、node、appServer、allwebservers和allwebserverNodes信息。

我做错了什么?

错误消息只是说应用程序中有一个EJB没有为其指定JNDI名称

-BindJndiForEJB onMessageBinding[["GfmEjb"JumService GfmEjb.jar,META-INF/ejb-jar.xml ejb/JumService]]

到命令应该可以解决此问题。

最新更新