This is a discussion on wsadmin MapResRefToEJB option with no name - Websphere ; Module: ABC.war EJB: URI: ABC.war,WEB-INF/web.xml Resource Reference: jndi/abcprd_aa Resource type: javax.sql.DataSource Target Resource JNDI Name: jndi/abcprd_aa Login configuration name: null Properties: The above is the taskinfo output for MapResRefToEJB. While am using the console to deploy the application the install ...
Module: ABC.war
EJB:
URI: ABC.war,WEB-INF/web.xml
Resource Reference: jndi/abcprd_aa
Resource type: javax.sql.DataSource
Target Resource JNDI Name: jndi/abcprd_aa
Login configuration name: null
Properties:
The above is the taskinfo output for MapResRefToEJB.
While am using the console to deploy the application the install completes successfully.
But when am using the wsadmin ( jacl ) with the below options I get the following error, could someone advice.
-MapResRefToEJB {ABC.war "" ABC.war,WEB-INF/web.xml jndi/abcprd_aa javax.sql.DataSource jdbc/abcprd_aa "" ""}
WASX7015E: Exception running command: ; exception information:
java.lang.ClassCastException: java.lang.ClassCastException: java.lang.String incompatible with java.util.List