6 Replies Latest reply on May 7, 2008 2:37 PM by Sandeep Kulkarni

    Updatingd JDBC Datasources and container behaviour

    Sandeep Kulkarni Newbie

      Hi ALL,

      I want to add a new datasource[ex- oracle database DS object] and rebind to an existing JNDI name.
      I want to do this to achieve the following -
      -If there is any change in database schema password[manuually on database server],
      this should be updated to already existing datasource and rebind with existing JNDI name.

      If I do update datasource will this be picked by container to manage CMT ...

      Also I want to persist changes into {JBossHome}/server/default/deploy/oracle-ds.xml.
      Is there anyway I can take this -ds.xml inside my context[.ear]