1 Reply Latest reply on Feb 19, 2003 7:29 AM by juhalindfors

    datasource not bound question

    smeagel Newbie

      I am unable to get any datasource to work (except Hypersonic).
      i copy the -service.xml into the
      dir and edit it.

      do i have to do something else.
      I am referencing it
      DataSource ds = (DataSource) new InitialContext().lookup("java:/comp/env/MySqlDS");

      and like
      DataSource ds = (DataSource) new InitialContext().lookup("java:/MySqlDS");

      and it does not lookup.

      I can not find it in my JNDI tree (in jmx-console)

      what do i have to do to register it as a datasource?
      i thought the standardjaws.xml was obsolete?
      and it doesn't like 2 datasources in it either.?

      please help!!!!