2 Replies Latest reply on Dec 16, 2002 8:28 AM by Eduardo Elgueta

    JDBC DataSource Class

    Eduardo Elgueta Newbie

      Hi All,

      This EJB code:
      Context ctx = new InitialContext();
      XDataSource ds = (XDataSource) ctx.lookup("java:/CRDB_DS");

      Produces this JBoss exception:
      java.lang.ClassCastException: org.jboss.resource.adapter.jdbc.JDBCDataSource

      Where is the class JDBCDataSource?

      Thanks in advance.

      Ed,