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;
}
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
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.
add a comment |
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
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 thejboss.domain.config.dirjvm propertie, but not provide any direct way to change location ofstandalone_xml_historydirectory. You can try change entirejboss.domain.config.dirto a new location o another thing that I think you can try is create a symlink for thestandalone_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 forstandalone_xml_historydirectory, 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
add a comment |
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
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
jboss wildfly8
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 thejboss.domain.config.dirjvm propertie, but not provide any direct way to change location ofstandalone_xml_historydirectory. You can try change entirejboss.domain.config.dirto a new location o another thing that I think you can try is create a symlink for thestandalone_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 forstandalone_xml_historydirectory, 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
add a comment |
1
Wildfly allow you change the configuration location directory by setting thejboss.domain.config.dirjvm propertie, but not provide any direct way to change location ofstandalone_xml_historydirectory. You can try change entirejboss.domain.config.dirto a new location o another thing that I think you can try is create a symlink for thestandalone_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 forstandalone_xml_historydirectory, 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
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Sep 14 '17 at 14:18
Tobias LiefkeTobias Liefke
1012
1012
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
1
Wildfly allow you change the configuration location directory by setting the
jboss.domain.config.dirjvm propertie, but not provide any direct way to change location ofstandalone_xml_historydirectory. You can try change entirejboss.domain.config.dirto a new location o another thing that I think you can try is create a symlink for thestandalone_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_historydirectory, 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