2 Replies Latest reply on Aug 11, 2009 4:58 AM by Alexis Hassler

    How to change the deploy directory

    Alexis Hassler Apprentice

      Hi,

      Is it possible to tell EmbJOPR (or admin-console) to deploy the new application in an other directory than the default one.

      In fact, I usually add a new "deploy-app" to put my own applications, but I cannot find how to do this with EmbJOPR.

      Thanx

        • 1. Re: How to change the deploy directory
          jaikiran pai Master

          From what i have so far seen in the Embedded Jopr, this isn't available. The main reason i guess is because if you deploy the app to an external folder then the admin console should through an API let the Profile service configuration know about this new location so that on a server restart, that new location is checked for application deployments. I don't know whether such API exists. Maybe someone from the embedded jopr team will be able to confirm.

          • 2. Re: How to change the deploy directory
            Alexis Hassler Apprentice

            I actually have declared my other directory in the BootstrapProfileFactory. And admin-console is able to undeploy the applications that I put in this directory.

            I found something which looks like such a choice in the notes of admin-console.war/plugins/jopr-jboss-as-5-plugin-2.3.0.EmbJopr.1.2.0-1.jar/META-INF/rhq-plugin.xml (simple-property deployDirectory). But I wasn't able to make it work...