This is a discussion on wsadmin.sh script installation MapResRefToEJB options - Websphere ; Module: ABC.war EJB: URI: ABC.war,WEB-INF/web.xml Resource Reference: jndi/abc_aa Resource type: javax.sql.DataSource Target Resource JNDI Name: jndi/abc_aa Login configuration name: null Properties: The above is the from the taskinfo for MapResRefToEJB Am using wsadmin.sh to deploy an application with the below ...
Module: ABC.war
EJB:
URI: ABC.war,WEB-INF/web.xml
Resource Reference: jndi/abc_aa
Resource type: javax.sql.DataSource
Target Resource JNDI Name: jndi/abc_aa
Login configuration name: null
Properties:
The above is the from the taskinfo for MapResRefToEJB
Am using wsadmin.sh to deploy an application with the below options for MapResRefToEJB.
-MapResRefToEJB {ABC.war "" ABC.war,WEB-INF/web.xml jndi/abc_aa javax.sql.DataSource jdbc/abc_aa "" ""}
Deployment fails with error
WASX7015E: Exception running command: exception information:
java.lang.ClassCastException: java.lang.ClassCastException: java.lang.String incompatible with java.util.List
Please advice