2 Replies Latest reply on May 5, 2005 12:28 PM by yevgeni

    deploying datasource from EAR file

    yevgeni

      Hello,

      Is it possible to deploy your datasource from EAR file? Basically I would like to include the ds.xml configuration file in my EAR file.

      Thanks

        • 1. Re: deploying datasource from EAR file
          shrividya

          Did you find out a way to do it? Please let me know as I am also trying on the same thing

          • 2. Re: deploying datasource from EAR file
            yevgeni

            To accomplish this you you can include your ds.xml file in the application.xml descriptor. Of course when you are building your EAR file your ds.xml has to be placed in the EAR on the root level. If you place it on a different level, such as EAR/conf you need to specify this in your application.xml

            I added the following:

            Example for the root level

            ds.xml


            Example for the conf level

            conf/ds.xml


            I am not sure if this is the right way to do it, or if application.xml is even supposed to be used for this purpose, but it works. I also included my jms.xml file in a similar manner.