web services - ADMA0002E: A validation error occurred in task Binding enterprise Bean to JNDI -
while installing current package, following error messages received:
- wasx7017e: exception received while running file
/opt/install_sipr/updatesiprear.py
; exception information: com.ibm.ws.scripting.scriptingexception: wasx7108e: invalid data specified install task: "bindjndiforejbnonmessagebinding." errors are: " - adma0002e: validation error occurred in task binding enterprise bean jndi names. java naming , directory interface (jndi) name not specified enterprise bean dqevalpersistservice in module gfmejb.
- adma0002e: validation error occurred in task binding enterprise bean jndi names. java naming , directory interface (jndi) name not specified enterprise bean jumservice in module gfmejb."
the messages associated following statement:
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 + ' ]]]' )
note: installstring contains cell, node, appserver, allwebservers, , allwebservernodes information.
what doing wrong?
the error message saying there ejb in application not have jndi name specified it. think adding this:
-bindjndiforejbnonmessagebinding [[ "gfmejb" jumservice gfmejb.jar,meta-inf/ejb-jar.xml ejb/jumservice ]]
to command should fix problem.
Comments
Post a Comment