0 Replies Latest reply on Jan 30, 2004 3:54 AM by newlulu

    strang datasource not bound on MySql

    newlulu

      when i use the following codes in the session bean,the jboss inform
      me the jndi of the datasource MySqlDS not bound.But i using
      the same codes in the Jsp,every thing look fine.And the MySqlDS has bound when the system starup,which i can see MySqlDS in the webconsole.

      InitialContext ctx = new InitialContext();
      DataSource ds= (DataSource) ctx.lookup ("java:/MySqlDS");
      can anybody help