4 Replies Latest reply on Apr 24, 2003 11:53 AM by samirny

    Migrating to JBoss 2.3: can't look up data source

    kirillburyak Newbie

      How can this code:
      ds = (DataSource) ctx.lookup("java:comp/env/"+jndiName);

      cause this:
      java.lang.ClassCastException: org.jboss.resource.adapter.jdbc.WrapperDataSource