Jboss 7 standalon-full.xml as config

I want to run JBoss AS v7 and set standalone-full.xml as the default configuration. In my standalone.conf I put this line:

JAVA_OPTS="$JAVA_OPTS -Djboss.server.default.config=standalone-full.xml" .

But when I start the server, it accepts standalone.xml as config. My OS is Win7

+7
jboss
source share
3 answers

For windows you need to edit standalone.conf.bat . standalone.conf is for linux / unix environments.

+5
source share

You can configure JBoss to run using standalone-full.xml from Eclipse using the following steps: -

Locate the JBoss server from the Eclipse Server tab: -

JBoss Server In Eclipse Server Tab

Double-click on the server to open the JBoss Runtime server configuration: -

JBoss Runtime Configuration

Now, click on the Runtime Environment link to open the dialog box below that allows you to edit the Jboss Server runtime configuration: -

Edit JBoss Configuration

Click Browse to find standalone-full.xml and save the configuration. Launch the Eclipse JBoss server, it will use the full profile defined in standalone-full.xml to get started.

+13
source share

Modify jboss-as-7.1.1.Final \ bin \ standalone.conf.bat and change

FROM

 set "JAVA_OPTS=%JAVA_OPTS% -Djboss.server.default.config=standalone.xml" 

For

 set "JAVA_OPTS=%JAVA_OPTS% -Djboss.server.default.config=standalone-full.xml" 

OR

Once you can simply use the command below to run the command line of the server form.

 jboss-as-7.1.1.Final\bin>standalone.bat -c standalone-full.xml 
0
source share

All Articles