<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Yes, this would be a nice new feature,
      you can create a jira for it. Not sure if this would be easily
      applied to running deployments or only to those started after the
      server configuration has been changed (we'll have to think about
      this).<br>
      Cheers<br>
      Alessio<br>
      <br>
      Il 22/09/2016 16:02, Marek Kopecky ha scritto:<br>
    </div>
    <blockquote
      cite="mid:118bd468-c7db-9019-d88b-d31186444864@redhat.com"
      type="cite">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <p>Hi Alessio.</p>
      <p>I'm thinking about global RESTEasy settings in server.
        Currently, there are no option for change of global RESTEasy
        settings for all deployment. All RESTEasy settings needs to be
        done in deployment.</p>
      <p><span class="author-g-dltrtz122zqz122zgkiuvab1">Ideally global
          RESTEasy settings should be available from </span><span
          class="author-g-dltrtz122zqz122zgkiuvab1">WildFly CLI.</span></p>
      <p><br>
      </p>
      <p><span class="author-g-dltrtz122zqz122zgkiuvab1"><b>Example: </b>Let's
          say that server admin needs to disable DataSourceProvider for
          all deployments on server. Now, AFAIK, he needs to:</span></p>
      <div class="ace-line" id="magicdomid995">
        <ul class="list-bullet3">
          <li><span class="author-g-dltrtz122zqz122zgkiuvab1">set
              "resteasy.use.builtin.providers" property in web.xml of
              all deployments to "false"</span></li>
          <ul>
            <li><span class="author-g-dltrtz122zqz122zgkiuvab1">It
                disable all default providers.</span></li>
          </ul>
          <li><span class="author-g-dltrtz122zqz122zgkiuvab1">explicitly
              set providers used in each deployment by
              "resteasy.providers" property in web.xml of all
              deployments</span></li>
        </ul>
        <span class="author-g-dltrtz122zqz122zgkiuvab1">These steps are
          really uncomfortable, server admin needs to manually update
          all deployments in server. </span><span class="span9">Ideally
          WildFly server admin could be able to disable </span><span
          class="span9"><span class="author-g-dltrtz122zqz122zgkiuvab1">DataSourceProvider</span>
          by CLI. </span><span tabindex="-1" id="result_box"
          class="short_text" lang="en"><span>But at least server admin
            could be</span><span> able</span> <span>to disable </span></span><span
          tabindex="-1" id="result_box" class="short_text" lang="en"><span><span
              class="span9"></span><span class="span9"><span
                class="author-g-dltrtz122zqz122zgkiuvab1">DataSourceProvider
                by </span></span></span><span class="">system
            properties.<br>
          </span></span><br>
        <br>
        <span class="author-g-dltrtz122zqz122zgkiuvab1">We can create
          feature request for this, WDYT?<br>
          <br>
          <br>
        </span><span class="author-g-dltrtz122zqz122zgkiuvab1">Marek<br>
        </span></div>
    </blockquote>
    <br>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Alessio Soldano
Web Service Lead, JBoss</pre>
  </body>
</html>