I configured the connection pool for DB2 using the following drivers.
com.ibm.db2.jcc.DB2XADataSource (For XA) and the JNDI name is jdbc/xaDS
com.ibm.db2.jcc.DB2DataSource(For Non-XA).and JNDI name is jdbc/nonXADS
But when I'm using jdbc/nonXADS as <cmp-resource> then the EAR is getting deployed.But when using jdbc/xaDS then it's not getting deployed.
[Message sent by forum member 'satyaranjan2006' (satyaranjan2006)]
http://forums.java.net/jive/thread.jspa?messageID=335456