How you specify your DataSource in your code? Like java:comp/env/jdbc/Datasource or jdbc/Datasource?The first requires you specify the Datasource binding in your DD. So you must have defined a physical Datasource in your JNDI tree before you can deploy your EJB.
Like java:comp/env/jdbc/Datasource or
jdbc/Datasource?The first requires you specify the Datasource binding in your DD. So you must have defined a physical Datasource in your JNDI tree before you can deploy your EJB.