2 Replies Latest reply on Apr 16, 2003 7:50 PM by David Jencks

    SIMPLE Q: where to put a service.xml in an ear?

    Edward Bridges Newbie

      Hi, I have an enterprise application (i.e. a ".ear" file) that deploys fine -- everything works ok.

      Currently, I have the database config in a .xml file that is in $JBOSS_HOME/server/default/deploy and it works fine there.

      I'd like to put the database config file into the ear itself, but cannot figure where to put it and what to name it. (note: i need the directory to place it *and* the filename to use for it).

      the idea is that deploying the .ear would automatically configure the jndi name and db connection upon deploy.

      can someone please advise?

      thanks in advance