Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JBoss standalone.conf VS standalone.conf.bat

Tags:

java

jvm

jboss

I'm currently checking up on our JBoss AS7.1 server configuration and I discovered these two previously-configured files in our jboss/standalone/bin directory:

  • standalone.conf
  • standalone.conf.bat

Now I'm interested in tweaking our JAVA_OPTS and both the config files have a location where the parameters are set. From a quick Google search I think standalone.conf.bat is the usual file for setting these. But I'm not sure what the standalone.conf file is doing here. Do I only need to modify standalone.conf.bat or is there any configuration ordering I should take note of when modifying these two files?

Update:

The relevant JBoss documentation that answers this can be found here: https://docs.jboss.org/author/display/AS71/JVM+settings

like image 723
Jensen Ching Avatar asked Dec 21 '12 03:12

Jensen Ching


1 Answers

If you are running this on Windows then you only really need to worry about modifying the standalone.conf.bat file. The other file (standalone.conf) is only used by *Nix environments.

like image 131
Perception Avatar answered Oct 23 '22 07:10

Perception