-
1. Re: standalone-custom.xml problem
jaikiran Jun 1, 2013 3:28 AM (in response to raviteja457)Ravi Teja wrote:
Hi all,
When i stop and restart the server it will ask a question called do you want to refresh
What is that "it"? Who's asking that question? And what custom tags have you added to that configuration?
-
2. Re: standalone-custom.xml problem
raviteja457 Jun 1, 2013 6:54 AM (in response to jaikiran)Oh sorry if i restart the server the server is asking do you want save ?
if i click yes ............
In standalone-custom.xml the below tags are missing...?
<jms-connection-factories>
<pooled-connection-factory name="hornetq-ra">
<transaction mode="xa"/>
<connectors>
<connector-ref connector-name="netty-remote"/>
</connectors>
<entries>
<entry name="java:/JmsXA"/>
</entries>
</pooled-connection-factory>
</jms-connection-factories>
-
3. Re: standalone-custom.xml problem
erasmomarciano Jun 3, 2013 3:32 AM (in response to raviteja457)Hi
Wich SO are you using?
Linux Windows
-
4. Re: standalone-custom.xml problem
raviteja457 Jun 3, 2013 3:38 AM (in response to raviteja457)ubuntu
-
5. Re: standalone-custom.xml problem
sfcoy Jun 3, 2013 3:44 AM (in response to raviteja457)It looks like you're editing the file with a text editor while the server is running.
Don't do that.
-
6. Re: standalone-custom.xml problem
raviteja457 Jun 3, 2013 3:49 AM (in response to sfcoy)Ya right how can i resolve that
-
7. Re: standalone-custom.xml problem
wdfink Jun 3, 2013 4:12 AM (in response to raviteja457)You should not edit the standalone*.xml if the server is running.
You can use the CLI shell (jboss-cli.sh) to modify the configuration during runtime.
-
8. Re: standalone-custom.xml problem
erasmomarciano Jun 3, 2013 6:10 AM (in response to raviteja457)Hi
Do you want to add a connection-factorie while JBoss is running?
You can use web-interface of Jboss or CLI shell (jboss-cli.sh) like Wolf-Dieter Fink says
-
9. Re: standalone-custom.xml problem
ksreen Jun 6, 2013 12:08 AM (in response to raviteja457)The standalone configuration folder will have multiple xmls. One that was used for the first start of the server. Then the last version that was used to start the server successfully and finally the current version you have modified.
If something is wrong, it replaces the xml with the last successfully started xml. Hence, may be your entries are missing.
So, after you restart check the log file if there are any parse errors (in the custom tag u have added) and make sure that all the services are started and none have failed. If you see any failed services, that should give you an idea of what is wrong.