3 Replies Latest reply on Feb 19, 2009 4:27 PM by valatharv

    production question : changing database instance and deployment

    valatharv
      We have a seam application as an ear, deployed on Jboss and pointing to Oracle database server.
      We have moved schema/ tables to other oracle database server (Application server is same)

      a) Do I need to build the application again ? OR
      b) I can simply change xxxxx-dev-ds.xml (under jboss/server/default/deploy) and restart.

      Other basic question:
      There are 2 persistence xmls under resources\META-INF (persistence-dev.xml, persistence-prod.xml) one for dev and other for prod.

      Where should I change so that build takes the production instance while creating ear and I should get xxxxx-prod-ds.xml