1 Reply Latest reply on Jan 14, 2003 1:50 PM by sverker

    move mysqlxx-service.xml file from deploy directory into ejb

    zaphod

      Hi,

      has anybody managed to move the mysqlxx-service.xml file from deploy directory of the server into the ejb-file.jar or...ear file?

      Is this possible?? I don't want to deploy so much files to the server...

      Best Regards,
      Zaphod

        • 1. Re: move mysqlxx-service.xml file from deploy directory into
          sverker

          It should be possible to acomplish what you want by putting your mysql-service.xml file into an .ear file and add a jboss-app.xml file in META-INF. The jboss-app.xml file should contain a reference to your mysql-service.xml file in a service tag. Example:

          <jboss-app>

          mysql-service.xml

          </jboss-app>

          However, there is a bug in the EARDeployer that prevents if from recognizing *-ds.xml and *-service.xml. There is a fix checked into the main branch of EARDeployer in CVS but unforturnatly not to the 3.0 branch.