changing location for standalone.xml.tmp The 2019 Stack Overflow Developer Survey Results Are...

Is "plugging out" electronic devices an American expression?

Are there any other methods to apply to solving simultaneous equations?

Can a rogue use sneak attack with weapons that have the thrown property even if they are not thrown?

Identify boardgame from Big movie

double encryption - One Time Pad

Did Section 31 appear in Star Trek: The Next Generation?

Is there any way to tell whether the shot is going to hit you or not?

I see my dog run

Is three citations per paragraph excessive for undergraduate research paper?

Am I thawing this London Broil safely?

Geography at the pixel level

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?

What tool would a Roman-age civilization have for the breaking of silver and other metals into dust?

Resizing object distorts it (Illustrator CC 2018)

Should I use my personal e-mail address, or my workplace one, when registering to external websites for work purposes?

Why is the maximum length of OpenWrt’s root password 8 characters?

Write faster on AT24C32

Delete all lines which don't have n characters before delimiter

What is the most effective way of iterating a std::vector and why?

Why isn't airport relocation done gradually?

Have you ever entered Singapore using a different passport or name?

Did 3000BC Egyptians use meteoric iron weapons?

Time travel alters history but people keep saying nothing's changed

Is there a symbol for a right arrow with a square in the middle?



changing location for standalone.xml.tmp



The 2019 Stack Overflow Developer Survey Results Are InJBoss: reload log4j config without restarting the server?JBoss: switch domain in case of failureWildfly 8.1.0 Final freezes (keeps connections forever / Channel was closed mid chunk)Slow response of WildFly behind a reverse proxyJBoss EAP 6.3 - SSO and Sticky Sessions not workingHow to Make JBoss 5.1.0 GA Meet Diffie-Hellman Standards?Clustering of wildfly using apache and haproxyRunning multiple website domains on WildflyCan the last modification date of standalone.xml file be changed alone?Extract public and private keys from JBOSS





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







2















We use wildfly 10.x as an application server. Our setup is much restrictive. So the AS user is not allowed to write to jboss.server.base.dir/configuration/ but at startup it wants to write the standalone.xml.tmp file to that location.
Is there a way to change the location for that file to jboss.server.tmp.dir?



I added also wildfly8 as a tag because it may be also a interesting thing for that version.










share|improve this question














bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    Wildfly allow you change the configuration location directory by setting the jboss.domain.config.dir jvm propertie, but not provide any direct way to change location of standalone_xml_history directory. You can try change entire jboss.domain.config.dir to a new location o another thing that I think you can try is create a symlink for the standalone_xml_history.

    – Federico Sierra
    Jul 7 '17 at 15:40













  • The symlink aproach is unfortunately not a solution because wildfly tries to delete the standalone.xml.tmp file.

    – Christian Meißner
    Jul 10 '17 at 5:19













  • My recommendation was create a symlink for standalone_xml_history directory, not for files inside this.

    – Federico Sierra
    Jul 10 '17 at 13:53











  • Ah, wildfly 10 generates files directly under configuration, not standalone_xml_history. This is the main cause.

    – Christian Meißner
    Jul 10 '17 at 13:56











  • Yes you are right, the standalone.xml.tmp is created in base config directory.

    – Federico Sierra
    Jul 10 '17 at 14:00


















2















We use wildfly 10.x as an application server. Our setup is much restrictive. So the AS user is not allowed to write to jboss.server.base.dir/configuration/ but at startup it wants to write the standalone.xml.tmp file to that location.
Is there a way to change the location for that file to jboss.server.tmp.dir?



I added also wildfly8 as a tag because it may be also a interesting thing for that version.










share|improve this question














bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1





    Wildfly allow you change the configuration location directory by setting the jboss.domain.config.dir jvm propertie, but not provide any direct way to change location of standalone_xml_history directory. You can try change entire jboss.domain.config.dir to a new location o another thing that I think you can try is create a symlink for the standalone_xml_history.

    – Federico Sierra
    Jul 7 '17 at 15:40













  • The symlink aproach is unfortunately not a solution because wildfly tries to delete the standalone.xml.tmp file.

    – Christian Meißner
    Jul 10 '17 at 5:19













  • My recommendation was create a symlink for standalone_xml_history directory, not for files inside this.

    – Federico Sierra
    Jul 10 '17 at 13:53











  • Ah, wildfly 10 generates files directly under configuration, not standalone_xml_history. This is the main cause.

    – Christian Meißner
    Jul 10 '17 at 13:56











  • Yes you are right, the standalone.xml.tmp is created in base config directory.

    – Federico Sierra
    Jul 10 '17 at 14:00














2












2








2


1






We use wildfly 10.x as an application server. Our setup is much restrictive. So the AS user is not allowed to write to jboss.server.base.dir/configuration/ but at startup it wants to write the standalone.xml.tmp file to that location.
Is there a way to change the location for that file to jboss.server.tmp.dir?



I added also wildfly8 as a tag because it may be also a interesting thing for that version.










share|improve this question














We use wildfly 10.x as an application server. Our setup is much restrictive. So the AS user is not allowed to write to jboss.server.base.dir/configuration/ but at startup it wants to write the standalone.xml.tmp file to that location.
Is there a way to change the location for that file to jboss.server.tmp.dir?



I added also wildfly8 as a tag because it may be also a interesting thing for that version.







jboss wildfly8






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 7 '17 at 12:07









Christian MeißnerChristian Meißner

117




117





bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 1





    Wildfly allow you change the configuration location directory by setting the jboss.domain.config.dir jvm propertie, but not provide any direct way to change location of standalone_xml_history directory. You can try change entire jboss.domain.config.dir to a new location o another thing that I think you can try is create a symlink for the standalone_xml_history.

    – Federico Sierra
    Jul 7 '17 at 15:40













  • The symlink aproach is unfortunately not a solution because wildfly tries to delete the standalone.xml.tmp file.

    – Christian Meißner
    Jul 10 '17 at 5:19













  • My recommendation was create a symlink for standalone_xml_history directory, not for files inside this.

    – Federico Sierra
    Jul 10 '17 at 13:53











  • Ah, wildfly 10 generates files directly under configuration, not standalone_xml_history. This is the main cause.

    – Christian Meißner
    Jul 10 '17 at 13:56











  • Yes you are right, the standalone.xml.tmp is created in base config directory.

    – Federico Sierra
    Jul 10 '17 at 14:00














  • 1





    Wildfly allow you change the configuration location directory by setting the jboss.domain.config.dir jvm propertie, but not provide any direct way to change location of standalone_xml_history directory. You can try change entire jboss.domain.config.dir to a new location o another thing that I think you can try is create a symlink for the standalone_xml_history.

    – Federico Sierra
    Jul 7 '17 at 15:40













  • The symlink aproach is unfortunately not a solution because wildfly tries to delete the standalone.xml.tmp file.

    – Christian Meißner
    Jul 10 '17 at 5:19













  • My recommendation was create a symlink for standalone_xml_history directory, not for files inside this.

    – Federico Sierra
    Jul 10 '17 at 13:53











  • Ah, wildfly 10 generates files directly under configuration, not standalone_xml_history. This is the main cause.

    – Christian Meißner
    Jul 10 '17 at 13:56











  • Yes you are right, the standalone.xml.tmp is created in base config directory.

    – Federico Sierra
    Jul 10 '17 at 14:00








1




1





Wildfly allow you change the configuration location directory by setting the jboss.domain.config.dir jvm propertie, but not provide any direct way to change location of standalone_xml_history directory. You can try change entire jboss.domain.config.dir to a new location o another thing that I think you can try is create a symlink for the standalone_xml_history.

– Federico Sierra
Jul 7 '17 at 15:40







Wildfly allow you change the configuration location directory by setting the jboss.domain.config.dir jvm propertie, but not provide any direct way to change location of standalone_xml_history directory. You can try change entire jboss.domain.config.dir to a new location o another thing that I think you can try is create a symlink for the standalone_xml_history.

– Federico Sierra
Jul 7 '17 at 15:40















The symlink aproach is unfortunately not a solution because wildfly tries to delete the standalone.xml.tmp file.

– Christian Meißner
Jul 10 '17 at 5:19







The symlink aproach is unfortunately not a solution because wildfly tries to delete the standalone.xml.tmp file.

– Christian Meißner
Jul 10 '17 at 5:19















My recommendation was create a symlink for standalone_xml_history directory, not for files inside this.

– Federico Sierra
Jul 10 '17 at 13:53





My recommendation was create a symlink for standalone_xml_history directory, not for files inside this.

– Federico Sierra
Jul 10 '17 at 13:53













Ah, wildfly 10 generates files directly under configuration, not standalone_xml_history. This is the main cause.

– Christian Meißner
Jul 10 '17 at 13:56





Ah, wildfly 10 generates files directly under configuration, not standalone_xml_history. This is the main cause.

– Christian Meißner
Jul 10 '17 at 13:56













Yes you are right, the standalone.xml.tmp is created in base config directory.

– Federico Sierra
Jul 10 '17 at 14:00





Yes you are right, the standalone.xml.tmp is created in base config directory.

– Federico Sierra
Jul 10 '17 at 14:00










1 Answer
1






active

oldest

votes


















0














If you don't want to change the standalone.xml during runtime then you can call:



standalone.bat --read-only-server-config=standalone.xml


That won't touch any file in your configuration folder. Even the logging.properties is not touched, if the content is already matching the standalone.xml.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "2"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f859915%2fchanging-location-for-standalone-xml-tmp%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    If you don't want to change the standalone.xml during runtime then you can call:



    standalone.bat --read-only-server-config=standalone.xml


    That won't touch any file in your configuration folder. Even the logging.properties is not touched, if the content is already matching the standalone.xml.






    share|improve this answer




























      0














      If you don't want to change the standalone.xml during runtime then you can call:



      standalone.bat --read-only-server-config=standalone.xml


      That won't touch any file in your configuration folder. Even the logging.properties is not touched, if the content is already matching the standalone.xml.






      share|improve this answer


























        0












        0








        0







        If you don't want to change the standalone.xml during runtime then you can call:



        standalone.bat --read-only-server-config=standalone.xml


        That won't touch any file in your configuration folder. Even the logging.properties is not touched, if the content is already matching the standalone.xml.






        share|improve this answer













        If you don't want to change the standalone.xml during runtime then you can call:



        standalone.bat --read-only-server-config=standalone.xml


        That won't touch any file in your configuration folder. Even the logging.properties is not touched, if the content is already matching the standalone.xml.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 14 '17 at 14:18









        Tobias LiefkeTobias Liefke

        1012




        1012






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f859915%2fchanging-location-for-standalone-xml-tmp%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            117736 Шеррод Примітки | Див. також | Посилання | Навігаційне...

            As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

            Маріан Котлеба Зміст Життєпис | Політичні погляди |...