posted 15 years ago
I am going to assume that you mean you are running JBoss EAP, which runs the 'production' configuration by default and you would like to run the 'default' configuration instead. Well, unless you want to recompile EAP, you will need to start the app server using the -c option:
run -c default
or you could set the jboss.server.name sys prop:
run -Djboss.server.name=default
You could create a script that contains one of those lines and just run that script.
Just in case you are interested, the 'production' config name is hard-coded in the file jboss-eap-4.3-src/jboss-as/system/src/main/org/jboss/system/server/ServerConfig.java, line 298: