4 Replies Latest reply on Nov 25, 2003 11:12 PM by AbhijitAbhijit

    jndi configuration for mysql

    emrandle Newbie

      I've defined, as far as i know, my mysql datasource in the proper xml files. my ejb is still not finding 'jdbc/MySQLDS'. I need some documentation on everything that needs to be edited in order for this to work. Accessing the jmx-console shows an entry under jboss.jca:

      name=jdbc/MySQLDS,service=LocalTxCM
      name=jdbc/MySQLDS,service=ManagedConnectionFactory
      name=jdbc/MySQLDS,service=ManagedConnectionPool

      but a call from my bean-:
      DataSource ds = (DataSource) initCtx.lookup( "jdbc/MySQLDS" )

      yields 'jdbc not found'

      Can anyone direct me?