JBoss Community

Re: Changing the default server profile

created by Peter Johnson in Beginner's Corner - View the full discussion

Anandraj, welcome to the JBoss Community!

 

It is the JBoss AS code itself that decides to use 'default' if you don't specify a configuration to run. Here are two typical mechanisms used to do what you want:

 

a) Edit run.bat to pass "-c all" to the command that starts the app server

 

b) Create another bat file, such as runall.bat, which contains this line: call run.bat -c all

 

Personally, I prefer option (b).

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community