2 Replies Latest reply on Sep 5, 2013 4:51 PM by Wolfgang Knauf

    "standalone.xml" and disabled datasources?

    Wolfgang Knauf Master

      Hi all,

       

      I created a mysql datasource in standalone.xml of WildFly 8 Alpha4. As I don't need it always, I set it to "enabled=false".

      Now the server starts fine. But after each server restart, the "enabled=false" attribute is removed and I see a MySQL connection failure.

       

      This sounds like a wrong default value for "enabled": a value of "true" is written to standalone.xml, and a value of "false" is discarded - but internally, "true" is the default. Is this assumption correct?

       

      Best regards

       

      Wolfgang