Friday, July 13, 2018

jboss_official_doc_note

https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/6.4/html/administration_and_configuration_guide/sect-start_and_stop_jboss_eap_6
1.  Start JBoss as a Standalone Server
EAP_HOME\bin\standalone.bat
    To list all available parameters for the start-up scripts, use the -h parameter:
EAP-6.4.0\bin>standalone.bat -h
    Run multiple instances of JBoss EAP standalone servers on a single machine:
Create a copy of the EAP_HOME/standalone/ directory directly under EAP_HOME
Start each JBoss EAP standalone instance by specifying node name, IP, port offset...
If you would like to manage two nodes at once or two nodes that have the same configuration,
you are recommended to run them in a managed domain instead of running a standalone server.
Using an Alternate Configuration file for a Standalone Server in Microsoft Windows Server
C:\EAP_HOME\bin> standalone.bat --server-config=standalone-alternate.xml
2.  Stop JBoss
Stop an instance which was started interactively from a command prompt.
Press Ctrl-C in the terminal where JBoss EAP 6 is running.
3.  Configuration files
EAP_HOME/bin/standalone.sh -c standalone-full-ha.xml
Backup:
EAP_HOME/standalone/configuration/
Descriptor-based Property Replacement:
Java EE descriptor replacement is disabled by default. When enabled, descriptors can be replaced
in the following configuration files: ejb-jar.xml and persistence.xml.
<subsystem xmlns="urn:jboss:domain:ee:1.2">
  <spec-descriptor-property-replacement>
true
  </spec-descriptor-property-replacement>
  <jboss-descriptor-property-replacement>
true
  </jboss-descriptor-property-replacement>
</subsystem>

No comments:

Post a Comment